OBJECT

PriceAlteration

link GraphQL Schema definition

1type PriceAlteration {
2id: Int!
3
4name: String!
5
6status: Status!
7
8# Required permission: Store:read
9#
10# Store restrictions apply.
11store: Store!
12
13# Arguments
14# format: (self-explanatory)
15startDate(format: String = "Y-m-d"): String!
16
17# Delivery windows affected by this price alteration
18#
19# Required permission: DeliveryWindow:read
20#
21# All elements are always returned
22#
23# Store restrictions apply.
24deliveryWindows: [DeliveryWindow!]!
25
26# Required permission: Price:read
27#
28# Limit must be in range 1 - 200
29#
30# Store restrictions apply.
31#
32# Arguments
33# where: (self-explanatory)
34# sort: (self-explanatory)
35# limit: (self-explanatory)
36# page: (self-explanatory)
37prices(where: PriceFilter, sort: [PriceSort!] = [productId_ASC, productVariantId_ASC], limit: Int! = 20, page: Int): [Price!]!
38
39}