Add a delivery

With this endpoint, you can add deliveries to a created route.

Route modification

patch

Endpoint that allows adding one or several deliveries to a route.

Autorizaciones
Cuerpo
routeIdstringRequerido

Identifier of the route to which the deliveries will be added

Example: r-shiinc-345879
deliveriesstring[]Requerido

List of identifiers of the deliveries to be added to the route

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