Add a delivery
With this endpoint, you can add deliveries to a created route.
Endpoint that allows adding one or several deliveries to a route.
Autorizaciones
Cuerpo
routeIdstringRequeridoExample:
Identifier of the route to which the deliveries will be added
r-shiinc-345879
deliveriesstring[]RequeridoExample:
List of identifiers of the deliveries to be added to the route
t-pruaas-4973
Respuestas
200
Successful operation
application/json
401
Unauthorized
application/json
patch
PATCH /v1/routes/add HTTP/1.1
Host: api.shippify.co
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 60
{
"routeId": "r-shiinc-345879",
"deliveries": [
"t-pruaas-4973"
]
}
{
"code": "OK",
"message": "Process created successfully",
"data": {
"jobs": "JOB-1234"
}
}
Última actualización