Skip to main content

updateMobileOrderItems

Requires a customer (portal or buyer app) session.

Buyer 'edit items' (ruling A, 2026-09-11): change quantities / remove lines on the buyer's own order while it is DRAFT, AWAITING_PAYMENT or CONFIRMED, unpaid and uninvoiced, and carries no negotiated (quote / rep) line price. Sends NO prices — every line is re-priced by the pricing authority, re-taxed and re-allocated through the canonical updateSalesOrder path. View-only roles are refused. Returns the refreshed order with fresh amendment flags.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation UpdateMobileOrderItems($input: UpdateMobileOrderItemsInput!) {
updateMobileOrderItems(input: $input) {
id
orderNumber
paymentNumber
salesRepName
status
addressId
amendment {
canChangeAddress
canChangePaymentMethod
canEditItems
lockReason
paymentMethodLockReason
version
}
}
}

Variables:

{
"input": {
"lines": [
{
"quantity": 0,
"variantId": "id"
}
],
"orderId": "id"
}
}

Response:

{
"data": {
"updateMobileOrderItems": {
"id": "id",
"orderNumber": "string",
"paymentNumber": "string",
"salesRepName": "string",
"status": "AWAITING_PAYMENT",
"addressId": "id",
"amendment": {
"canChangeAddress": true,
"canChangePaymentMethod": true,
"canEditItems": true,
"lockReason": "string",
"paymentMethodLockReason": "string",
"version": 0
}
}
}
}
updateMobileOrderItems(
input: UpdateMobileOrderItemsInput!
): MobileOrder!

Arguments​

updateMobileOrderItems.input ● UpdateMobileOrderItemsInput! non-null input​

The fields of the mobile order items to change.

Type​

MobileOrder object​

Order placed via the mobile BFF. v1 is COD only; persisted in Redis until SalesOrder wiring lands.