CheckoutAddPromoCode
Adds a gift card or a voucher to a checkout.
type CheckoutAddPromoCode {
checkout: Checkout
checkoutErrors: [CheckoutError!]! @deprecated
errors: [CheckoutError!]!
}
Fields
CheckoutAddPromoCode.checkout ● Checkout object
The checkout with the added gift card or voucher.
CheckoutAddPromoCode.checkoutErrors ● [CheckoutError!]! deprecated non-null object
DEPRECATEDThis field will be removed in Saleor 4.0. Use
errorsfield instead.
CheckoutAddPromoCode.errors ● [CheckoutError!]! non-null object
Returned by
checkoutAddPromoCode mutation
Was this page helpful?