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).
Run a batch
post
/batchesrunBatch
Takes a list of instructions and applies them in order. This endpoint needs no authentication, which is why it takes nothing destructive.
Autorisierung
Dieser Endpunkt benötigt keine Authentifizierung.
Anfragekörper Erforderlich
application/json
object
instructions*Erforderlicharray<any>min. Elemente 1max. Elemente 50Jedes Element
anyInstructionGenau eines von
- objectRelabelInstruction
op*ErforderlichanyconsignmentId*Erforderlichstringreference*Erforderlichstring
- objectRetagInstruction
op*ErforderlichanyconsignmentId*Erforderlichstringtags*Erforderlicharray<string>Jedes Element
string
Unterschieden anhand von
op
json
{
"instructions": [
{
"op": "relabel",
"consignmentId": "00000000-0000-4000-8000-000000000000",
"reference": "string"
}
]
}Antworten
200
What each instruction did.application/json
array<any>
Jedes Element
any
Genau eines von
- object
doneboolean
- objectProblem
title*ErforderlichstringA short, human-readable summary.status*Erforderlichintegermin 400max 599detailstring | null
json
[
{
"done": true
}
]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'