Open Inventory / Docs
EndpunktePurchasingPurchase ordersOrderid

Update or cancel a purchase order

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
/purchase-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
reference?|
Längelength <= 160
supplier?string
Längelength <= 240
status?string
Mögliche Werte"draft""ordered""cancelled"
orderedAt?string
Formatdate-time
expectedAt?|
Formatdate-time
note?string
Längelength <= 20000

Antwortinhalt

Purchase order updated

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