cartDiscountCodesUpdate
Replace (not merge) the list of discount codes on the cart. Pass an empty array to clear all codes. Rate-limited to 10 requests per minute per IP+shop.
cartDiscountCodesUpdate(
discountCodes: [String!]!
id: ID!
): CartDiscountCodesUpdatePayload!
Arguments
cartDiscountCodesUpdate.discountCodes ● [String!]! non-null scalar
Full replacement list of discount codes (case-insensitive); empty array clears all
cartDiscountCodesUpdate.id ● ID! non-null scalar
Cart UUID to apply discount codes to
Type
CartDiscountCodesUpdatePayload object
Result of cartDiscountCodesUpdate.