Remove a delivery
With this endpoint, you can remove deliveries from a created route.
Endpoint that allows removing one or multiple deliveries from a route.
Autorizaciones
Cuerpo
routeIdstringRequeridoExample:
Identifier of the route from which deliveries will be removed
r-shiinc-345879
deliveriesstring[]RequeridoExample:
List of identifiers of the deliveries to be removed from the route
t-pruaas-4973
Respuestas
200
Successful operation
application/json
401
Unauthorized
application/json
patch
PATCH /v1/routes/remove 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