Skip to main content
Version: Canary 🚧


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!]!


CheckoutAddPromoCode.checkout ● Checkout object

The checkout with the added gift card or voucher.

CheckoutAddPromoCode.checkoutErrors ● [CheckoutError!]! deprecated non-null object


This field will be removed in Saleor 4.0. Use errors field instead.

CheckoutAddPromoCode.errors ● [CheckoutError!]! non-null object

Returned by

checkoutAddPromoCode mutation

Was this page helpful?