cartDelete
Permanently delete a shopping cart.
Removes the cart and all associated data including items, addresses, and preferences. This action cannot be undone and will invalidate any references to the cart.
Possible errors:
- CART_NOT_FOUND_ERROR: Cart with the specified ID does not exist
- CART_DELETE_ERROR: Failed to delete the cart
- CART_INVALID_OWNER_ERROR: Insufficient permissions to delete this cart
cartDelete(
id: String!
): Boolean!
Arguments
cartDelete.id
● String!
non-null scalar
Unique identifier of the cart to delete.
Must be a valid UUID format representing an existing cart.
Type
Boolean
scalar
The Boolean
scalar type represents true
or false
.