cartDiscountCodesUpdate - storefront - MUTATION
Version: 2024-01
Description:
Updates the discount codes applied to the cart.
Access Scopes
Arguments
-
cartId:
ID! -
The ID of the cart.
-
discountCodes:
String -
The case-insensitive discount codes that the customer added at checkout.
The input must not contain more than `250` values.
Returns
-
cart:
Cart
The updated cart.
-
userErrors:
CartUserError!
The list of errors that occurred from executing the mutation.
Examples