Cette page n’est pas encore disponible dans votre langue
Vous la lisez en English (UK).
Cancel a consignment
delete
/consignments/{consignmentId}Obsolète
cancelConsignment
Deprecated. Use the batch endpoint, which takes the same identifiers and reports what it could not do.
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*Obligatoirestring
Réponses
204
Gone.Aucun corps.
Envoyer une requête
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"
}'