CheckoutAddPromoCode Object
Adds a gift card or a voucher to a checkout.
Triggers the following webhook events:
- CHECKOUT_UPDATED (async): A checkout was updated.
type CheckoutAddPromoCode {
checkout: Checkout
checkoutErrors: [CheckoutError!]! @deprecated
errors: [CheckoutError!]!
}
Fields
CheckoutAddPromoCode.checkout
● Checkout
object checkout
The checkout with the added gift card or voucher.
CheckoutAddPromoCode.checkoutErrors
● [CheckoutError!]!
deprecated non-null object checkout
DEPRECATED
This field will be removed in Saleor 4.0. Use errors
field instead.
CheckoutAddPromoCode.errors
● [CheckoutError!]!
non-null object checkout
Returned By
checkoutAddPromoCode
mutation