Kommende Version
Sie lesen die Dokumentation einer kommenden Version. Dokumentation und Funktionen können sich noch ändern.
Diese Seite ist noch nicht in deiner Sprache verfügbar
Du liest sie auf English (UK).
Read a consignment
GET /consignments/{consignmentId}
get
/consignments/{consignmentId}getConsignment
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
Pfad
consignmentId*ErforderlichstringThe consignment's own identifier.
Antworten
200
The consignment.application/json
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
json
{
"id": "00000000-0000-4000-8000-000000000000",
"reference": "string",
"status": "booked",
"createdAt": "2026-01-01T09:00:00Z",
"parent": null,
"tags": [
"string"
],
"metadata": {}
}404
Something went wrong, described the same way every time.application/problem+json
objectProblem
title*ErforderlichstringA short, human-readable summary.status*Erforderlichintegermin 400max 599detailstring | null
json
{
"title": "string",
"status": 400,
"detail": "string"
}Anfrage senden
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'