Delivery creation
In this section you will learn how to create your first delivery with Shippify.
With this endpoint, you can create up to a maximum of 100 deliveries per request and 100 requests per minute.
Create up to 100 deliveries within Shippify
Autorizaciones
Cuerpo
companyIdinteger · mín: 1OpcionalExample:
Company identifier where the delivery will be created
2
typestring · enumOpcionalDefault:
Delivery type
slot
Valores posibles: Respuestas
200
Successful operation
application/json
401
Unauthorized
application/json
post
POST /v1/deliveries HTTP/1.1
Host: api.shippify.co
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 767
{
"companyId": 2,
"type": "slot",
"deliveries": [
{
"pickup": {
"contact": {
"name": "Iliana Bolaños",
"email": "[email protected]",
"phonenumber": "0998976565"
},
"location": {
"address": "Vicuna Mackenna 6100, La Florida, Region Metropolitana, Chile",
"instructions": "Unit 1001",
"lat": -33.511333999,
"lng": -70.6102933
}
},
"dropoff": {
"contact": {
"name": "Iliana Bolaños",
"email": "[email protected]",
"phonenumber": "0998976565"
},
"location": {
"address": "Vicuna Mackenna 6100, La Florida, Region Metropolitana, Chile",
"instructions": "Unit 1001",
"lat": -33.511333999,
"lng": -70.6102933
}
},
"packages": [
{
"id": "Product-001",
"name": "Color box",
"qty": 4,
"weight": 5.3,
"size": "xs",
"price": 15.6
}
],
"referenceId": "PO-00012",
"tags": [
"Fragile"
],
"extraData": [
{
"name": "Invoice",
"value": "INV-000001"
}
],
"cod": 22.3
}
]
}
{
"code": "OK",
"message": "Delivery created successfully",
"payload": [
{
"index": 0,
"id": "t-shiinc-27946",
"price": 10.4,
"currencyCode": "CLP",
"distance": 10.4,
"cityId": 2,
"destinationCityId": 2,
"insurance": 2.3,
"statusDelivery": "processing",
"vehicleCapacity": 2,
"deliveryDate": "2023-10-27 19:09:11",
"trackLink": "https://api.shippify.co/track/t-pruaas-4973?token=XXXXXXXXXXXXX",
"referenceId": "PO-00012"
}
]
}
Use cases
Última actualización