MobileUpdateCartItemInput
Changes an item in the cart.
input MobileUpdateCartItemInput {
acceptAlternativeIfUnavailable: Boolean
customFields: JSON
itemId: ID!
quantity: Int!
}
Fields
MobileUpdateCartItemInput.acceptAlternativeIfUnavailable ● Boolean scalar
True when the buyer allows a substitute if the item becomes unavailable.
MobileUpdateCartItemInput.customFields ● JSON scalar
Values for the organization's own fields on this cart line, keyed by field key (see customerCustomFieldDefinitions). Left out, the line keeps its values; a new line takes the defaults.
MobileUpdateCartItemInput.itemId ● ID! non-null scalar
The ID of the cart item.
MobileUpdateCartItemInput.quantity ● Int! non-null scalar
The new quantity. 0 removes the line.
Member Of
MobileApplyCartChangesInput input ● mobileUpdateCartItem mutation