Skip to main content
POST
/
delivery
/
many
Create multiple deliverys
curl --request POST \
  --url https://api.truecold.io/delivery/many \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "deliverys": [
    {
      "code": "<string>",
      "shipment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "receiver_code": "<string>",
      "receiver_name": "<string>",
      "carrier_code": "<string>",
      "carrier_name": "<string>",
      "route_code": "<string>",
      "route_name": "<string>",
      "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "transport_mode": "<string>",
      "started_at": "2023-11-07T05:31:56Z",
      "ended_at": "2023-11-07T05:31:56Z",
      "temperature_range_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "emails_to_notify": [
        "<string>"
      ],
      "carrier_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "receiver_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ]
}'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": "2023-11-07T05:31:56Z",
    "code": "<string>",
    "shipment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "receiver_code": "<string>",
    "receiver_name": "<string>",
    "carrier_code": "<string>",
    "carrier_name": "<string>",
    "route_code": "<string>",
    "route_name": "<string>",
    "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "transport_mode": "<string>",
    "started_at": "2023-11-07T05:31:56Z",
    "ended_at": "2023-11-07T05:31:56Z",
    "soft_deleted": "2023-11-07T05:31:56Z",
    "soft_deleted_by": "<string>",
    "updated_at": "2023-11-07T05:31:56Z",
    "temperature_range_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "emails_to_notify": [
      "<string>"
    ],
    "carrier_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "receiver_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
]

Authorizations

x-api-key
string
header
required

API key for authentication. Contact your administrator to get an API key.

Body

application/json
deliverys
object[]

Response

Successfully created deliverys

id
string<uuid>

Unique identifier

created_at
string<date-time>

Creation timestamp

code
string

code code

shipment_id
string<uuid>

Shipment ID

receiver_code
string

receiver code

receiver_name
string

receiver name

carrier_code
string

carrier code

carrier_name
string

carrier name

route_code
string

route code

route_name
string

route name

account_id
string<uuid>

Account ID

site_id
string<uuid>

Site ID

transport_mode
string

Transport Mode

started_at
string<date-time>

started timestamp

ended_at
string<date-time>

ended timestamp

soft_deleted
string<date-time>

Soft deletion timestamp

soft_deleted_by
string

User who soft deleted the record

updated_at
string<date-time>

Last update timestamp

temperature_range_id
string<uuid>

Temperature range ID

emails_to_notify
string[]

Email address

carrier_id
string<uuid>

Carrier ID

receiver_id
string<uuid>

Receiver ID