Version à venir
Vous consultez la documentation d’une version à venir. Sa documentation et ses fonctionnalités peuvent encore changer.
Cette page n’est pas encore disponible dans votre langue
Vous la lisez en English (UK).
Book a demo consignment
post
/echoechoConsignment
Takes a consignment and hands it back with an id and a timestamp,
exactly as POST /consignments would, except that this one is
answered, by this site.
Nothing is stored and nothing is checked beyond the token being present: it exists so the client on the landing page can be pressed.
Autorisation
bearerhttp · bearerA token obtained from the authorisation server.
Corps de la requête Obligatoire
The consignment to echo.
application/json
object
reference*ObligatoirestringWhat to call it.modestringsea | airHow it travels.
json
{
"reference": "HB-1042",
"mode": "sea"
}Réponses
201
The consignment, as it would have been stored.application/json
object
idstringreferencestringmodestringsea | aircreatedAtstring
json
{
"id": "00000000-0000-4000-8000-000000000000",
"reference": "string",
"mode": "sea",
"createdAt": "2026-01-01T09:00:00Z"
}401
No bearer token was sent.application/json
objectProblem
title*ObligatoirestringA short, human-readable summary.status*Obligatoireintegermin 400max 599detailstring | null
json
{
"title": "string",
"status": 400,
"detail": "string"
}Envoyer une requête
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'