Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
quote
string
required

The unique identifier for the accepted quote.

Example:

"quotes/669986bb4ae1239d5a92cdff"

courier
string
required

The name of the courier service handling the shipment.

Example:

"couriers/coordinadora"

origin
string
required

The resource name of the selected origin location.

Example:

"origins/66343b5ac38abe08414dc303"

recipient
object
required

Details of the recipient of the shipment.

requiresPickup
boolean
required

Indicates whether the shipment requires pickup by the courier.

Response

200 - application/json

Successfully created a shipment.

name
string
required

The unique identifier of the shipment.

Example:

"shipments/669a8cba6af86466a42de2fe"

createTime
string<date-time>
required

The timestamp when the shipment was created.

Example:

"2024-07-17T21:32:52.478Z"

updateTime
string<date-time>
required

The timestamp when the shipment was last updated.

Example:

"2024-07-17T21:32:52.478Z"

quote
string
required

The unique identifier for the accepted quote.

Example:

"quotes/669986bb4ae1239d5a92cdff"

courier
string
required

The name of the courier service handling the shipment.

Example:

"couriers/coordinadora"

origin
string
required

The resource name of the selected origin location.

Example:

"origins/66343b5ac38abe08414dc303"

recipient
object
required

Details of the recipient of the shipment.

requiresPickup
boolean
required

Indicates whether the shipment requires pickup by the courier.

status
enum<string>
required

The current status of the shipment.

Available options:
GENERATING_LABEL,
LABEL_GENERATED,
SCHEDULED_PICKUP,
IN_PROGRESS,
AT_ORIGIN_TERMINAL,
AT_DESTINATION_TERMINAL,
READY_FOR_PICKUP,
OUT_FOR_DELIVERY,
DELIVERED,
WITH_ERROR,
CANCELLATION_REQUESTED,
CANCELLED,
RETURN
Example:

"LABEL_GENERATED"

shipmentCostCents
number
required

The cost of the shipment in cents (COP).

Example:

1700000

cashOnDeliveryCostCents
number
required

The cash on delivery service cost in cents (COP).

Example:

350000

totalCostCents
number
required

The total cost of the shipment including all fees in cents (COP).

Example:

2050000

label
string | null

The label identifier for the shipment.

Example:

"240013993254"

labelUrl
string | null

A signed URL to download the shipment label PDF. Valid for 120 hours (5 days).

Example:

"https://storage.googleapis.com/every-shipment-labels-production/690cd6eb79ac31909b2121e8.pdf?GoogleAccessId=..."