OBJECT

Subvoucher

link GraphQL Schema definition

1type Subvoucher {
2id: Int!
3
4# Required permission: Voucher:read
5#
6# Store restrictions apply.
7voucher: Voucher!
8
9# Arguments
10# format: ISO-8601
11startAt(format: String = "Y-m-d\\TH:i:sP"): DateTimeTz
12
13# Arguments
14# format: ISO-8601
15stopAt(format: String = "Y-m-d\\TH:i:sP"): DateTimeTz
16
17code: String
18
19url: String
20
21# Required permission: Voucher.email:read
22email: String
23
24domain: String
25
26successfulUsages: Int!
27
28# All elements are always returned
29#
30# Arguments
31# where: (self-explanatory)
32reusableValues(where: VoucherReuseValueFilter): [VoucherReusableValue!]!
33
34# Required permission: Order:read
35#
36# Limit must be in range 1 - 200
37#
38# Arguments
39# where: (self-explanatory)
40# sort: (self-explanatory)
41# limit: (self-explanatory)
42# page: (self-explanatory)
43usages(where: AppliedVoucherFilter, sort: [AppliedVoucherSort!] = [orderId_ASC, voucherId_ASC, voucherActionResultId_ASC], limit: Int = 20, page: Int = 1): [AppliedVoucher!]!
44
45}