checkoutRemovePromoCode Mutation
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
Show return type
Arguments
id ● ID
The checkout's ID.
promoCode ● String
Gift card code or voucher code.
promoCodeId ● ID
Gift card or voucher ID.
Show deprecated
Type
CheckoutRemovePromoCode
Remove a gift card or a voucher from a checkout.
Triggers the following webhook events:
- CHECKOUT_UPDATED (async): A checkout was updated.