cartDiscountCodesUpdate - storefront - MUTATION
Version: unstable
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.
-
warnings:
CartWarning!
A list of warnings that occurred during the mutation.
Examples