|
1
|
export default ` |
|
2
|
enum ChangeActionType { |
|
3
|
CANCEL_RETURN_ITEM |
|
4
|
FULFILL_ITEM |
|
5
|
CANCEL_ITEM_FULFILLMENT |
|
6
|
ITEM_ADD |
|
7
|
ITEM_REMOVE |
|
8
|
ITEM_UPDATE |
|
9
|
RECEIVE_DAMAGED_RETURN_ITEM |
|
10
|
RECEIVE_RETURN_ITEM |
|
11
|
RETURN_ITEM |
|
12
|
SHIPPING_ADD |
|
13
|
SHIPPING_REMOVE |
|
14
|
SHIP_ITEM |
|
15
|
WRITE_OFF_ITEM |
|
16
|
REINSTATE_ITEM |
|
17
|
} |
|
18
|
|
|
19
|
enum ClaimType { |
|
20
|
refund |
|
21
|
replace |
|
22
|
} |
|
23
|
|
|
24
|
enum ClaimReason { |
|
25
|
missing_item |
|
26
|
wrong_item |
|
27
|
production_failure |
|
28
|
other |
|
29
|
} |
|
30
|
|
|
31
|
type OrderSummary { |
|
32
|
id: ID! |
|
33
|
version: Int! |
|
34
|
pending_difference: Float |
|
35
|
current_order_total: Float |
|
36
|
original_order_total: Float |
|
37
|
transaction_total: Float |
|
38
|
paid_total: Float |
|
39
|
refunded_total: Float |
|
40
|
credit_line_total: Float |
|
41
|
accounting_total: Float |
|
42
|
raw_pending_difference: JSON |
|
43
|
raw_current_order_total: JSON |
|
44
|
raw_original_order_total: JSON |
|
45
|
raw_transaction_total: JSON |
|
46
|
raw_paid_total: JSON |
|
47
|
raw_refunded_total: JSON |
|
48
|
raw_credit_line_total: JSON |
|
49
|
raw_accounting_total: JSON |
|
50
|
order: Order! |
|
51
|
} |
|
52
|
|
|
53
|
type OrderShippingMethodAdjustment { |
|
54
|
id: ID! |
|
55
|
code: String |
|
56
|
amount: Float |
|
57
|
order_id: String! |
|
58
|
description: String |
|
59
|
promotion_id: String |
|
60
|
provider_id: String |
|
61
|
created_at: DateTime |
|
62
|
updated_at: DateTime |
|
63
|
shipping_method: OrderShippingMethod |
|
64
|
shipping_method_id: String! |
|
65
|
} |
|
66
|
|
|
67
|
type OrderLineItemAdjustment { |
|
68
|
id: ID! |
|
69
|
code: String |
|
70
|
amount: Float! |
|
71
|
description: String |
|
72
|
promotion_id: String |
|
73
|
provider_id: String |
|
74
|
version: Int! |
|
75
|
is_tax_inclusive: Boolean! |
|
76
|
created_at: DateTime |
|
77
|
updated_at: DateTime |
|
78
|
item: OrderLineItem! |
|
79
|
item_id: String! |
|
80
|
} |
|
81
|
|
|
82
|
|
|
83
|
type OrderShippingMethodTaxLine { |
|
84
|
id: ID! |
|
85
|
description: String |
|
86
|
tax_rate_id: String |
|
87
|
code: String! |
|
88
|
rate: Float |
|
89
|
provider_id: String |
|
90
|
created_at: DateTime |
|
91
|
updated_at: DateTime |
|
92
|
shipping_method: OrderShippingMethod |
|
93
|
shipping_method_id: String! |
|
94
|
total: Float |
|
95
|
subtotal: Float |
|
96
|
raw_total: JSON |
|
97
|
raw_subtotal: JSON |
|
98
|
} |
|
99
|
|
|
100
|
type OrderLineItemTaxLine { |
|
101
|
id: ID! |
|
102
|
description: String |
|
103
|
tax_rate_id: String |
|
104
|
code: String! |
|
105
|
rate: Float |
|
106
|
provider_id: String |
|
107
|
created_at: DateTime |
|
108
|
updated_at: DateTime |
|
109
|
item: OrderLineItem |
|
110
|
item_id: String! |
|
111
|
total: Float |
|
112
|
subtotal: Float |
|
113
|
raw_total: JSON |
|
114
|
raw_subtotal: JSON |
|
115
|
} |
|
116
|
|
|
117
|
type OrderAddress { |
|
118
|
id: ID! |
|
119
|
customer_id: String |
|
120
|
first_name: String |
|
121
|
last_name: String |
|
122
|
phone: String |
|
123
|
company: String |
|
124
|
address_1: String |
|
125
|
address_2: String |
|
126
|
city: String |
|
127
|
country_code: String |
|
128
|
province: String |
|
129
|
postal_code: String |
|
130
|
metadata: JSON |
|
131
|
created_at: DateTime |
|
132
|
updated_at: DateTime |
|
133
|
} |
|
134
|
|
|
135
|
type OrderShippingMethod { |
|
136
|
id: ID! |
|
137
|
order_id: String! |
|
138
|
name: String! |
|
139
|
description: String |
|
140
|
amount: Float! |
|
141
|
raw_amount: JSON! |
|
142
|
is_tax_inclusive: Boolean! |
|
143
|
is_custom_amount: Boolean! |
|
144
|
shipping_option_id: String |
|
145
|
data: JSON |
|
146
|
metadata: JSON |
|
147
|
tax_lines: [OrderShippingMethodTaxLine] |
|
148
|
adjustments: [OrderShippingMethodAdjustment] |
|
149
|
created_at: DateTime |
|
150
|
updated_at: DateTime |
|
151
|
original_total: Float |
|
152
|
original_subtotal: Float |
|
153
|
original_tax_total: Float |
|
154
|
total: Float |
|
155
|
subtotal: Float |
|
156
|
tax_total: Float |
|
157
|
discount_total: Float |
|
158
|
discount_tax_total: Float |
|
159
|
raw_original_total: JSON |
|
160
|
raw_original_subtotal: JSON |
|
161
|
raw_original_tax_total: JSON |
|
162
|
raw_total: JSON |
|
163
|
raw_subtotal: JSON |
|
164
|
raw_tax_total: JSON |
|
165
|
raw_discount_total: JSON |
|
166
|
raw_discount_tax_total: JSON |
|
167
|
} |
|
168
|
|
|
169
|
type OrderLineItem { |
|
170
|
id: ID! |
|
171
|
title: String! |
|
172
|
subtitle: String |
|
173
|
thumbnail: String |
|
174
|
variant_id: String |
|
175
|
product_id: String |
|
176
|
product_title: String |
|
177
|
product_description: String |
|
178
|
product_subtitle: String |
|
179
|
product_type: String |
|
180
|
product_type_id: String |
|
181
|
product_collection: String |
|
182
|
product_handle: String |
|
183
|
variant_sku: String |
|
184
|
variant_barcode: String |
|
185
|
variant_title: String |
|
186
|
variant_option_values: JSON |
|
187
|
requires_shipping: Boolean! |
|
188
|
is_discountable: Boolean! |
|
189
|
is_tax_inclusive: Boolean! |
|
190
|
is_giftcard: Boolean! |
|
191
|
is_custom_price: Boolean! |
|
192
|
compare_at_unit_price: Float |
|
193
|
raw_compare_at_unit_price: JSON |
|
194
|
unit_price: Float! |
|
195
|
raw_unit_price: JSON |
|
196
|
quantity: Int! |
|
197
|
raw_quantity: JSON |
|
198
|
tax_lines: [OrderLineItemTaxLine] |
|
199
|
adjustments: [OrderLineItemAdjustment] |
|
200
|
detail: OrderItem! |
|
201
|
created_at: DateTime! |
|
202
|
updated_at: DateTime! |
|
203
|
metadata: JSON |
|
204
|
line_item_metadata: JSON |
|
205
|
original_total: Float |
|
206
|
original_subtotal: Float |
|
207
|
original_tax_total: Float |
|
208
|
item_total: Float |
|
209
|
item_subtotal: Float |
|
210
|
item_tax_total: Float |
|
211
|
total: Float |
|
212
|
subtotal: Float |
|
213
|
tax_total: Float |
|
214
|
discount_total: Float |
|
215
|
discount_tax_total: Float |
|
216
|
refundable_total: Float |
|
217
|
refundable_total_per_unit: Float |
|
218
|
raw_original_total: JSON |
|
219
|
raw_original_subtotal: JSON |
|
220
|
raw_original_tax_total: JSON |
|
221
|
raw_item_total: JSON |
|
222
|
raw_item_subtotal: JSON |
|
223
|
raw_item_tax_total: JSON |
|
224
|
raw_total: JSON |
|
225
|
raw_subtotal: JSON |
|
226
|
raw_tax_total: JSON |
|
227
|
raw_discount_total: JSON |
|
228
|
raw_discount_tax_total: JSON |
|
229
|
raw_refundable_total: JSON |
|
230
|
raw_refundable_total_per_unit: JSON |
|
231
|
} |
|
232
|
|
|
233
|
type OrderItem { |
|
234
|
id: ID! |
|
235
|
version: Int! |
|
236
|
unit_price: Float! |
|
237
|
raw_unit_price: JSON |
|
238
|
compare_at_unit_price: Float! |
|
239
|
raw_compare_at_unit_price: JSON |
|
240
|
delivered_quantity: Int! |
|
241
|
raw_delivered_quantity: JSON |
|
242
|
item_id: String! |
|
243
|
item: OrderLineItem! |
|
244
|
quantity: Int! |
|
245
|
raw_quantity: JSON |
|
246
|
fulfilled_quantity: Int! |
|
247
|
raw_fulfilled_quantity: JSON |
|
248
|
shipped_quantity: Int! |
|
249
|
raw_shipped_quantity: JSON |
|
250
|
return_requested_quantity: Int! |
|
251
|
raw_return_requested_quantity: JSON |
|
252
|
return_received_quantity: Int! |
|
253
|
raw_return_received_quantity: JSON |
|
254
|
return_dismissed_quantity: Int! |
|
255
|
raw_return_dismissed_quantity: JSON |
|
256
|
written_off_quantity: Int! |
|
257
|
raw_written_off_quantity: JSON |
|
258
|
metadata: JSON |
|
259
|
created_at: DateTime! |
|
260
|
updated_at: DateTime! |
|
261
|
} |
|
262
|
|
|
263
|
enum OrderStatus { |
|
264
|
pending |
|
265
|
completed |
|
266
|
draft |
|
267
|
archived |
|
268
|
canceled |
|
269
|
requires_action |
|
270
|
} |
|
271
|
|
|
272
|
type Order { |
|
273
|
id: ID! |
|
274
|
version: Int! |
|
275
|
order_change: OrderChange |
|
276
|
status: OrderStatus! |
|
277
|
is_draft_order: Boolean! |
|
278
|
region_id: String |
|
279
|
customer_id: String |
|
280
|
display_id: String |
|
281
|
custom_display_id: String |
|
282
|
sales_channel_id: String |
|
283
|
email: String |
|
284
|
currency_code: String! |
|
285
|
locale: String |
|
286
|
no_notification: Boolean |
|
287
|
shipping_address: OrderAddress |
|
288
|
billing_address: OrderAddress |
|
289
|
items: [OrderLineItem] |
|
290
|
shipping_methods: [OrderShippingMethod] |
|
291
|
transactions: [OrderTransaction] |
|
292
|
credit_lines: [OrderCreditLine] |
|
293
|
returns: [Return] |
|
294
|
summary: OrderSummary |
|
295
|
metadata: JSON |
|
296
|
canceled_at: DateTime |
|
297
|
created_at: DateTime! |
|
298
|
updated_at: DateTime! |
|
299
|
original_item_total: Float! |
|
300
|
original_item_subtotal: Float! |
|
301
|
original_item_tax_total: Float! |
|
302
|
item_total: Float! |
|
303
|
item_subtotal: Float! |
|
304
|
item_tax_total: Float! |
|
305
|
original_total: Float! |
|
306
|
original_subtotal: Float! |
|
307
|
original_tax_total: Float! |
|
308
|
total: Float! |
|
309
|
subtotal: Float! |
|
310
|
tax_total: Float! |
|
311
|
discount_total: Float! |
|
312
|
discount_tax_total: Float! |
|
313
|
gift_card_total: Float! |
|
314
|
gift_card_tax_total: Float! |
|
315
|
shipping_total: Float! |
|
316
|
shipping_subtotal: Float! |
|
317
|
shipping_tax_total: Float! |
|
318
|
original_shipping_total: Float! |
|
319
|
original_shipping_subtotal: Float! |
|
320
|
original_shipping_tax_total: Float! |
|
321
|
raw_original_item_total: JSON |
|
322
|
raw_original_item_subtotal: JSON |
|
323
|
raw_original_item_tax_total: JSON |
|
324
|
raw_item_total: JSON |
|
325
|
raw_item_subtotal: JSON |
|
326
|
raw_item_tax_total: JSON |
|
327
|
raw_original_total: JSON |
|
328
|
raw_original_subtotal: JSON |
|
329
|
raw_original_tax_total: JSON |
|
330
|
raw_total: JSON |
|
331
|
raw_subtotal: JSON |
|
332
|
raw_tax_total: JSON |
|
333
|
raw_discount_total: JSON |
|
334
|
raw_discount_tax_total: JSON |
|
335
|
raw_gift_card_total: JSON |
|
336
|
raw_gift_card_tax_total: JSON |
|
337
|
raw_shipping_total: JSON |
|
338
|
raw_shipping_subtotal: JSON |
|
339
|
raw_shipping_tax_total: JSON |
|
340
|
raw_original_shipping_total: JSON |
|
341
|
raw_original_shipping_subtotal: JSON |
|
342
|
raw_original_shipping_tax_total: JSON |
|
343
|
} |
|
344
|
|
|
345
|
enum ReturnStatus { |
|
346
|
open |
|
347
|
requested |
|
348
|
received |
|
349
|
partially_received |
|
350
|
canceled |
|
351
|
} |
|
352
|
|
|
353
|
type Return { |
|
354
|
id: ID! |
|
355
|
status: ReturnStatus! |
|
356
|
order_version: Int! |
|
357
|
display_id: Int |
|
358
|
location_id: String |
|
359
|
no_notification: Boolean |
|
360
|
refund_amount: Float |
|
361
|
raw_refund_amount: JSON |
|
362
|
created_by: String |
|
363
|
metadata: JSON |
|
364
|
requested_at: DateTime |
|
365
|
received_at: DateTime |
|
366
|
canceled_at: DateTime |
|
367
|
created_at: DateTime |
|
368
|
updated_at: DateTime |
|
369
|
order_id: String! |
|
370
|
order: Order! |
|
371
|
items: [OrderReturnItem]! |
|
372
|
exchange: OrderExchange |
|
373
|
claim: OrderClaim |
|
374
|
shipping_methods: [OrderShipping] |
|
375
|
transactions: [OrderTransaction] |
|
376
|
} |
|
377
|
|
|
378
|
type OrderReturnItem { |
|
379
|
id: ID! |
|
380
|
return_id: String! |
|
381
|
order_id: String! |
|
382
|
item_id: String! |
|
383
|
reason_id: String |
|
384
|
quantity: Int! |
|
385
|
raw_quantity: JSON! |
|
386
|
received_quantity: Int! |
|
387
|
raw_received_quantity: JSON! |
|
388
|
damaged_quantity: Int! |
|
389
|
raw_damaged_quantity: JSON! |
|
390
|
note: String |
|
391
|
metadata: JSON |
|
392
|
created_at: DateTime |
|
393
|
updated_at: DateTime |
|
394
|
reason: ReturnReason |
|
395
|
item: OrderLineItem |
|
396
|
return: Return |
|
397
|
} |
|
398
|
|
|
399
|
type OrderClaimItem { |
|
400
|
id: ID! |
|
401
|
claim_id: String! |
|
402
|
order_id: String! |
|
403
|
item_id: String! |
|
404
|
quantity: Int! |
|
405
|
reason: ClaimReason |
|
406
|
is_additional_item: Boolean! |
|
407
|
note: String |
|
408
|
images: [OrderClaimItemImage] |
|
409
|
raw_quantity: JSON |
|
410
|
metadata: JSON |
|
411
|
created_at: DateTime |
|
412
|
updated_at: DateTime |
|
413
|
item: OrderLineItem! |
|
414
|
claim: OrderClaim! |
|
415
|
} |
|
416
|
|
|
417
|
type OrderClaimItemImage { |
|
418
|
id: ID! |
|
419
|
claim_item_id: String! |
|
420
|
item: OrderClaimItem! |
|
421
|
url: String |
|
422
|
metadata: JSON |
|
423
|
created_at: DateTime |
|
424
|
updated_at: DateTime |
|
425
|
} |
|
426
|
|
|
427
|
type OrderExchangeItem { |
|
428
|
id: ID! |
|
429
|
exchange_id: String! |
|
430
|
order_id: String! |
|
431
|
item_id: String! |
|
432
|
quantity: Int! |
|
433
|
note: String |
|
434
|
raw_quantity: JSON |
|
435
|
metadata: JSON |
|
436
|
created_at: DateTime |
|
437
|
updated_at: DateTime |
|
438
|
exchange: OrderExchange! |
|
439
|
item: OrderLineItem! |
|
440
|
} |
|
441
|
|
|
442
|
type OrderClaim { |
|
443
|
id: ID! |
|
444
|
order_id: String! |
|
445
|
order_version: Int! |
|
446
|
display_id: Int! |
|
447
|
type: ClaimType! |
|
448
|
no_notification: Boolean |
|
449
|
refund_amount: Float |
|
450
|
raw_refund_amount: JSON |
|
451
|
created_by: String |
|
452
|
canceled_at: DateTime |
|
453
|
metadata: JSON |
|
454
|
created_at: DateTime |
|
455
|
updated_at: DateTime |
|
456
|
order: Order! |
|
457
|
claim_items: [OrderClaimItem]! |
|
458
|
additional_items: [OrderClaimItem]! |
|
459
|
return: Return |
|
460
|
return_id: String |
|
461
|
shipping_methods: [OrderShipping] |
|
462
|
transactions: [OrderTransaction] |
|
463
|
} |
|
464
|
|
|
465
|
type OrderExchange { |
|
466
|
id: ID! |
|
467
|
order_id: String! |
|
468
|
order_version: Int! |
|
469
|
display_id: Int! |
|
470
|
no_notification: Boolean |
|
471
|
difference_due: Float |
|
472
|
raw_difference_due: JSON |
|
473
|
allow_backorder: Boolean! |
|
474
|
created_by: String |
|
475
|
canceled_at: DateTime |
|
476
|
metadata: JSON |
|
477
|
created_at: DateTime |
|
478
|
updated_at: DateTime |
|
479
|
order: Order! |
|
480
|
additional_items: [OrderExchangeItem]! |
|
481
|
return: Return |
|
482
|
return_id: String |
|
483
|
shipping_methods: [OrderShipping] |
|
484
|
transactions: [OrderTransaction] |
|
485
|
} |
|
486
|
|
|
487
|
type OrderCreditLine { |
|
488
|
id: ID! |
|
489
|
version: Int! |
|
490
|
order_id: String! |
|
491
|
reference: String |
|
492
|
reference_id: String |
|
493
|
amount: Float! |
|
494
|
raw_amount: JSON! |
|
495
|
metadata: JSON |
|
496
|
created_at: DateTime |
|
497
|
updated_at: DateTime |
|
498
|
order: Order! |
|
499
|
} |
|
500
|
|
|
501
|
type ReturnReason { |
|
502
|
id: ID! |
|
503
|
value: String! |
|
504
|
label: String! |
|
505
|
description: String |
|
506
|
metadata: JSON |
|
507
|
created_at: DateTime |
|
508
|
updated_at: DateTime |
|
509
|
deleted_at: DateTime |
|
510
|
parent_return_reason: ReturnReason |
|
511
|
parent_return_reason_id: String |
|
512
|
return_reason_children: [ReturnReason] |
|
513
|
} |
|
514
|
|
|
515
|
type OrderShipping { |
|
516
|
id: ID! |
|
517
|
version: Int! |
|
518
|
order_id: String! |
|
519
|
return_id: String |
|
520
|
exchange_id: String |
|
521
|
claim_id: String |
|
522
|
created_at: DateTime |
|
523
|
updated_at: DateTime |
|
524
|
order: Order! |
|
525
|
return: Return |
|
526
|
exchange: OrderExchange |
|
527
|
claim: OrderClaim |
|
528
|
shipping_method: OrderShippingMethod |
|
529
|
} |
|
530
|
|
|
531
|
enum PaymentStatus { |
|
532
|
not_paid |
|
533
|
awaiting |
|
534
|
authorized |
|
535
|
partially_authorized |
|
536
|
captured |
|
537
|
partially_captured |
|
538
|
partially_refunded |
|
539
|
refunded |
|
540
|
canceled |
|
541
|
requires_action |
|
542
|
} |
|
543
|
|
|
544
|
enum FulfillmentStatus { |
|
545
|
not_fulfilled |
|
546
|
partially_fulfilled |
|
547
|
fulfilled |
|
548
|
partially_shipped |
|
549
|
shipped |
|
550
|
partially_delivered |
|
551
|
delivered |
|
552
|
canceled |
|
553
|
} |
|
554
|
|
|
555
|
type OrderDetail { |
|
556
|
id: ID! |
|
557
|
version: Int! |
|
558
|
order_change: OrderChange |
|
559
|
status: OrderStatus! |
|
560
|
is_draft_order: Boolean! |
|
561
|
region_id: String |
|
562
|
customer_id: String |
|
563
|
sales_channel_id: String |
|
564
|
email: String |
|
565
|
currency_code: String! |
|
566
|
locale: String |
|
567
|
no_notification: Boolean |
|
568
|
shipping_address: OrderAddress |
|
569
|
billing_address: OrderAddress |
|
570
|
items: [OrderLineItem] |
|
571
|
shipping_methods: [OrderShippingMethod] |
|
572
|
transactions: [OrderTransaction] |
|
573
|
credit_lines: [OrderCreditLine] |
|
574
|
returns: [Return] |
|
575
|
summary: OrderSummary |
|
576
|
metadata: JSON |
|
577
|
canceled_at: DateTime |
|
578
|
created_at: DateTime! |
|
579
|
updated_at: DateTime! |
|
580
|
original_item_total: Float! |
|
581
|
original_item_subtotal: Float! |
|
582
|
original_item_tax_total: Float! |
|
583
|
item_total: Float! |
|
584
|
item_subtotal: Float! |
|
585
|
item_tax_total: Float! |
|
586
|
original_total: Float! |
|
587
|
original_subtotal: Float! |
|
588
|
original_tax_total: Float! |
|
589
|
total: Float! |
|
590
|
subtotal: Float! |
|
591
|
tax_total: Float! |
|
592
|
discount_total: Float! |
|
593
|
discount_tax_total: Float! |
|
594
|
gift_card_total: Float! |
|
595
|
gift_card_tax_total: Float! |
|
596
|
shipping_total: Float! |
|
597
|
shipping_subtotal: Float! |
|
598
|
shipping_tax_total: Float! |
|
599
|
original_shipping_total: Float! |
|
600
|
original_shipping_subtotal: Float! |
|
601
|
original_shipping_tax_total: Float! |
|
602
|
raw_original_item_total: JSON |
|
603
|
raw_original_item_subtotal: JSON |
|
604
|
raw_original_item_tax_total: JSON |
|
605
|
raw_item_total: JSON |
|
606
|
raw_item_subtotal: JSON |
|
607
|
raw_item_tax_total: JSON |
|
608
|
raw_original_total: JSON |
|
609
|
raw_original_subtotal: JSON |
|
610
|
raw_original_tax_total: JSON |
|
611
|
raw_total: JSON |
|
612
|
raw_subtotal: JSON |
|
613
|
raw_tax_total: JSON |
|
614
|
raw_discount_total: JSON |
|
615
|
raw_discount_tax_total: JSON |
|
616
|
raw_gift_card_total: JSON |
|
617
|
raw_gift_card_tax_total: JSON |
|
618
|
raw_shipping_total: JSON |
|
619
|
raw_shipping_subtotal: JSON |
|
620
|
raw_shipping_tax_total: JSON |
|
621
|
raw_original_shipping_total: JSON |
|
622
|
raw_original_shipping_subtotal: JSON |
|
623
|
raw_original_shipping_tax_total: JSON |
|
624
|
payment_collections: [PaymentCollection] |
|
625
|
payment_status: PaymentStatus! |
|
626
|
fulfillments: [Fulfillment] |
|
627
|
fulfillment_status: FulfillmentStatus! |
|
628
|
} |
|
629
|
|
|
630
|
type OrderChange { |
|
631
|
id: ID! |
|
632
|
version: Int! |
|
633
|
change_type: String |
|
634
|
order_id: String! |
|
635
|
return_id: String |
|
636
|
exchange_id: String |
|
637
|
claim_id: String |
|
638
|
order: Order! |
|
639
|
return_order: Return |
|
640
|
exchange: OrderExchange |
|
641
|
claim: OrderClaim |
|
642
|
actions: [OrderChangeAction]! |
|
643
|
status: String! |
|
644
|
description: String |
|
645
|
internal_note: String |
|
646
|
created_by: String |
|
647
|
requested_by: String |
|
648
|
requested_at: DateTime |
|
649
|
confirmed_by: String |
|
650
|
confirmed_at: DateTime |
|
651
|
declined_by: String |
|
652
|
declined_reason: String |
|
653
|
metadata: JSON |
|
654
|
declined_at: DateTime |
|
655
|
canceled_by: String |
|
656
|
canceled_at: DateTime |
|
657
|
carry_over_promotions: Boolean |
|
658
|
no_notification: Boolean |
|
659
|
created_at: DateTime! |
|
660
|
updated_at: DateTime! |
|
661
|
} |
|
662
|
|
|
663
|
type OrderChangeAction { |
|
664
|
id: ID! |
|
665
|
order_change_id: String |
|
666
|
order_change: OrderChange |
|
667
|
order_id: String |
|
668
|
return_id: String |
|
669
|
claim_id: String |
|
670
|
exchange_id: String |
|
671
|
order: Order |
|
672
|
reference: String! |
|
673
|
reference_id: String! |
|
674
|
action: ChangeActionType! |
|
675
|
details: JSON |
|
676
|
internal_note: String |
|
677
|
ordering: Int! |
|
678
|
version: Int |
|
679
|
amount: Float |
|
680
|
raw_amount: JSON |
|
681
|
applied: Boolean! |
|
682
|
created_at: DateTime! |
|
683
|
updated_at: DateTime! |
|
684
|
} |
|
685
|
|
|
686
|
type OrderTransaction { |
|
687
|
id: ID! |
|
688
|
order_id: String! |
|
689
|
order: Order! |
|
690
|
version: Int! |
|
691
|
amount: Float! |
|
692
|
raw_amount: JSON |
|
693
|
currency_code: String! |
|
694
|
reference: String! |
|
695
|
reference_id: String! |
|
696
|
return_id: String |
|
697
|
exchange_id: String |
|
698
|
claim_id: String |
|
699
|
return: Return |
|
700
|
exchange: OrderExchange |
|
701
|
claim: OrderClaim |
|
702
|
metadata: JSON |
|
703
|
created_at: DateTime! |
|
704
|
updated_at: DateTime! |
|
705
|
} |
|
706
|
|
|
707
|
` |