Get delivery information
This endpoint provides a comprehensive view of a delivery, either with the delivery identifier or with its reference ID.
Retrieve data for a delivery by its ID or reference.
Autorizaciones
AuthorizationstringRequerido
Parámetros de ruta
idstringRequerido
Identifier or reference ID of the delivery to query.
Respuestas
200
Successful operation
application/json
idstringOpcionalExample:
Identifier of the delivery in Shippify.
t-shiinc-27946dropoffobjectOpcional
Delivery information
statusinteger · mín: 1OpcionalExample:
Delivery status code
3_statusstringOpcionalExample:
Delivery status name
assignedstatus_langstringOpcionalExample:
Delivery status name in the account's language
AssigneddistancenumberOpcionalExample:
Distance between pickup and delivery points
10.4companystringOpcionalExample:
Task company name
Company ABCreferenceIdstringOpcionalExample:
External delivery identifier, such as order number
PO-00012reasonIdinteger · mín: 1OpcionalExample:
Identifier of the reason for the status change
1reasonTextstringOpcionalExample:
Description of the reason for the status change
DANGER ZONEproblem_notestringOpcionalExample:
Status change comment
Dangerous zonelastStatusDatestringOpcionalExample:
Date of the last status change
2023-10-27T19:09:11.000Ztagsstring[]OpcionalExample:
Delivery digital tag names.
Fragile401
Unauthorized
application/json
get/v1/deliveries/{id}/complete
GET /v1/deliveries/{id}/complete HTTP/1.1
Host: api.shippify.co
Authorization: Basic username:password
Accept: */*
{
"id": "t-shiinc-27946",
"route": {
"id": "r-shiinc-2183891",
"order": 2
},
"recipient": {
"name": "Juan Perez",
"email": "example@email.com",
"phonenumber": "9999999999"
},
"pickup": {
"date": "2023-10-27T18:24:11.000Z"
},
"dropoff": {},
"courier": {
"info": {
"shipperId": 531597,
"shipperDocId": "9999999999",
"shipperName": "Juan Maroto",
"shipperCapacity": "medium",
"vehicleLicensePlate": "PO-1234",
"vehicleType": "Suzuki",
"vehicleModel": "Vitara"
},
"location": {
"lat": -33.511333999,
"lng": -70.6102933
}
},
"items": [
[
{
"id": "Product-001",
"name": "Color box",
"qty": 4,
"weight": 5.3,
"size": "xs",
"price": 5.3
}
]
],
"status": 3,
"_status": "assigned",
"status_lang": "Assigned",
"distance": 10.4,
"company": "Company ABC",
"referenceId": "PO-00012",
"reasonId": 1,
"reasonText": "DANGER ZONE",
"problem_note": "Dangerous zone",
"lastStatusDate": "2023-10-27T19:09:11.000Z",
"tags": [
"Fragile"
]
}Use cases
Última actualización