Obtener Productos de una Tienda

GET https://api.software.madkting.com/shops/(shop_pk)/products/
Parameters:
  • shop_pk – El id de la tienda de la que se quieren obtener productos.

Objeto de respuesta Producto

Status Codes:

Ejemplo de petición

GET https://api.software.madkting.com/shops/2/products/ HTTP/1.1
Accept: application/json
Authorization: Token 54f2d8bcfc49e7821da31a83ab95e40213c0a5c1

Ejemplo de respuesta

HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json
Allow: GET, POST, PUT, DELETE, OPTIONS
[
    {
        "availability": "in_stock",
        "brand": "Microsoft",
        "category_pk": 538,
        "color": "plateado",
        "condition": "new",
        "created_at": "2016-09-08T01:05:41",
        "depth": 20.0,
        "description": "Don\u2019t miss a thing\u2014enjoy high-quality 720p HD widescreen video together with crystal clear audio, with the LifeCam Cinema. Relax while the camera automatically sharpens your images and TrueColor adjusts exposure for bright, vibrant footage. And for even sharper video, take advantage of the high-precision glass lens and ClearFrame Technology to improve the picture even in low light conditions.",
        "dimensions_unit": "cm",
        "discount": null,
        "discount_from": null,
        "discount_to": null,
        "gender": "unisex",
        "height": 10.0,
        "images": [
            {
                "pk": 24,
                "position": 0,
                "url": "https://apptest.madkting.com/gallery/6/products/305a8f62-c1e0-4237-8fcf-d726417fac0d.jpg"
            },
            {
                "pk": 25,
                "position": 1,
                "url": "https://apptest.madkting.com/gallery/6/products/75597072-74b9-41ab-8c50-02b77a9a023a.png"
            }
        ],
        "marketplaces": [
            {
                "category_pk": "98",
                "pk": 5,
                "status": "active"
            },
            {
                "pk": 13,
                "status": "not_listed"
            }
        ],
        "name": "LifeCam Cinema",
        "pk": 14,
        "price": 1200.0,
        "shipping_depth": 20.0,
        "shipping_height": 10.0,
        "shipping_width": 20.0,
        "size": "unitalla",
        "sku": "LCC",
        "sku_simple": "LCC",
        "stock": 3,
        "weight": 360.0,
        "weight_unit": "kg",
        "width": 20.0
    },
    {
        "availability": "in_stock",
        "brand": "Microsoft",
        "category_pk": 538,
        "color": "negro",
        "condition": "new",
        "created_at": "2016-09-08T01:05:42",
        "depth": 20.0,
        "description": "The advanced design of Sculpt Ergonomic Mouse maximizes wrist comfort while making navigation effortless. Shaped to encourage a more natural hand, wrist, and forearm posture, Sculpt Ergonomic Mouse helps prevent the pain of repetitive stress injuries. Sculpt Ergonomic Mouse perfectly integrates with Windows. Simply click the Windows button for one-touch to access to the Start Menu.",
        "dimensions_unit": "cm",
        "discount": null,
        "discount_from": null,
        "discount_to": null,
        "gender": "unisex",
        "height": 10.0,
        "images": [
            {
                "pk": 17,
                "position": 0,
                "url": "https://apptest.madkting.com/gallery/6/products/864e3877-1a32-474a-9cc9-5e61eb5c4037.jpg"
            },
            {
                "pk": 18,
                "position": 1,
                "url": "https://apptest.madkting.com/gallery/6/products/2681d168-baf2-42c0-9207-789854822a0d.jpg"
            }
        ],
        "marketplaces": [
            {
                "category_pk": "101",
                "pk": 5,
                "status": "active"
            },
            {
                "pk": 13,
                "status": "not_listed"
            }
        ],
        "name": "Sculpt Ergonomic Mouse",
        "pk": 15,
        "price": 900.0,
        "shipping_depth": 20.0,
        "shipping_height": 10.0,
        "shipping_width": 20.0,
        "size": "unitalla",
        "sku": "XYZ-100",
        "sku_simple": "XYZ",
        "stock": 15,
        "weight": 360.0,
        "weight_unit": "kg",
        "width": 20.0
    },
    {
        "availability": null,
        "brand": "Dani",
        "category_pk": 517,
        "color": "azul",
        "condition": "new",
        "created_at": "2016-09-14T00:49:04",
        "depth": 75.0,
        "description": "Playera estampado gaviota",
        "dimensions_unit": "cm",
        "discount": null,
        "discount_from": null,
        "discount_to": null,
        "gender": "female",
        "height": 60.0,
        "images": [
            {
                "pk": 40,
                "position": 0,
                "url": "https://apptest.madkting.com/gallery/6/products/f083bec4-f4de-482b-b1fe-715646c5e091.jpg"
            },
            {
                "pk": 41,
                "position": 1,
                "url": "https://apptest.madkting.com/gallery/6/products/34781b4d-3221-485b-97e5-83535d93bf45.jpg"
            },
            {
                "pk": 39,
                "position": 2,
                "url": "https://apptest.madkting.com/gallery/6/products/37948ec3-cbae-482a-bd7f-eb5ea4335521.jpg"
            },
            {
                "pk": 64,
                "position": 3,
                "url": "https://apptest.madkting.com/gallery/6/products/91c26b85-ed48-4346-844a-f48863eeb380.jpg"
            }
        ],
        "marketplaces": [
            {
                "pk": 5,
                "status": "not_listed"
            },
            {
                "pk": 13,
                "status": "not_listed"
            }
        ],
        "name": "Playera Gaviota",
        "pk": 28,
        "price": 100.0,
        "shipping": 0,
        "shipping_depth": 15.0,
        "shipping_height": 15.0,
        "shipping_width": 5.0,
        "size": "0-1 m",
        "sku": "P02C-1",
        "sku_simple": "P02C",
        "stock": 150,
        "weight": 2.0,
        "weight_unit": "kg",
        "width": 1.0
    },
    {
        "availability": null,
        "brand": "Dani",
        "category_pk": 517,
        "color": "agua",
        "condition": "new",
        "created_at": "2016-09-14T00:49:05",
        "depth": 75.0,
        "description": "Playera sin mangas para playa. Para estas \u00e9pocas de calor y vacaciones!",
        "dimensions_unit": "cm",
        "discount": null,
        "discount_from": null,
        "discount_to": null,
        "gender": "female",
        "height": 60.0,
        "images": [
            {
                "pk": 154,
                "position": 0,
                "url": "https://apptest.madkting.com/gallery/6/products/89ea1309-21bb-4586-92bb-3ed4c0b8540e.jpg"
            }
        ],
        "marketplaces": [
            {
                "category_pk": "137",
                "pk": 5,
                "status": "active"
            },
            {
                "pk": 13,
                "status": "not_listed"
            }
        ],
        "name": "Playera playa",
        "pk": 32,
        "price": 250.0,
        "shipping": 0,
        "shipping_depth": 15.0,
        "shipping_height": 15.0,
        "shipping_width": 5.0,
        "size": "0-1 m",
        "sku": "P01C",
        "sku_simple": "P01C",
        "stock": 150,
        "weight": 2.0,
        "weight_unit": "kg",
        "width": 1.0
    },
    {
        "availability": null,
        "brand": "hmg",
        "category_pk": 560,
        "color": "agua",
        "condition": "new",
        "created_at": "2016-09-24T02:44:20",
        "depth": 10.0,
        "description": "Jean cool bbooomm test test test test ",
        "dimensions_unit": "cm",
        "discount": 14.0,
        "discount_from": "2016-10-10T00:00:00",
        "discount_to": "2016-11-14T00:00:00",
        "gender": "male",
        "height": 10.0,
        "images": [],
        "marketplaces": [
            {
                "pk": 5,
                "status": "not_listed"
            },
            {
                "pk": 13,
                "status": "not_listed"
            }
        ],
        "name": "Jean cool",
        "pk": 119,
        "price": 500.0,
        "shipping": 1,
        "shipping_depth": 10.0,
        "shipping_height": 10.0,
        "shipping_width": 10.0,
        "size": "4",
        "sku": "abcde_1",
        "sku_simple": "abcde",
        "stock": 10,
        "weight": 6.0,
        "weight_unit": "kg",
        "width": 10.0
    }
]