Mutations
removeCart
Removes an existing shopping cart based on the provided cart ID. It allows users to remove a cart that is no longer needed or relevant.
This mutation has been deprecated. It is a no-op, and the cart specified by input.id
will not actually be deleted.
Arguments
input
required
The input
object contains the unique identifier (ID
) for the cart that needs to be deleted.
Returns
DeletedCart.deletedId
The unique identifier (ID
) of the deleted cart.
Example - request
Query arguments
GraphQL
Example - response
Response
Errors
If the cart is not found then a corresponding error is returned
JSON
Was this page helpful?