OBJECT

Return

link GraphQL Schema definition

1type Return {
2id: Int!
3
4status: Status!
5
6# Arguments
7# format: ISO-8601
8createdAt(format: String = "Y-m-d\\TH:i:sP"): String!
9
10totalQuantity: Int!
11
12# Arguments
13# includingTax: (self-explanatory)
14grandTotal(includingTax: Boolean = true): MonetaryValue!
15
16returnedToStock: Boolean!
17
18# Required permission: Return.comment:read
19comment: String
20
21createdFrom: String
22
23# Required permission: Account:read
24#
25# Store restrictions apply.
26account: Account
27
28# Required permission: AdminUser:read
29adminUser: AdminUser
30
31# Required permission: Order:read
32#
33# All elements are always returned
34discountsApplied: [OrderDiscount!]!
35
36# Required permission: none
37#
38# All elements are always returned
39lines: [ReturnLine!]!
40
41# Required permission: Order:read
42#
43# Store restrictions apply.
44order: Order!
45
46# Required permission: Purchaser:read
47purchaser: Purchaser!
48
49# Required permission: Warehouse:read
50returnWarehouse: Warehouse
51
52# Required permission: Shipment:read
53#
54# Store restrictions apply.
55shipment: Shipment!
56
57# Required permission: Store:read
58#
59# Store restrictions apply.
60store: Store!
61
62# Required permission: Return:read
63totals: ReturnTotals!
64
65}