cartRemoveActionCode
Remove a promotional action code from the cart.
Removes a previously applied discount code or promotional offer from the cart, reverting any pricing changes or special conditions that were applied.
Possible errors:
- CART_NOT_FOUND_ERROR: Cart with the specified ID does not exist
- CART_ACTION_CODE_REMOVE_ERROR: Failed to remove the action code
cartRemoveActionCode(
id: String!
input: CartActionCodeInput!
): Cart!
Arguments
cartRemoveActionCode.id
● String!
non-null scalar
Unique identifier of the cart to remove action code from.
Must be a valid UUID format representing an existing cart.
cartRemoveActionCode.input
● CartActionCodeInput!
non-null input
Action code removal data.
Contains the action code identifier to be removed from the cart.
Type
Cart
object
Shopping cart entity for managing customer purchases.
Represents a shopping session containing products, customer information, addresses, payment preferences, and all data needed for order processing. Carts can be associated with different customer types and support various business models.