PATCH
/
deliveries
/
{id}
curl --request PATCH \
  --url https://api.truecold.io/v1/deliveries/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "code": "103888",
  "receiver_code": "103888",
  "receiver_name": "PharmaX Barcelona",
  "destinaton": "Barcelona",
  "carrier_code": "291",
  "carrier_name": "PharmaX",
  "route_code": "25-BCN-XA43N",
  "route_name": "Barcelona - Madrid",
  "transport_mode": "ROAD"
}'
{
  "error": false,
  "data": {
    "id": "<string>",
    "created_at": "<string>",
    "code": "<string>",
    "shipment_id": "<string>",
    "receiver_code": "<string>",
    "receiver_name": "<string>",
    "destination": "<string>",
    "carrier_code": "<string>",
    "carrier_name": "<string>",
    "route_code": "<string>",
    "route_name": "<string>",
    "account_id": "<string>",
    "transport_mode": "<string>",
    "started_at": "2023-11-07T05:31:56Z",
    "ended_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

UUID of the delivery

Example:

"382bc9c0-6a3b-4255-97f4-98e91ceab047"

Body

application/json

Response

200
application/json

The response is of type object.