INPUT_OBJECT

CampaignVariantSetInput

link GraphQL Schema definition

1input CampaignVariantSetInput {
2
3# Exactly one input field should be provided
4productVariant: ProductVariantInput!
5
6# Depending on `type` value, either `discountPercent` or `fixedPrice` is required.
7type: CampaignVariantType!
8
9discountPercent: Float
10
11fixedPrice: MonetaryValueInput
12
13startAt: DateTimeTz!
14
15stopAt: DateTimeTz!
16
17showSale: Boolean!
18
19showNews: Boolean!
20}