OBJECT

CampaignVariant

link GraphQL Schema definition

1type CampaignVariant {
2id: Int!
3
4discountPercent: Float
5
6fixedPrice: MonetaryValue
7
8type: CampaignVariantType!
9
10# Arguments
11# format: ISO-8601
12createdAt(format: String = "Y-m-d\\TH:i:sP"): String!
13
14# Arguments
15# format: ISO-8601
16startAt(format: String = "Y-m-d\\TH:i:sP"): String!
17
18# Arguments
19# format: ISO-8601
20stopAt(format: String = "Y-m-d\\TH:i:sP"): String!
21
22status: Status!
23
24showSale: Boolean!
25
26showNews: Boolean!
27
28# Required permission: Campaign:read
29#
30# Store restrictions apply.
31campaign: Campaign!
32
33# Required permission: ProductVariant:read
34productVariant: ProductVariant!
35
36}