checkoutRemovePromoCode
Remove a gift card or a voucher from a checkout.
Triggers the following webhook events:
- CHECKOUT_UPDATED (async): A checkout was updated.
checkoutRemovePromoCode(
checkoutId: ID
id: ID
promoCode: String
promoCodeId: ID
token: UUID
): CheckoutRemovePromoCode
Arguments
checkoutRemovePromoCode.checkoutId ● ID scalar miscellaneous
The ID of the checkout.
DEPRECATED: this field will be removed in Saleor 4.0. Use
idinstead.
checkoutRemovePromoCode.id ● ID scalar miscellaneous
The checkout's ID.
Added in Saleor 3.4
checkoutRemovePromoCode.promoCode ● String scalar miscellaneous
Gift card code or voucher code.
checkoutRemovePromoCode.promoCodeId ● ID scalar miscellaneous
Gift card or voucher ID.
checkoutRemovePromoCode.token ● UUID scalar miscellaneous
Checkout token.
DEPRECATED: this field will be removed in Saleor 4.0. Use
idinstead.
Type
CheckoutRemovePromoCode object checkout
Remove a gift card or a voucher from a checkout.
Triggers the following webhook events:
- CHECKOUT_UPDATED (async): A checkout was updated.