List consignments
/consignmentslistConsignments
Returns a page of consignments, newest first.
Paging is by cursor; the value comes from the previous response's
next field and is opaque.
Autorisierung
Eines davon genügt
apiKeyapiKey · X-Api-Key · KopfzeileA key from the account page.
Eines davon genügt
bearerhttp · bearerA token obtained from the authorisation server.
Parameter
Abfrage
limitintegermin 1max 100How many consignments to return.
cursorstringWhere to continue from.
statusarray<string>eindeutigJedes Element
stringConsignmentStatusbooked | loading | sailing | landed | cancelledWhere a consignment has got to.Only consignments in these states.
style=form explode=falsesessionstringThe same session, for callers that cannot set the cookie — a page cannot, because `Cookie` is a header the browser refuses to let a script write. Deliberately the same *name* in a second location: OpenAPI identifies a parameter by the pair `(name, in)`, so these are two parameters, and a reference that keyed its try-it form on the name alone would send one box's answer to both.
Kopfzeile
X-Request-IdstringAn identifier echoed back on every response.
Cookie
sessionstringAn optional session, for a personalised order.
Antworten
Kopfzeilen
X-Request-Id*Erforderlichstring
items*Erforderlicharray<object>7Jedes Element
objectConsignmentOne consignment, as the API sees it.id*ErforderlichstringNur lesbarreference*ErforderlichstringMindestlänge 1Höchstlänge 120status*ErforderlichstringConsignmentStatusbooked | loading | sailing | landed | cancelledWhere a consignment has got to.createdAtstringNur lesbarparentanyConsignmentVerweist auf sich selbst; oben ausgeklappt.tagsarray<string>eindeutigJedes Element
stringmetadataobjectJede weitere Eigenschaft
string
nextstring | nullThe cursor for the following page, if any.
{
"items": [
{
"id": "00000000-0000-4000-8000-000000000000",
"reference": "string",
"status": "booked",
"createdAt": "2026-01-01T09:00:00Z",
"parent": null,
"tags": [
"string"
],
"metadata": {}
}
],
"next": "string"
}Was als Nächstes möglich ist
NextPagelistConsignmentsThe same call again, with `cursor` set from `next`.
application/problem+json
title*ErforderlichstringA short, human-readable summary.status*Erforderlichintegermin 400max 599detailstring | null
{
"title": "string",
"status": 400,
"detail": "string"
}application/problem+json
title*ErforderlichstringA short, human-readable summary.status*Erforderlichintegermin 400max 599detailstring | null
{
"title": "string",
"status": 400,
"detail": "string"
}Anfrage senden
curl 'https://api.example.org/v3/consignments' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer demo-token' \
-H 'X-Request-Id: 00000000-0000-4000-8000-000000000000' \
-d '{
"reference": "HB-1042",
"status": "booked"
}'