Mutations
updateCartItems
Updates the quantity of existing products in a cart. This mutation resets selected shipping method of updated stores, and user will need to select shipping method again.
Arguments
The input
object contains the unique identifier (ID
) for the cart and the items with their quantities that need to be updated.
Set to false
by default.
If set to true
, the buyerIdentity
field will be fetched in the response.
Set to true
by default.
If set to true
, the cartLines
field will be fetched in the response.
Set to true
by default.
If set to true
, the offers
field will be fetched in the response.
Set to false
by default.
If set to true
, the shippingMethods
field will be fetched in the response.
Returns
Any requested field from the CartResponse
object.
Usage
Was this page helpful?