Versão futura
Você está lendo a documentação de uma versão futura. A documentação e os recursos ainda podem mudar.
Esta página ainda não está disponível no seu idioma
Você está lendo em 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.
Autorização
bearerhttp · bearerA token obtained from the authorisation server.
Corpo do pedido Obrigatório
The consignment to echo.
application/json
object
reference*ObrigatóriostringWhat to call it.modestringsea | airHow it travels.
json
{
"reference": "HB-1042",
"mode": "sea"
}Respostas
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*ObrigatóriostringA short, human-readable summary.status*Obrigatóriointegermín 400máx 599detailstring | null
json
{
"title": "string",
"status": 400,
"detail": "string"
}Enviar um pedido
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'