Open Inventory / Docs
EndpunkteOrdersOrdersOrderid

Update common order fields or change lifecycle state

Die API läuft auf deiner Anwendungsinstanz. Schemas und Feldnamen stammen unverändert aus der OpenAPI-Spezifikation. Browsergebundene Aufrufe benötigen eine Sitzung auf der Instanz.

PATCH
/orders/{orderId}

Authentifizierung

bearerAuth
headerAuthentifizierungBearer <inv_ token>

Pfadparameter

orderId*string
Formatuuid

Header-Parameter

X-Organization-ID?string

Organization membership selected for this request. User-bound credentials may select any active membership; standalone tokens may only repeat their pinned organization ID.

Formatuuid

Anfrageinhalt

application/json
  1. body
Eigenschaften1 <= properties
contactId?string
Formatuuid
reference?|
Längelength <= 160
status?OrderStatus
Mögliche Werte"draft""ordered""partially-received""received""confirmed""partially-fulfilled""fulfilled""reserved""partially-issued""issued""partially-returned""returned""overdue""cancelled"
orderedAt?string
Formatdate-time
expectedAt?|
Formatdate-time
note?string
Längelength <= 20000

Antwortinhalt

Order updated

Beispielanfrage
curl -X PATCH 'https://inventory.example.com/api/v1/orders/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{}'
Beispielantwort
Leer