Last update:
March 19, 2024
clearCart mutation¶
This mutation:
- Removes all items from the cart.
- Resets promotion rewards based on the amount of items.
- Saves the cart.
Arguments¶
The InputClearCartType
represents the arguments for the ClearCart operation.
Field | Description |
---|---|
cartId String |
The Id of the cart. |
storeId String! |
The Id of the store. |
cartName String |
The name of the cart. |
userId String! |
The Id of the user. |
currencyCode String |
The currency code for the cart. |
cultureName String |
The culture or locale name for the cart. |
cartType String |
The type or category of the cart. |
Possible returns¶
Possible return | Description |
---|---|
CartType |
The properties and fields associated with a shopping cart. |