Skip to main content

Consignment (Order)

Introduction

Using Geo2 API, you can:

  • Create consignment (POST /consignment)
  • Get consignment data (GET /consignment and GET /consignment/{consignmentId})
  • Delete consignment (DELETE /consignment and DELETE /consignment/{consignmentId})
  • Update consignment (PATCH /consignment and PATCH /consignment/{consignmentId})
  • Export all consignments (GET /export/consignments)
  • Remove consignments from export (DELETE /export/consignments and DELETE /export/consignment/{consignmentID})

For each of the actions above we have examples of how it works, which data you need to put in the request body, and what a result would be.

Create Consignment (Order)

To create a consignment you need to send a POST request with the following parameters:

ParametersTypeDescriptionRequired
keystringUnique consignment key within the environment, for example, an order number 1, 2, 3, 4, etc.Yes
typestringType of consignment with one of the following values:
- delivery
- collection
Yes
channelKeystringTag that lets you classify delivery methods.  Provide a channel key from options defined in Settings → Environment → Hub: Channels Settings.No
areaKeystringTag that lets you identify depots, order and routes by user-defined geographical regions.  Provide an area key from options defined in Settings → Environment → Hub: Areas Settings.No
depotKeystringDepot key where or from where the consignment should be delivered/collected. Provide a depot key from options defined in Settings → Environment → Hub: Depots Settings.No
loadIduniqueIDUnique load ID to which the consignment has been assigned.  If a route starts or ends at a depot, orders with depots must match: the delivery depot must align with the start, and the collection depot with the end. Orders without assigned depots can be added to any route, and if a route does not use a depot as its start or end point, any order, with or without a depot, can be added.No
requiredFromYYYY-MM-DD HH:mm:ssDate/time from when the customer requires the order to be delivered/collected.No
requiredToYYYY-MM-DD HH:mm:ssDate/time till when the customer requires the order to be delivered/collected.No
plannedYYYY-MM-DD HH:mm:ssDate/time when the consignment is planned to be delivered/collected.  Expected to be no later than required to meet recipient’s expectations.No
committedYYYY-MM-DD HH:mm:ssDate/time that has been agreed with the customer for delivery/collection.No
timeAtStopunsigned intThe amount of time the delivery vehicle is expected to remain at a route stop.  This is used when orders are first brought into a route and, together with drive times, stop durations are intended to lead to route durations that are more realistic than if only drive time was considered. Should be provided in minutes.
If no value is provided, the default Stop duration time is taken from Hub: Routes Settings.
No
weightunsigned doubleNumber to specify the total order weight in the weight unit specified in Settings → Environment -> Hub: Display Preferences Settings.  One of the uses is the calculation of the peak load weight for a route.No
volumeunsigned doubleNumber to specify the total order volume in the volume unit specified in Settings → Environment -> Hub: Display Preferences Settings.  One of the uses is the calculation of the peak load volume for a route.No
plannedPackagesunsigned intNumber of packages expected as part of the consignment.  For example, 2.No
consigneeCodestringValue to provide a link to a consignee (customer) record in e.g. the organization's accounting system.  For example, customer_001.No
consignmentInstructionsstringOptional notes for drivers that are shown in the mobile app. For example, "leave with reception".No
plannningInstructionsstringOptional notes for transport planners that are shown in the stop card in the Route plan page in Hub and not shown in the mobile app. For example, "must be delivered by 11:00".No
consignmentNotificationsEnabledbooleanAllow POD notifications on the consignment level.  Even if they are allowed in Hub: Proof of Delivery Settings, you can disable them for an individual order and notifications will not be sent to the recipient.  If you set up fixed recipients for failed and partially successful POD notifications, emails will be sent even if they are turned off on an order level.No
publicTrackingEnabledbooleanAllow Public tracking notifications on the consignment level.  Even if they are allowed in Hub: Public Tracking Settings, you can disable them for an individual order and notifications will not be sent to the recipient.No
consigneeContactNo
personNamestringContact name, e.g. "John Doe"No
emailstringEmail address of the consignee.No
phone
codestringCode of country, like "GB".No
countryCodeunsigned intE.g. 44 for the GB.No
localNumberunsigned intThe remainder of the number, without a leading zero.No
mobile
codestringCode of country, like "GB".No
countryCodeunsigned intE.g. 44 for the GB.No
localNumberunsigned intThe remainder of the number, without a leading zero.No
consigneeAddressYes
namestringUser-defined description useful if addresses are shown as an address book.No
companystringConsignee company name, e.g. "Springboard Applications Ltd".No
line1stringConsignee address line, typically street, e.g. "1000 Great West Road".Yes
line2stringNo
line3stringNo
citystringCity of a consignee, e.g. "Brentford".Yes
regionstringRegion of a consignee.No
postalCodestringPostal code of a consignee.Yes
statestringName of state of a consignee.No
countrystringMust be set, 2-letter ISO code. Country of a consignee.Yes
geoLocationgeopointGeo-location of a geo-coded address.No
latitudeNo
longtitudeNo
geoLocationAccuracyunsigned intGoogle equivalents:
1 - ROOFTOP
2 - RANGE_INTERPOLATED, GEOMETRIC_CENTER
3 - APPROXIMATE
No
placeIdstringGoogle Places API Place IDNo
consignorContactNo
personNamestringContact name, e.g. "John Doe"No
emailstringEmail address of the consignee.No
phone
codestringCode of country, like "GB".No
countryCodeunsigned intE.g. 44 for the GB.No
localNumberunsigned intThe remainder of the number, without a leading zero.No
mobile
codestringCode of country, like "GB".No
countryCodeunsigned intE.g. 44 for the GB.No
localNumberunsigned intThe remainder of the number, without a leading zero.No
consignorAddressNo
namestringUser-defined description useful if addresses are shown as an address book.No
companystringConsignor company name, e.g. "Springboard Applications Ltd".No
line1stringConsignor address line, typically street, e.g. "1000 Great West Road".Yes
line2stringNo
line3stringNo
citystringCity of a consignor, e.g. "Brentford".No
regionstringRegion of a consignor.No
postalCodestringPostal code of a consignor.Yes
statestringName of state of a consignor.No
countrystringMust be set, 2-letter ISO code.  Country of a consignor.Yes
geoLocationgeopointGeo-location of a geo-coded address.No
latitudeNo
longtitudeNo
geoLocationAccuracyunsigned intGoogle equivalents:
1 - ROOFTOP
2 - RANGE_INTERPOLATED, GEOMETRIC_CENTER
3 - APPROXIMATE
No
placeIdstringGoogle Places API Place IDNo
packagesOptional package details - barcode, height, width, depth, volume, weight.No
packageIduniqueIdUnique package ID.Yes
barcodestringNo
heightunsigned doubleUnit: cm.No
depthunsigned doubleUnit: cm.No
widthunsigned doubleUnit: cm.No
volumeunsigned doubleUnit: m3.No
weightunsigned doubleUnit: kg.No
productLinesOptional details of products in the consignment - product code, commodity code, barcode, description, quantity, currency, unit price, unit tax, tax rate, country of origin.No
productLineIduniqueIdUnique product line ID.Yes
productCodestringCustomer-defined product identifier.Yes
commodityCodestringRecognised code such as UNSPC used in international trade.No
barcodestringNo
descriptionstringNo
quantityunsigned doubleNo
currencycurrencyCurrency of price and tax values.Yes
unitPricefloatNo
unitTaxfloatNo
taxRatefloatPercentage of unitPrice that makes unitTax.No
countryOfOriginstring2-letter ISO code.No
unitWeightunsigned doubleUnit: kg.No
packageProductsPackages can optionally specify the products and quantities they contain.No
packageIduniqueIDUnique package ID.Yes
productLineIduniqueIDUnique product line ID.Yes
quantityunsigned doubleNo

Example of a POST request to create a consignment:

Request

curl -X 'POST' \
'https://api.geo2.com/v1/consignment?timezone=Europe%2FLondon' \
-H 'accept: application/json' \
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiJtaWNyb3NvZnQ6M2VhOGVhODItOTNmZC00NmNhLTk3ODItNjhkNzMxODg4OWEzIiwidG9rZW5JZCI6Ii1OUXlFa1pTWm9Ic3Y5OEg1RlIyIiwiaWF0IjoxNjc5MzAyNzg5LCJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vcHJqLXByby1iYWxkZXYtZ2VvMiIsInN1YiI6Im1pY3Jvc29mdDozZWE4ZWE4Mi05M2ZkLTQ2Y2EtOTc4Mi02OGQ3MzE4ODg5YTMiLCJhdWQiOiJwcmotcHJvLWJhbGRldi1nZW8yIiwiZXhwIjoxOTk0NjYyNzg5fQ.G3LaRxJJJhYlG-m1GHvP9ZgB39Sxh0H98m5AHI2hfDM' \
-H 'Content-Type: application/json' \
-d '{
"key": "001_1212",
"type": "delivery",
"depotKey": "depot_001",
"loadId": "6yhKIioCJDTtaImFiJpD",
"requiredFrom": "2026-03-05 12:00:00",
"requiredTo": "2026-03-05 16:00:00",
"planned": "2026-03-05 16:15:00",
"weight": 10,
"volume": 20,
"consigneeCode": "NIKE",
"consignmentInstructions": "Leave with neighbour",
"planningInstructions": "Must be delivered by 17:00",
"consigneeContact": {
"personName": "Nick",
"email": "nick@balloonone.com",
"phone": {
"code": "GB",
"countryCode": "44",
"localNumber": "2088199071"
},
"mobile": {
"code": "GB",
"countryCode": "44",
"localNumber": "2088199071"
}
},
"consigneeAddress": {
"name": "Office",
"company": "Balloonone",
"line1": "The Mille",
"line2": "Great West Rd",
"line3": "",
"city": "Brentford",
"region": "",
"postalCode": "TW8 9DW",
"state": "",
"country": "GB",
"geoLocation": {
"lat": 51.488922406204296,
"lng": -0.3134162798480503
},
"geoLocationAccuracy": 1,
"placeId": "ChIJUfCccbwNdkgRZun6nuRQ1tY"
},
"consignorContact": {
"personName": "Nick",
"email": "nick@balloonone.com",
"phone": {
"code": "GB",
"countryCode": "44",
"localNumber": "2088199071"
},
"mobile": {
"code": "GB",
"countryCode": "44",
"localNumber": "2088199071"
}
},
"consignorAddress": {
"name": "Office",
"company": "Balloonone",
"line1": "The Mille",
"line2": "Great West Rd",
"line3": "",
"city": "Brentford",
"region": "",
"postalCode": "TW8 9DW",
"state": "",
"country": "GB",
"geoLocation": {
"lat": 51.488922406204296,
"lng": -0.3134162798480503
},
"geoLocationAccuracy": 1,
"placeId": "ChIJUfCccbwNdkgRZun6nuRQ1tY"
},
"packages": [
{
"packageId": "9b88b664-8623-46f0-a7af-9671d42d9b53",
"barcode": "001",
"height": 10,
"depth": 20,
"width": 30,
"volume": 0.006,
"weight": 1.2
}
],
"productLines": [
{
"productLineId": "a6464eba-5759-4135-aa96-c31148ad92c6",
"productCode": "001",
"commodityCode": "43191501",
"barcode": "001",
"description": "Mobile phone",
"height": 10,
"quantity": 1,
"currency": "GBP",
"unitPrice": 20,
"unitTax": 30,
"taxRate": 0.006,
"countryOfOrigin": "GB",
"unitWeight": 1.2
}
],
"packageProducts": [
{
"packageId": "9b88b664-8623-46f0-a7af-9671d42d9b53",
"productLineId": "a6464eba-5759-4135-aa96-c31148ad92c6",
"quantity": 1
}
]
}'

Example of a response after sending a request:

Response

{
"data": {
"consignmentId": "bPnar5IshZpJ0YAJOszI",
"packageIds": [
"2ac67141-a340-4a56-b417-d976e2f3e6de"
],
"productLineIds": [
"23173774-e885-4d8e-b302-eb6d4215def9"
]
},
"status": "OK"
}

If a response status is OK, a consignment is created. It is also shown on Hub: Orders page in the web-based Hub.

Update Consignment (Order)

To partly or fully update a consignment, you can use a consignment key (a unique consignment key generated by you) or ID (a unique consignment ID generated by us, visible in response after sending a request to create a consignment).  After filling in a consignment key or consignment ID, you need to send a PATCH request with the parameters you want to change.  Example:

Request

curl -X 'PATCH' \
'https://api.geo2.com/v1/consignment?id=bPnar5IshZpJ0YAJOszI&timezone=Europe%2FLondon' \
-H 'accept: application/json' \
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiJtaWNyb3NvZnQ6M2VhOGVhODItOTNmZC00NmNhLTk3ODItNjhkNzMxODg4OWEzIiwidG9rZW5JZCI6Ii1OUXlFa1pTWm9Ic3Y5OEg1RlIyIiwiaWF0IjoxNjc5MzAyNzg5LCJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vcHJqLXByby1iYWxkZXYtZ2VvMiIsInN1YiI6Im1pY3Jvc29mdDozZWE4ZWE4Mi05M2ZkLTQ2Y2EtOTc4Mi02OGQ3MzE4ODg5YTMiLCJhdWQiOiJwcmotcHJvLWJhbGRldi1nZW8yIiwiZXhwIjoxOTk0NjYyNzg5fQ.G3LaRxJJJhYlG-m1GHvP9ZgB39Sxh0H98m5AHI2hfDM' \
-H 'Content-Type: application/json' \
-d '{
"key": "001_1212",
"type": "delivery",
"depotKey": "depot_001",
"loadId": "6yhKIioCJDTtaImFiJpD",
"requiredFrom": "2026-03-05T12:00:00Z",
"requiredTo": "2026-03-05T16:00:00Z",
"planned": "2026-03-05T16:15:00Z",
"committed": "2026-03-05T16:15:00Z",
"weight": 20,
"volume": 15,
"consigneeCode": "NIKE",
"consignmentInstructions": "Leave with neighbour",
"planningInstructions": "Do not leave without signature",
"consigneeContact": {
"personName": "Nick",
"email": "nick@balloonone.com",
"phone": {
"code": "GB",
"countryCode": "44",
"localNumber": "2088199071"
},
"mobile": {
"code": "GB",
"countryCode": "44",
"localNumber": "2088199071"
}
},
"consigneeAddress": {
"name": "Office",
"company": "Balloonone",
"line1": "The Mille",
"line2": "Great West Rd",
"line3": "",
"city": "Brentford",
"region": "",
"postalCode": "TW8 9DW",
"state": "",
"country": "GB",
"geoLocation": {
"lat": 51.488922406204296,
"lng": -0.3134162798480503
},
"geoLocationAccuracy": 1,
"placeId": "ChIJUfCccbwNdkgRZun6nuRQ1tY"
},
"consignorContact": {
"personName": "Nick",
"email": "nick@balloonone.com",
"phone": {
"code": "GB",
"countryCode": "44",
"localNumber": "2088199071"
},
"mobile": {
"code": "GB",
"countryCode": "44",
"localNumber": "2088199071"
}
},
"consignorAddress": {
"name": "Office",
"company": "Balloonone",
"line1": "The Mille",
"line2": "Great West Rd",
"line3": "",
"city": "Brentford",
"region": "",
"postalCode": "TW8 9DW",
"state": "",
"country": "GB",
"geoLocation": {
"lat": 51.488922406204296,
"lng": -0.3134162798480503
},
"geoLocationAccuracy": 1,
"placeId": "ChIJUfCccbwNdkgRZun6nuRQ1tY"
},
"packages": [
{
"packageId": "9b88b664-8623-46f0-a7af-9671d42d9b53",
"barcode": "BARCODE_001",
"height": 10,
"depth": 20,
"width": 30,
"volume": 0.006,
"weight": 1.2
}
],
"productLines": [
{
"productLineId": "a6464eba-5759-4135-aa96-c31148ad92c6",
"productCode": "CODE_001",
"commodityCode": "43191501",
"barcode": "BARCODE_001",
"description": "Mobile phone",
"height": 10,
"quantity": 1,
"currency": "GBP",
"unitPrice": 20,
"unitTax": 30,
"taxRate": 0.006,
"countryOfOrigin": "GB",
"unitWeight": 1.2
}
],
"packageProducts": [
{
"packageId": "9b88b664-8623-46f0-a7af-9671d42d9b53",
"productLineId": "a6464eba-5759-4135-aa96-c31148ad92c6",
"quantity": 1
}
]
}'

Example of a response after sending a request:

Response

{
"status": "OK"
}

Get Consignment (Order) Data

To get consignment data you can use a consignment key (a unique consignment key generated by you) or ID (a unique consignment ID generated by us, visible in response after sending a request to create a consignment).

After filling in a consignment key or consignment ID, you need to send a GET request.  Example:

Request

curl -X 'GET' \
'https://api.geo2.com/v1/consignment?id=bPnar5IshZpJ0YAJOszI&timezone=Europe%2FLondon' \
-H 'accept: application/json' \
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiJtaWNyb3NvZnQ6M2VhOGVhODItOTNmZC00NmNhLTk3ODItNjhkNzMxODg4OWEzIiwidG9rZW5JZCI6Ii1OUXlFa1pTWm9Ic3Y5OEg1RlIyIiwiaWF0IjoxNjc5MzAyNzg5LCJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vcHJqLXByby1iYWxkZXYtZ2VvMiIsInN1YiI6Im1pY3Jvc29mdDozZWE4ZWE4Mi05M2ZkLTQ2Y2EtOTc4Mi02OGQ3MzE4ODg5YTMiLCJhdWQiOiJwcmotcHJvLWJhbGRldi1nZW8yIiwiZXhwIjoxOTk0NjYyNzg5fQ.G3LaRxJJJhYlG-m1GHvP9ZgB39Sxh0H98m5AHI2hfDM'

Example of a response after sending a request:

Response

{
"data": {
"requiredFrom": "2026-03-05T12:00:00Z",
"requiredTo": "2026-03-05T16:00:00Z",
"planned": "2026-03-05T16:15:00Z",
"committed": null,
"created": "2026-03-05T11:00:00Z",
"updated": "2026-03-05T12:25:00Z",
"consignmentId": "bPnar5IshZpJ0YAJOszI",
"stopPosition": 1,
"packages": [
{
"barcode": "001",
"packageId": "2ac67141-a340-4a56-b417-d976e2f3e6de",
"volume": 0.006,
"weight": 1.2,
"height": 10,
"width": 30,
"depth": 20
}
],
"productLines": [
{
"unitPrice": 20,
"unitWeight": 1.2,
"quantity": 1,
"description": "Mobile phone",
"unitTax": 30,
"taxRate": 0.006,
"productCode": "001",
"commodityCode": "43191501",
"currency": "GBP",
"countryOfOrigin": "GB",
"barcode": "BARCODE_001",
"height": 10,
"productLineId": "23173774-e885-4d8e-b302-eb6d4215def9"
}
],
"packageProducts": [
{
"quantity": 1,
"packageId": "2ac67141-a340-4a56-b417-d976e2f3e6de",
"productLineId": "23173774-e885-4d8e-b302-eb6d4215def9"
}
],
"depot": {
"address": {
"country": "GB",
"geoLocation": {
"lng": -0.6589784,
"lat": 51.9068365
},
"city": "Leighton Buzzard",
"postalCode": "LU7 4WG",
"placeId": "ChIJCahEnDBRdkgRTgjGG9r84M8",
"company": "test",
"geoLocationAccuracy": 1,
"region": "Bedfordshire",
"line2": "Chartmoor Rd",
"line1": "Unit 7"
},
"contact": {
"personName": "John",
"phone": {
"code": "GB",
"countryCode": "44",
"localNumber": "1234567890"
},
"mobile": {
"code": "GB",
"countryCode": "44",
"localNumber": "1234567890"
},
"email": "john.doe@gmailc.com"
},
"name": "depot_001",
"key": "depot_001"
},
"volume": 20,
"weight": 10,
"consigneeContact": {
"personName": "Nick",
"phone": {
"code": "GB",
"countryCode": "44",
"localNumber": "2088199071"
},
"mobile": {
"code": "GB",
"countryCode": "44",
"localNumber": "2088199071"
},
"email": "nick@balloonone.com"
},
"type": "delivery",
"version": 1,
"planningInstructions": "Must be delivered by 17:00",
"consignmentInstructions": "Leave with neighbour",
"environmentId": "5SYdrm9xLj42guuh6sVT",
"loadId": "6yhKIioCJDTtaImFiJpD",
"consignorAddress": {
"country": "GB",
"city": "Brentford",
"postalCode": "TW8 9DW",
"placeId": "ChIJUfCccbwNdkgRZun6nuRQ1tY",
"geoLocationAccuracy": 1,
"geoLocation": {
"lng": -0.3134162798480503,
"lat": 51.488922406204296
},
"name": "Office",
"company": "Balloonone",
"state": "",
"line3": "",
"region": "",
"line2": "Great West Rd",
"line1": "The Mille"
},
"consigneeCode": "NIKE",
"consignorContact": {
"personName": "Nick",
"phone": {
"code": "GB",
"countryCode": "44",
"localNumber": "2088199071"
},
"mobile": {
"code": "GB",
"countryCode": "44",
"localNumber": "2088199071"
},
"email": "nick@balloonone.com"
},
"key": "CONS_0012",
"consigneeAddress": {
"country": "GB",
"city": "Brentford",
"postalCode": "TW8 9DW",
"placeId": "ChIJUfCccbwNdkgRZun6nuRQ1tY",
"geoLocationAccuracy": 1,
"geoLocation": {
"lng": -0.3134162798480503,
"lat": 51.488922406204296
},
"name": "Office",
"company": "Balloonone",
"state": "",
"line3": "",
"region": "",
"line2": "Great West Rd",
"line1": "The Mille"
}
},
"status": "OK"
}

Delete Consignment (Order)

To delete a consignment you can use a consignment key (a unique consignment key generated by you) or ID (a unique consignment ID generated by us, visible in response after sending a request to create a consignment).  After filling in a consignment key or consignment ID, you need to send a DELETE request.  Example:

Request

curl -X 'DELETE' \
'https://api.geo2.com/v1/consignment?id=bPnar5IshZpJ0YAJOszI' \
-H 'accept: application/json' \
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiJtaWNyb3NvZnQ6M2VhOGVhODItOTNmZC00NmNhLTk3ODItNjhkNzMxODg4OWEzIiwidG9rZW5JZCI6Ii1OUXlFa1pTWm9Ic3Y5OEg1RlIyIiwiaWF0IjoxNjc5MzAyNzg5LCJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vcHJqLXByby1iYWxkZXYtZ2VvMiIsInN1YiI6Im1pY3Jvc29mdDozZWE4ZWE4Mi05M2ZkLTQ2Y2EtOTc4Mi02OGQ3MzE4ODg5YTMiLCJhdWQiOiJwcmotcHJvLWJhbGRldi1nZW8yIiwiZXhwIjoxOTk0NjYyNzg5fQ.G3LaRxJJJhYlG-m1GHvP9ZgB39Sxh0H98m5AHI2hfDM'

Example of a response after sending a request:

Response

{
"status": "OK"
}

A consignment will be deleted from Hub as well.

Export All Consignments

To return exported consignments ID`s of all exported consignments, you need to send a GET/export/consignments request.  Example:

Request

curl -X 'GET' \
'https://api.geo2.com/v1/export/consignments' \
-H 'accept: application/json' \
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiJtaWNyb3NvZnQ6M2VhOGVhODItOTNmZC00NmNhLTk3ODItNjhkNzMxODg4OWEzIiwidG9rZW5JZCI6Ii1OUXlFa1pTWm9Ic3Y5OEg1RlIyIiwiaWF0IjoxNjc5MzAyNzg5LCJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vcHJqLXByby1iYWxkZXYtZ2VvMiIsInN1YiI6Im1pY3Jvc29mdDozZWE4ZWE4Mi05M2ZkLTQ2Y2EtOTc4Mi02OGQ3MzE4ODg5YTMiLCJhdWQiOiJwcmotcHJvLWJhbGRldi1nZW8yIiwiZXhwIjoxOTk0NjYyNzg5fQ.G3LaRxJJJhYlG-m1GHvP9ZgB39Sxh0H98m5AHI2hfDM'

Example of a response after sending a request:

Response

{
"data": [
"8OAk85y1GIT0tdRwZle5"
],
"status": "OK"
}

Remove Consignments From Export

To remove all consignments from export, you need to send a DELETE/export/consignments request.  Example:

Request

curl -X 'DELETE' \
'https://api.geo2.com/v1/export/consignments' \
-H 'accept: application/json' \
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiJtaWNyb3NvZnQ6M2VhOGVhODItOTNmZC00NmNhLTk3ODItNjhkNzMxODg4OWEzIiwidG9rZW5JZCI6Ii1OUXlFa1pTWm9Ic3Y5OEg1RlIyIiwiaWF0IjoxNjc5MzAyNzg5LCJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vcHJqLXByby1iYWxkZXYtZ2VvMiIsInN1YiI6Im1pY3Jvc29mdDozZWE4ZWE4Mi05M2ZkLTQ2Y2EtOTc4Mi02OGQ3MzE4ODg5YTMiLCJhdWQiOiJwcmotcHJvLWJhbGRldi1nZW8yIiwiZXhwIjoxOTk0NjYyNzg5fQ.G3LaRxJJJhYlG-m1GHvP9ZgB39Sxh0H98m5AHI2hfDM'

Example of a response after sending a request:

Response

{
"status": "OK"
}