INPUT_OBJECT

VoucherActionCriteriaCreateInput

link GraphQL Schema definition

1input VoucherActionCriteriaCreateInput {
2
3# Only true or null
4always: Boolean
5
6productQuantity: VoucherActionCriteriaComparableQuantityInput
7
8orderQuantity: VoucherActionCriteriaComparableQuantityInput
9
10productValue: VoucherActionCriteriaValueInput
11
12orderValue: VoucherActionCriteriaValueInput
13
14xOfY: VoucherActionCriteriaXOfYInput
15
16# Only true or null
17oncePerCustomer: Boolean
18
19newCustomer: VoucherActionCriteriaNewCustomerInput
20
21# Only true or null
22loggedInCustomer: Boolean
23
24# Exactly one input field should be provided
25productVariants: [ProductVariantInput!]
26
27# Exactly one input field should be provided
28excludeProductVariants: [ProductVariantInput!]
29
30categories: [CategoryInput!]
31
32excludeCategories: [CategoryInput!]
33
34folders: [FolderInput!]
35
36excludeFolders: [FolderInput!]
37
38# Available only for vouchers assigned to wholesale stores
39#
40# Exactly one input field should be provided
41deliveryWindows: [DeliveryWindowInput!]
42
43# Available only for vouchers assigned to wholesale stores
44#
45# Exactly one input field should be provided
46excludeDeliveryWindows: [DeliveryWindowInput!]
47
48productsNotDiscounted: VoucherActionCriteriaDiscountedType
49
50productInSale: Boolean
51
52productInNews: Boolean
53
54# Only false or null
55productsAffectedByOtherVoucher: Boolean
56
57cheapestProducts: Int
58
59costliestProducts: Int
60}