Remove a delivery

With this endpoint, you can remove deliveries from a created route.

Route Modification

patch

Endpoint that allows removing one or multiple deliveries from a route.

Autorizaciones
Cuerpo
routeIdstringRequerido

Identifier of the route from which deliveries will be removed

Example: r-shiinc-345879
deliveriesstring[]Requerido

List of identifiers of the deliveries to be removed from the route

Example: t-pruaas-4973
Respuestas
200
Successful operation
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