Skip to main content

CheckoutRemovePromoCode Object

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​

checkout ● Checkout​

The checkout with the removed gift card or voucher.

errors ● [CheckoutError!]!​

Show deprecatedHide deprecated

checkoutErrors ● [CheckoutError!]!​

DEPRECATED

Use errors field instead.

Returned By​

checkoutRemovePromoCode mutation