Kommende Version
Sie lesen die Dokumentation einer kommenden Version. Dokumentation und Funktionen können sich noch ändern.
Diese Seite ist noch nicht in deiner Sprache verfügbar
Du liest sie auf English (UK).
A consignment changed
post
consignmentChangedWebhook
Sent to the address registered for your account whenever a consignment you can see changes. Answer with any 2xx.
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.
Anfragekörper
application/json
objectConsignmentOne consignment, as the API sees it.
idstringNur lesbarreference*ErforderlichstringMindestlänge 1Höchstlänge 120status*ErforderlichstringConsignmentStatusbooked | loading | sailing | landed | cancelledWhere a consignment has got to.createdAtstringNur lesbarparentanyConsignmentVerweist auf sich selbst; oben ausgeklappt.tagsarray<string>eindeutigJedes Element
stringmetadataobjectJede weitere Eigenschaft
string
json
{
"reference": "string",
"status": "booked",
"parent": null,
"tags": [
"string"
],
"metadata": {}
}Antworten
200
Acknowledged.Kein Inhalt.
Anfrage senden
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'