OBJECT

CheckoutUpdateVoucher

DEPRECATED: Will be removed in Saleor 2.10, use CheckoutAddPromoCode or CheckoutRemovePromoCode instead. Adds voucher to the checkout. Query it without voucher_code field to remove voucher from checkout.

link GraphQL Schema definition

  • type CheckoutUpdateVoucher {
  • # List of errors that occurred executing the mutation.
  • errors: [Error!]
  • # An checkout with updated voucher.
  • checkout: Checkout
  • checkoutErrors: [CheckoutError!]
  • }

link Require by