Skip to main content

UpdateMobileOrderItemsInput

Buyer 'edit items': the FULL list of lines to keep, with their new quantities. Lines not listed are removed; lines not already on the order are refused (v1 does not add products). No prices — the server re-prices every line.

input UpdateMobileOrderItemsInput {
expectedVersion: Int
lines: [MobileOrderLineQuantityInput!]!
orderId: ID!
}

Fields​

UpdateMobileOrderItemsInput.expectedVersion ● Int scalar​

MobileOrder.amendment.version as read — a stale value is rejected.

UpdateMobileOrderItemsInput.lines ● [MobileOrderLineQuantityInput!]! non-null input​

The new quantities of the order lines.

UpdateMobileOrderItemsInput.orderId ● ID! non-null scalar​

The ID of the order.

Member Of​

updateMobileOrderItems mutation