Skip to main content
Version: 3.x

checkoutRemovePromoCode

Remove a gift card or a voucher from a checkout.

checkoutRemovePromoCode(
checkoutId: ID
id: ID
promoCode: String
promoCodeId: ID
token: UUID
): CheckoutRemovePromoCode

Arguments

checkoutId (ID)

The ID of the checkout.

DEPRECATED: this field will be removed in Saleor 4.0. Use id instead.

id (ID)

The checkout's ID.

Added in Saleor 3.4.

promoCode (String)

Gift card code or voucher code.

promoCodeId (ID)

Gift card or voucher ID.

token (UUID)

Checkout token.

DEPRECATED: this field will be removed in Saleor 4.0. Use id instead.

Type

CheckoutRemovePromoCode

Remove a gift card or a voucher from a checkout.