checkoutAddPromoCode
Adds a gift card or a voucher to a checkout.
checkoutAddPromoCode(
checkoutId: ID
id: ID
promoCode: String!
token: UUID
): CheckoutAddPromoCode
Arguments
checkoutAddPromoCode.checkoutId ● ID scalar
The ID of the checkout.
DEPRECATED: this field will be removed in Saleor 4.0. Use
idinstead.
checkoutAddPromoCode.id ● ID scalar
The checkout's ID.
Added in Saleor 3.4
checkoutAddPromoCode.promoCode ● String! non-null scalar
Gift card code or voucher code.
checkoutAddPromoCode.token ● UUID scalar
Checkout token.
DEPRECATED: this field will be removed in Saleor 4.0. Use
idinstead.
Type
CheckoutAddPromoCode object
Adds a gift card or a voucher to a checkout.
Was this page helpful?