Ver Detalle

Este recurso te permite ver la informacion completa de un producto existente.
Se puede obtener un producto por medio de ID, Codigo de referencia o Codigo de barras.

GET https://api.zippin.com.ar/v1/products/id/{id}

GET https://api.zippin.com.ar/v1/products/reference/{reference}

GET https://api.zippin.com.ar/v1/products/barcode/{code}

Parámetros

Nombre Tipo Requerido Observaciones
account_id
Integer Si ID de Cuenta en Zippin

Ejemplo

Request
https://api.zippin.com.ar/v1/products/id/99?account_id=[TU_ACCOUNT_ID]
curl -H "Content-Type: application/json" -X GET
Response OK
{
    "status": "success",
    "product": {
        "id": 99,
        "name": "Aire Acondicionado LG 3000W Frio-Calor",
        "reference_code": "AALGFC3000W",
        "skus": [
            {
                "id": 95,
                "name": "AALGFC3000W - Bulto 1/2",
                "barcode": "7783782738277",
                "sku": "AALGFC3000W-1",
                "unit_declared_value": 300,
                "weight": 60,
                "length": 2,
                "height": 5,
                "width": 5,
                "classification": {
                    "id": 1,
                    "name": "General"
                }
            },
            {
                "id": 98,
                "name": "AALGFC3000W - Bulto 2/2",
                "barcode": "7783782738277",
                "sku": "AALGFC3000W-2",
                "unit_declared_value": 300,
                "weight": 60,
                "length": 2,
                "height": 5,
                "width": 5,
                "classification": {
                    "id": 1,
                    "name": "General"
                }
            }
        ],
        "barcode": "7783782738277",
        "brand": "LG",
        "supplier": "Importadora Sur S.A.",
        "total_weight": 120,
        "total_volume": 50,
        "created_date": "02-07-2018 12:25:30"
    }
}