Update pickup point
Endpoint to update pickup data, including the address and contact information at the warehouse.
Endpoint that allows editing the pickup data of a delivery.
Autorizaciones
Cuerpo
deliveryIdsstringRequeridoExample:
Delivery identifiers to be edited separated by comma, up to 10 deliveries can be edited in a single request
t-pruaas-4973
recalculatePricebooleanRequeridoExample:
Indicates whether to recalculate the price after modification (recommended)
true
reorderRoutebooleanRequeridoExample:
Indicates whether to reorder the route (if the delivery belongs to a route) after modification (recommended)
true
Respuestas
200
Successful operation
application/json
401
Unauthorized
application/json
patch
PATCH /v1/deliveries/pickup HTTP/1.1
Host: api.shippify.co
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 340
{
"deliveryIds": "t-pruaas-4973",
"deliveryChanges": {
"location": {
"address": "Vicuna Mackenna 6100, La Florida, Region Metropolitana, Chile",
"instructions": "Unit 1001",
"lat": -33.511333999,
"lng": -70.6102933
},
"contact": {
"name": "Iliana Bolaños",
"email": "[email protected]",
"phonenumber": "0998976565"
}
},
"recalculatePrice": true,
"reorderRoute": true
}
{
"code": "OK",
"message": "Success",
"data": {
"jobs": "JOB-1234"
}
}
Use cases
Última actualización