Skip to main content
Version: 3.x

CheckoutRemovePromoCode

Remove a gift card or a voucher from a checkout.

Triggers the following webhook events:

  • CHECKOUT_UPDATED (async): A checkout was updated.
type CheckoutRemovePromoCode {
checkout: Checkout
checkoutErrors: [CheckoutError!]! @deprecated
errors: [CheckoutError!]!
}

Fields

CheckoutRemovePromoCode.checkout ● Checkout object

The checkout with the removed gift card or voucher.

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

DEPRECATED

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

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

Returned by

checkoutRemovePromoCode mutation


Was this page helpful?