Schema Documentation
removeItemsFromCart
Description
The payload for the removeItemsFromCart mutation
Response
Returns a
RemoveItemsFromCartPayload
Arguments
Name | Description |
---|---|
input -
RemoveItemsFromCartInput! | Input for the removeItemsFromCart mutation |
Example
Query
mutation removeItemsFromCart($input: RemoveItemsFromCartInput!){
removeItemsFromCart(input: $input){
cart {
...CartFragment
}cartItems {
...CartItemFragment
}clientMutationId
}
}
Variables
{"input":RemoveItemsFromCartInput}
Response
{"data":{"removeItemsFromCart":{"cart":Cart,"cartItems":[CartItem],"clientMutationId":"abc123"}}}