Magidoc

checkoutAddPromoCode
Mutation

Adds a gift card or a voucher to a checkout.

Arguments

#

checkoutId

ID !
Non-null

Checkout ID.

promoCode

Non-null

Gift card code or voucher code.

Response

#

Returns CheckoutAddPromoCode .

Example

#