CheckoutAddPromoCode Object
Adds a gift card or a voucher to a checkout.
Triggers the following webhook events:
- CHECKOUT_UPDATED (async): A checkout was updated.
type CheckoutAddPromoCode {
checkout: Checkout
checkoutErrors: [CheckoutError!]! @deprecated
errors: [CheckoutError!]!
}
Fields
checkout ● Checkout
The checkout with the added gift card or voucher.
errors ● [CheckoutError!]!
Show deprecated
Returned By
checkoutAddPromoCode mutation