curl --request GET \
--url https://api.goevery.co/v1/shipments:batchGet \
--header 'Authorization: Bearer <token>'{
"shipments": [
{
"name": "shipments/669a8cba6af86466a42de2fe",
"createTime": "2024-07-17T21:32:52.478Z",
"updateTime": "2024-07-17T21:32:52.478Z",
"quote": "quotes/669986bb4ae1239d5a92cdff",
"courier": "couriers/coordinadora",
"origin": "origins/66343b5ac38abe08414dc303",
"recipient": {
"firstName": "Valentina",
"lastName": "Rodríguez López",
"email": "[email protected]",
"phoneNumber": "+573193210329",
"address": {
"regionCode": "CO",
"administrativeArea": "Antioquia",
"locality": "Abejorral",
"addressLines": [
"Calle 123",
"Apto 2"
],
"organization": "Happeett"
},
"documentType": "CC",
"document": "1040777098"
},
"requiresPickup": true,
"status": "LABEL_GENERATED",
"shipmentCostCents": 1700000,
"cashOnDeliveryCostCents": 350000,
"totalCostCents": 2050000,
"label": "240013993254",
"labelUrl": "https://storage.googleapis.com/every-shipment-labels-production/690cd6eb79ac31909b2121e8.pdf?GoogleAccessId=..."
}
]
}curl --request GET \
--url https://api.goevery.co/v1/shipments:batchGet \
--header 'Authorization: Bearer <token>'{
"shipments": [
{
"name": "shipments/669a8cba6af86466a42de2fe",
"createTime": "2024-07-17T21:32:52.478Z",
"updateTime": "2024-07-17T21:32:52.478Z",
"quote": "quotes/669986bb4ae1239d5a92cdff",
"courier": "couriers/coordinadora",
"origin": "origins/66343b5ac38abe08414dc303",
"recipient": {
"firstName": "Valentina",
"lastName": "Rodríguez López",
"email": "[email protected]",
"phoneNumber": "+573193210329",
"address": {
"regionCode": "CO",
"administrativeArea": "Antioquia",
"locality": "Abejorral",
"addressLines": [
"Calle 123",
"Apto 2"
],
"organization": "Happeett"
},
"documentType": "CC",
"document": "1040777098"
},
"requiresPickup": true,
"status": "LABEL_GENERATED",
"shipmentCostCents": 1700000,
"cashOnDeliveryCostCents": 350000,
"totalCostCents": 2050000,
"label": "240013993254",
"labelUrl": "https://storage.googleapis.com/every-shipment-labels-production/690cd6eb79ac31909b2121e8.pdf?GoogleAccessId=..."
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Comma-separated list of shipment names to retrieve. A maximum of 1000 shipments can be retrieved in a batch. Format: shipments/{shipment}
"shipments/669883e4bb5d6ab047c1c334,shipments/669a8cba6af86466a42de2fe"
Successfully fetched a batch of shipments.
Shipments requested in the same order as the names in the request.
Show child attributes
The unique identifier of the shipment.
"shipments/669a8cba6af86466a42de2fe"
The timestamp when the shipment was created.
"2024-07-17T21:32:52.478Z"
The timestamp when the shipment was last updated.
"2024-07-17T21:32:52.478Z"
The unique identifier for the accepted quote.
"quotes/669986bb4ae1239d5a92cdff"
The name of the courier service handling the shipment.
"couriers/coordinadora"
The resource name of the selected origin location.
"origins/66343b5ac38abe08414dc303"
Details of the recipient of the shipment.
Show child attributes
The first name of the shipment recipient.
"Valentina"
The last name of the shipment recipient.
"Rodríguez López"
The email address of the recipient.
The phone number of the recipient.
"+573193210329"
The address details.
Show child attributes
The ISO 3166-1 alpha-2 region code representing the country or territory.
"CO"
The primary administrative division, such as a state or province, within the region.
"Antioquia"
The specific city, town, or municipality.
"Abejorral"
Two lines detailing the specific street address, including street name, building number, apartment or suite number, and any other relevant details.
["Calle 123", "Apto 2"]The name of the organization associated with this address, if applicable.
"Happeett"
The type of document identifying the recipient.
CC, CE, NI, TI "CC"
The document number of the recipient.
"1040777098"
Indicates whether the shipment requires pickup by the courier.
The current status of the shipment.
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 "LABEL_GENERATED"
The cost of the shipment in cents (COP).
1700000
The cash on delivery service cost in cents (COP).
350000
The total cost of the shipment including all fees in cents (COP).
2050000
The label identifier for the shipment.
"240013993254"
A signed URL to download the shipment label PDF. Valid for 120 hours (5 days).
"https://storage.googleapis.com/every-shipment-labels-production/690cd6eb79ac31909b2121e8.pdf?GoogleAccessId=..."