Skip to main content

ShortCloseSalesOrderInput

Input to close a sales order short, giving up the quantity that was never shipped.

input ShortCloseSalesOrderInput {
expectedVersion: Int
itemIds: [ID!]
reason: String!
}

Fields​

ShortCloseSalesOrderInput.expectedVersion ● Int scalar​

The version of the order you last read. The change is refused if someone else changed it since.

ShortCloseSalesOrderInput.itemIds ● [ID!] list scalar​

Close only these lines' remaining quantity. Omitted means every line.

ShortCloseSalesOrderInput.reason ● String! non-null scalar​

Why the balance will never be delivered. It is recorded on the order and audited.

Member Of​

shortCloseSalesOrder mutation