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# Required permission: Order:read
29#
30# Limit must be in range 1 - 200
31#
32# Arguments
33# where: (self-explanatory)
34# sort: (self-explanatory)
35# limit: (self-explanatory)
36# page: (self-explanatory)
37usages(where: AppliedVoucherFilter, sort: [AppliedVoucherSort!] = [orderId_ASC, voucherId_ASC, voucherActionResultId_ASC], limit: Int = 20, page: Int = 1): [AppliedVoucher!]!
38
39}