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.
Use cases
Delivery Creation with Reference ID
This is the most basic payload you can use with the API; however, the task may be created with a pending review status if the address cannot be geolocated.
{
"deliveries": [
{
"pickup": {
"contact": {
"phonenumber": "0976565643",
"email": "test@test.com",
"name": "Iliana Bolaños"
},
"location": {
"address": "Av. Francisco de Orellana 8, Guayaquil 090502, Ecuador",
"instructions": "Apartamento 203"
}
},
"dropoff": {
"contact": {
"name": "Estefanía Fajardo",
"email": "test-1998@hotmail.com"
},
"location": {
"address": "Malecón 2000, Simon Bolivar Palacios, Guayaquil 090313, Ecuador",
"instructions": "Local 890"
}
},
"packages": [
{
"name": "Box of pencils",
"qty": 1,
"size": 1
}
],
"referenceId": "FACT-000123"
}
]
}
Delivery Creation with Latitude and Longitude Address
With this payload, you can create deliveries with precise pickup and delivery points, ensuring that the task is always created with a "processing" status.
{
"deliveries": [
{
"pickup": {
"contact": {
"name": "Emilio Benavides",
"phonenumber": "12345"
},
"location": {
"address": "Av. Echeñique 8861, 7860169 La Reina, Región Metropolitana, Chile",
"lat": "-33.44299381045172",
"lng": "-70.53898694556675"
}
},
"dropoff": {
"contact": {
"name": "MAYGER RENE MONTERO SAAVEDRA",
"email": "mrmontero@shippify.cl",
"phonenumber": "777"
},
"location": {
"address": "Los Castaños 11989, 8010277 Santiago, El Bosque, Región Metropolitana, Chile",
"lat": "-33.56751",
"lng": "-70.67549"
}
},
"packages": [
{
"name": "149123156552",
"size": "XS",
"qty": "1"
}
]
}
]
}
Delivery creation with address by components
With this payload, you can create deliveries with a slightly more precise pickup or delivery point, reducing the likelihood of it being created as pending review. It involves breaking down the address into country, city, street, and zip code.
{
"deliveries": [
{
"pickup": {
"contact": {
"name": "Emilio Benavides",
"phonenumber": "12345"
},
"location": {
"address": "R. Dona Claudina, 401 - Méier, Rio de Janeiro - RJ, 20725-060, Brasil",
"lat": -22.906846699999996,
"lng": -43.28275978125001
}
},
"dropoff": {
"contact": {
"name": "MAYGER RENE MONTERO SAAVEDRA",
"email": "mrmontero@shippify.cl",
"phonenumber": "777"
},
"location": {
"address": {
"zipcode": "60348450",
"neighborhood": "VILA VELHA",
"streetName": "RUA 24,656",
"state": "CE",
"country": "Brazil",
"city": "FORTALEZA"
},
"instructions": "CONJ DOS BANCARIOS - REF.ENDERECO: PROX A UPA"
}
},
"packages": [
{
"name": "149123156552",
"size": "XS",
"qty": "1"
}
]
}
]
}
Delivery Creation from or to a Configured Warehouse
With this payload, you can create deliveries with a collection point previously saved in the "Pickup Locations" section.
{
"deliveries": [
{
"pickup": {
"contact": {
"name": "Emilio Benavides",
"phonenumber": "12345"
},
"location": {
"warehouse": 9
}
},
"dropoff": {
"contact": {
"name": "MAYGER RENE MONTERO SAAVEDRA",
"email": "mrmontero@shippify.cl",
"phonenumber": "777"
},
"location": {
"address": {
"zipcode": "60348450",
"neighborhood": "VILA VELHA",
"streetName": "RUA 24,656",
"state": "CE",
"country": "Brazil",
"city": "FORTALEZA"
},
"instructions": "CONJ DOS BANCARIOS - REF.ENDERECO: PROX A UPA"
}
},
"packages": [
{
"name": "149123156552",
"size": "XS",
"qty": "1"
}
]
}
]
}
Delivery creation with tags and extra data
With digital tags, you can add additional features to the task to later filter by them, for example: fragile.
With extra data, you can link additional information to the delivery.
{
"deliveries": [
{
"pickup": {
"contact": {
"phonenumber": "0976565643",
"email": "test@test.com",
"name": "Iliana Bolaños"
},
"location": {
"address": "Av. Francisco de Orellana 8, Guayaquil 090502, Ecuador",
"instructions": "Apartamento 203"
}
},
"dropoff": {
"contact": {
"name": "Estefanía Fajardo",
"email": "test-1998@hotmail.com"
},
"location": {
"address": "Malecón 2000, Simon Bolivar Palacios, Guayaquil 090313, Ecuador",
"instructions": "Local 890"
}
},
"packages": [
{
"name": "Caja de colores",
"qty": 1,
"size": 1
}
],
"tags" : [
"fragil"
],
"extraData": [
{
"name": "GUIA DE REMISION",
"value": "0001-000344-2233",
"searchable": true
}
],
"referenceId": "FACT-000123"
}
]
}
Última actualización