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
27categories: [CategoryInput!]
28
29folders: [FolderInput!]
30
31# Available only for vouchers assigned to wholesale stores
32#
33# Exactly one input field should be provided
34deliveryWindows: [DeliveryWindowInput!]
35
36productsNotDiscounted: VoucherActionCriteriaDiscountedType
37
38productInSale: Boolean
39
40productInNews: Boolean
41
42# Only false or null
43productsAffectedByOtherVoucher: Boolean
44
45cheapestProducts: Int
46
47costliestProducts: Int
48}