Detalle

Este recurso permite obtener el detalle de un envío.


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

Parámetros

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

Ejemplo

Request

https://api.zippin.com.ar/v1/shipment/7428?account_id=2
curl -H "Content-Type: application/json" -X GET

Response OK

https://api.zippin.com.ar/v1/shipment/7428?account_id=2
curl -H "Content-Type: application/json" -X GET
'{
    "status": "success",
    "shipment": {
        "external_id": "090017288888888",
        "coordinated": 1,
        "account_id": 2,
        "status_name": "Nuevo",
        "status_id": 1,
        "tracking": "https://www.zippin.com.ar/tracking/7600",
        "tracking_external": "https://www.zippin.com.ar/tracking/0101300053418/external_id",
        "destination": {
            "name": "Thorin Oakenshield",
            "document": "0209939920",
            "street": "Av. Siempreviva",
            "street_number": "2544",
            "street_extras": "Piso 1 Apto 2",
            "city": "Capital Federal",
            "state": "Capital Federal",
            "zipcode": "1421",
            "phone": "1144790667",
            "email": "thorinoakenshield@gmail.com"
        },
        "origin": {
            "name": "Almacen Gotico",
            "document": "31914698",
            "street": "Av. Lacava",
            "street_number": "2544",
            "street_extras": "Puerta 2",
            "city": "Capital Federal",
            "state": "Capital Federal",
            "zipcode": "1421",
            "phone": "1144790667",
            "email": "gotico666@gmail.com"
        },
        "declaredValue": "395.26",
        "price": "280.00",
        "total_weight": 3770,
        "total_volume": 52500,
        "packages": [
            {
                "id": 10,
                "shipment_id": 10,
                "weight": 3770,
                "height": 46,
                "width": 1,
                "length": 52,
                "volume": 52500,
                "description_1": "Codigo101",
                "description_2": "Marca_blanca",
                "description_3": "Vaso_Termico_XL"
            }
        ]
    }
}'