Anchor to cartDiscountCodesUpdatecart
mutationcart Discount Codes Update
Updates the discount codes applied to the cart.
Anchor to Arguments
Arguments
- Anchor to cartIdcart•ID!required
Id The ID of the cart.
- Anchor to discountCodesdiscount•[String!]
Codes The case-insensitive discount codes that the customer added at checkout.
The input must not contain more than
250
values.
Was this section helpful?
- Anchor to cartcart•Cart
The updated cart.
- Anchor to userErrorsuser•[Cart
Errors User Error!]!non-null The list of errors that occurred from executing the mutation.
- Anchor to warningswarnings•[Cart
Warning!]!non-null A list of warnings that occurred during the mutation.
Was this section helpful?