Upcoming version
You're browsing the documentation for an upcoming version. Its documentation and features are subject to change.
A consignment changed
post
consignmentChangedWebhook
Sent to the address registered for your account whenever a consignment you can see changes. Answer with any 2xx.
Authorisation
Any one of these
apiKeyapiKey · X-Api-Key · HeaderA key from the account page.
Any one of these
bearerhttp · bearerA token obtained from the authorisation server.
Request body
application/json
objectConsignmentOne consignment, as the API sees it.
idstringRead-onlyreference*Requiredstringmin length 1max length 120status*RequiredstringConsignmentStatusbooked | loading | sailing | landed | cancelledWhere a consignment has got to.createdAtstringRead-onlyparentanyConsignmentRefers to itself; expanded above.tagsarray<string>uniqueEach item
stringmetadataobjectAny other property
string
json
{
"reference": "string",
"status": "booked",
"parent": null,
"tags": [
"string"
],
"metadata": {}
}Responses
200
Acknowledged.No body.
Send a request
curl 'https://api.example.org/v3/consignments?limit=20&cursor=string&status=%5B%0A++%22booked%22%0A%5D&session=string' \
-H 'Authorization: Bearer demo-token' \
-H 'X-Request-Id: 00000000-0000-4000-8000-000000000000'