INPUT_OBJECT

DiscountUpdateInput

link GraphQL Schema definition

1input DiscountUpdateInput {
2
3name: String
4
5status: Status
6
7startAt: String
8
9stopAt: String
10
11method: DiscountMethod
12
13# Accepted only for CODE method. If not provided, will be auto-generated.
14code: String
15
16# Required only for URL method.
17url: String
18
19priority: Int
20
21# Pass 0 to mark as unlimited, greater than 0 otherwise
22maxUsages: Int
23
24combineWithOtherDiscounts: Boolean
25
26reuse: Boolean
27
28type: DiscountType
29
30entryPointStrategy: DiscountEntryPointStrategy
31
32conversionHTML: String
33
34addMarkets: [MarketInput!]
35
36removeMarkets: [MarketInput!]
37}

link Required by