Skip to main content

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 checkout

The checkout with the removed gift card or voucher.

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

DEPRECATED

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

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

Returned By

checkoutRemovePromoCode mutation