Skip to main content
inputSplitSalesOrderCommandRequestInput

Fields

salesOrderId
ID!
required

The ID of the sales order. An unknown ID fails with SalesOrderNotFound.

The lines to move; omitted moves every splittable remainder. Moving all lines at once fails with AllLineItemsSelected.

disableAutomaticWorkflows
Boolean

Suppresses the automatic workflow triggers of this call. Defaults to false when omitted.

copyShippingLineItem
Boolean

Whether the new sales order also gets the shipping cost line. 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.