Obtener lista de tiendas¶
-
GET
https://api.software.madkting.com/shops/
¶ objeto de respuesta Tienda
Status Codes: - 200 OK – Ok.
- 404 Not Found – El id de la tienda no existe.
- 500 Internal Server Error – Error interno.
Ejemplo de petición¶
GET https://api.software.madkting.com/shops/2/ HTTP/1.1
Accept: application/json
Authorization: Token 54f2d8bcfc49e7821da31a83ab95e40213c0a5c1
Ejemplo de respuesta¶
HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json
Allow: POST, OPTIONS
[
{
"country": "Mexico",
"currency": "MXN",
"description": "",
"email": "camacho@madkting.com",
"image": null,
"language": "Spanish",
"marketplaces": [
{
"pk": 5,
"name": "miaGaleria"
},
{
"pk": 13,
"name": "Mercado Libre"
}
],
"name": "tienda 2",
"pk": 76,
"url": "gsusco.mx"
},
{
"country": "Mexico",
"currency": "MXN",
"description": "",
"email": "camacho@madkting.com",
"image": null,
"language": "Spanish",
"marketplaces": [
{
"pk": 5,
"name": "miaGaleria"
},
{
"pk": 13,
"name": "Mercado Libre"
}
],
"name": "prueba conexion",
"pk": 78,
"url": "m.com"
}
]