Diese Seite ist noch nicht in deiner Sprache verfügbar
Du liest sie auf English (UK).
Cancel a consignment
delete
/consignments/{consignmentId}Veraltet
cancelConsignment
Deprecated. Use the batch endpoint, which takes the same identifiers and reports what it could not do.
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*Erforderlichstring
Antworten
204
Gone.Kein Inhalt.
Anfrage senden
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"
}'