Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

checkoutRemovePromoCode Mutation

Remove a gift card or a voucher from a checkout.

Triggers the following webhook events:

  • CHECKOUT_UPDATED (async): A checkout was updated.

Applied directives

@webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: [])
checkoutRemovePromoCode(checkoutId: ID, id: ID, promoCode: String, promoCodeId: ID, token: UUID): CheckoutRemovePromoCode

Returns

CheckoutRemovePromoCode

Show return type
type CheckoutRemovePromoCode {
  checkout: Checkout
  checkoutErrors: [CheckoutError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [CheckoutError!]!
}

Arguments

checkoutId

checkoutId · ID

The ID of the checkout.

id

id · ID

The checkout’s ID.

promoCode

promoCode · String

Gift card code or voucher code.

promoCodeId

promoCodeId · ID

Gift card or voucher ID.

token

token · UUID

Checkout token.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?