Magidoc

Voucher
Object

Vouchers allow giving discounts to particular customers on categories, collections, or specific products or variants. They can be used during checkout by providing valid voucher codes.

Fields

#

applyOncePerCustomer

Non-null

applyOncePerOrder

Non-null

categories

List of categories this voucher applies to.

code

Non-null

collections

List of collections this voucher applies to.

countries

Non-null

List of countries available for the shipping voucher.

currency

Non-null

discountValue

Non-null

discountValueType

Non-null

Determines a type of discount for voucher - value or percentage

endDate

id

ID !
Non-null

The ID of the object

minCheckoutItemsQuantity

minSpent

name

products

List of products this voucher applies to.

startDate

Non-null

type

Non-null

Determines a type of voucher.

usageLimit

used

Non-null

variants

List of variants this voucher applies to.

Interfaces

#

Also implements Node .

Usages

#

References

#