Skip to main content
inputUpdatePurchaseOrderCommandRequestInput

Fields

purchaseOrderId
ID!
required

ID of the purchase order to patch.

internalComment
String

Internal comment on the order, not communicated to the supplier. Editable in every status including Completed (annotations tier).

externalOrderNumber
String

The buyer's own external reference for this order (free text, at most 255 characters). Editable in every status (annotations tier). Not the order's own number, which the server assigns and which this API never lets a client change.

referenceOrderNumber
String

The reference order number — the "Zugehörige Auftragsnummer" field, free text, at most 255 characters. Editable in every status (annotations tier).

requestedDeliveryDate
DateTime

The delivery date requested from the supplier. Editable in every status (annotations tier) — unlike a LINE ITEM's delivery date, the header date drives no stock posting of its own.

isConfirmed
Boolean

Whether the order as a whole is confirmed. Editable in every status except Completed (confirmations tier), and bidirectional — an explicit false is a valid reset. An independent flag, never derived from the line items' own confirmation flags; only a genuine false-to-true change raises the confirmation event.

The status to transition the order into. Omit to leave the status untouched; setting the status the order already has is an accepted no-op. Permitted transitions are Open to Released, Open to InProgress, Released to InProgress, Released to Completed, InProgress to Completed, PartiallyDelivered to Completed and Overdue to Completed. Anything else is rejected with PURCHASE_ORDER_INVALID_STATUS_TRANSITION — in particular Open to Completed, any transition back to Released, and any transition out of Completed.

disableAutomaticWorkflows
Boolean

Indicates whether automatic workflows should be suppressed for this update. Defaults to false when omitted.

idempotencyKey
String

Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.