OBJECT

GiftCertificateGenerator

link GraphQL Schema definition

1type GiftCertificateGenerator implements Localizable {
2id: Int!
3
4name: String!
5
6status: Status!
7
8type: GiftCertificateType!
9
10onlyInCurrencyOfSale: Boolean!
11
12showGiftValue: Boolean!
13
14# Will be empty for DYNAMIC_PRICE_OFF
15#
16# All elements are always returned
17values: [MonetaryValue!]!
18
19# Required permission: Localization:read
20#
21# All elements are always returned
22#
23# Arguments
24# where: (self-explanatory)
25localized(where: LocalizationFilter): [Localization!]!
26
27# Required permission: Store:read
28#
29# Store restrictions apply.
30store: Store!
31
32# Required permission: Discount:read
33#
34# Limit must be in range 1 - 200
35#
36# Store restrictions apply.
37#
38# Arguments
39# where: (self-explanatory)
40# sort: (self-explanatory)
41# limit: (self-explanatory)
42# page: (self-explanatory)
43discounts(where: DiscountFilter, sort: [DiscountSort], limit: Int = 20, page: Int = 1): [Discount!]!
44
45}