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"): Date!
16
17# Arguments
18# format: (self-explanatory)
19endDate(format: String = "Y-m-d"): Date
20
21# Delivery windows affected by this price alteration
22#
23# Required permission: DeliveryWindow:read
24#
25# All elements are always returned
26#
27# Store restrictions apply.
28deliveryWindows: [DeliveryWindow!]!
29
30# Required permission: Price:read
31#
32# Limit must be in range 1 - 200
33#
34# Store restrictions apply.
35#
36# Arguments
37# where: (self-explanatory)
38# sort: (self-explanatory)
39# limit: (self-explanatory)
40# page: (self-explanatory)
41prices(where: PriceFilter, sort: [PriceSort!] = [productId_ASC, productVariantId_ASC], limit: Int! = 20, page: Int): [Price!]!
42
43}