Input objects
DeletePurchaseOrderLineItemCommandRequestInput
Removes one position from an existing purchase order. A hard delete, not a flag. The order must be Open or Released, and the position must not have been delivered — the underlying procedure enforces neither, so both are guarded here. Deleting the last remaining position is rejected: an order without positions is not a valid document. Returns the full re-queried order, so the caller sees the recalculated result. - Request
input
DeletePurchaseOrderLineItemCommandRequestInputFields
purchaseOrderId
ID!
required
ID of the purchase order the position belongs to.
lineItemId
ID!
required
ID of the position to remove. It must belong to the order named in the route; a position of another order is rejected exactly like an unknown one.
disableAutomaticWorkflows
Boolean
Indicates whether automatic workflows should be suppressed for this write. Defaults to false when omitted.
Was this page helpful?