Docs
Dashboard

cartDiscountCodeAdd

Mutation

Applies a discount code to an existing cart using the given discount code.

#

Arguments


input
CartDiscountCodeAddInput!Required

The values used to perform the cart discount code add operation.

#

Payload


cart
Cart

The cart associated with this cart discount code add payload.

errors
[CartDiscountCodeAddError!]

User-facing errors that prevented the operation from succeeding.