Zum Inhalt springen
duxt
Diese Seite ist noch nicht in deiner Sprache verfügbar
Du liest sie auf English (UK).

List consignments

get
/consignments

listConsignments

Returns a page of consignments, newest first.

Paging is by cursor; the value comes from the previous response's next field and is opaque.

Autorisierung

  • Eines davon genügt

    • apiKeyapiKey · X-Api-Key · Kopfzeile

      A key from the account page.

  • Eines davon genügt

    • bearerhttp · bearer

      A token obtained from the authorisation server.

Parameter

Abfrage

  • limitintegermin 1max 100

    How many consignments to return.

  • cursorstring

    Where to continue from.

  • statusarray<string>eindeutig

    Jedes Element

    stringConsignmentStatusbooked | loading | sailing | landed | cancelledWhere a consignment has got to.

    Only consignments in these states.

    style=form explode=false
  • sessionstring

    The same session, for callers that cannot set the cookie — a page cannot, because `Cookie` is a header the browser refuses to let a script write. Deliberately the same *name* in a second location: OpenAPI identifies a parameter by the pair `(name, in)`, so these are two parameters, and a reference that keyed its try-it form on the name alone would send one box's answer to both.

Kopfzeile

  • X-Request-Idstring

    An identifier echoed back on every response.

Cookie

  • sessionstring

    An optional session, for a personalised order.

Antworten

200
A page of consignments.

Kopfzeilen

  • X-Request-Id*Erforderlichstring
object
  • items*Erforderlicharray<object>7

    Jedes Element

    objectConsignmentOne consignment, as the API sees it.
    • id*ErforderlichstringNur lesbar
    • reference*ErforderlichstringMindestlänge 1Höchstlänge 120
    • status*ErforderlichstringConsignmentStatusbooked | loading | sailing | landed | cancelledWhere a consignment has got to.
    • createdAtstringNur lesbar
    • parentanyConsignmentVerweist auf sich selbst; oben ausgeklappt.
    • tagsarray<string>eindeutig

      Jedes Element

      string
    • metadataobject

      Jede weitere Eigenschaft

      string
  • nextstring | nullThe cursor for the following page, if any.
json
{
  "items": [
    {
      "id": "00000000-0000-4000-8000-000000000000",
      "reference": "string",
      "status": "booked",
      "createdAt": "2026-01-01T09:00:00Z",
      "parent": null,
      "tags": [
        "string"
      ],
      "metadata": {}
    }
  ],
  "next": "string"
}

Was als Nächstes möglich ist

  • NextPagelistConsignments

    The same call again, with `cursor` set from `next`.

400
Something went wrong, described the same way every time.

application/problem+json

objectProblem
  • title*ErforderlichstringA short, human-readable summary.
  • status*Erforderlichintegermin 400max 599
  • detailstring | null
json
{
  "title": "string",
  "status": 400,
  "detail": "string"
}
default
Something went wrong, described the same way every time.

application/problem+json

objectProblem
  • title*ErforderlichstringA short, human-readable summary.
  • status*Erforderlichintegermin 400max 599
  • detailstring | null
json
{
  "title": "string",
  "status": 400,
  "detail": "string"
}

Anfrage senden

Authentifizierung

Was Sie hier eingeben, bleibt in diesem Tab, wird nicht gespeichert und geht nur an den gewählten Server.

Parameter

session

Ihr Browser lässt eine Seite keinen Cookie setzen, daher kann dies von hier nicht gesendet werden.

Die Anfrage sendet Ihr Browser direkt an diesen Server.

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"
}'