Version obsolète
Vous consultez la documentation de v2.x, obsolète et qui n’est plus mise à jour. Envisagez de passer à v3.x. Aller à v3.x
Cette page n’est pas encore disponible dans votre langue
Vous la lisez en English (UK).
Read a consignment
GET /consignments/{consignmentId}
get
/consignments/{consignmentId}getConsignment
Autorisation
L’un de ceux-ci suffit
apiKeyapiKey · X-Api-Key · En-têteA key from the account page.
L’un de ceux-ci suffit
bearerhttp · bearerA token obtained from the authorisation server.
Paramètres
Chemin
consignmentId*ObligatoirestringThe consignment's own identifier.
Réponses
200
The consignment.application/json
objectConsignmentConsignmentOne consignment, as 2.x sees it.
id*ObligatoirestringLecture seulereference*Obligatoirestringlongueur min 1longueur max 120Called `label` in 1.x.status*Obligatoirestringbooked | sailing | landedCalled `state` in 1.x. `cancelled` is new in 3.x.createdAtstringLecture seule
json
{
"id": "00000000-0000-4000-8000-000000000000",
"reference": "string",
"status": "booked",
"createdAt": "2026-01-01T09:00:00Z"
}404
Something went wrong, described the same way every time.application/problem+json
objectProblem
title*Obligatoirestringstatus*Obligatoireintegermin 400max 599
json
{
"title": "string",
"status": 400
}Envoyer une requête
curl 'https://api.example.org/v2/consignments?limit=20&cursor=string'