@whiplashmerch/whiplash-api-client 3.0.1 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1,1141 @@
1
- export declare const ApiV2ConsumerReturnAllExample: never[];
1
+ export declare const ApiV2ConsumerReturnAllExample: ({
2
+ id: number;
3
+ order_id: number;
4
+ customer_id: number;
5
+ warehouse_id: number;
6
+ sender: string;
7
+ eta: string;
8
+ status: number;
9
+ status_name: string;
10
+ received_by: null;
11
+ notes_by_whiplash: string;
12
+ notes_by_customer: string;
13
+ total_boxes: null;
14
+ created_at: string;
15
+ updated_at: string;
16
+ arrived_at: string;
17
+ skip_images: null;
18
+ easypostable_id: null;
19
+ easypostable_type: string;
20
+ shipping_label_url: null;
21
+ ship_actual_cost: null;
22
+ shipping_method_text: null;
23
+ carrier: string;
24
+ tracking: string;
25
+ type: string;
26
+ postage_billed: null;
27
+ handling_billed: null;
28
+ ship_3rdparty_cost: null;
29
+ requires_label: boolean;
30
+ completed_at: string;
31
+ ship_actual_currency: null;
32
+ delivered_at: string;
33
+ due_at: null;
34
+ reference: null;
35
+ originator: {
36
+ id: number;
37
+ originated_id: null;
38
+ originated_type: string;
39
+ shop_id: null;
40
+ provider: string;
41
+ original_id: string;
42
+ group_id: string;
43
+ misc: null;
44
+ active: boolean;
45
+ integration_id: null;
46
+ last_notified_at: null;
47
+ last_notification_status: null;
48
+ last_synced_at: null;
49
+ distinct_originator_key: null;
50
+ created_at: string;
51
+ updated_at: string;
52
+ application_id: number;
53
+ };
54
+ return_items: {
55
+ id: number;
56
+ item_id: number;
57
+ name: string;
58
+ sku: string;
59
+ price: string;
60
+ quantity: number;
61
+ quantity_good: number;
62
+ quantity_damaged: number;
63
+ description: string;
64
+ extended_description: null;
65
+ return_action: string;
66
+ order_item_id: null;
67
+ return_item_originator_id: null;
68
+ originator_id: null;
69
+ lot_ids: never[];
70
+ lot_numbers: never[];
71
+ }[];
72
+ exchange_order: null;
73
+ order: {
74
+ id: number;
75
+ customer_id: number;
76
+ order_batch_id: null;
77
+ quote_id: null;
78
+ warehouse_id: number;
79
+ return_warehouse_id: number;
80
+ shipping_method_id: number;
81
+ estimated_shipping_method_id: null;
82
+ humanize_id: string;
83
+ status: number;
84
+ status_name: string;
85
+ previous_status: number;
86
+ order_orig: null;
87
+ package_label_reference: null;
88
+ level1_token: string;
89
+ level2_token: string;
90
+ workable_at: string;
91
+ skip_street_date: boolean;
92
+ due_at: string;
93
+ created_at: string;
94
+ updated_at: string;
95
+ meta_data: null;
96
+ customer_provided_label_carrier: null;
97
+ purchase_order: null;
98
+ order_type: string;
99
+ batch_priority: boolean;
100
+ email: null;
101
+ address_verified: null;
102
+ items_updateable: boolean;
103
+ address_message: null;
104
+ scac: null;
105
+ tms_id: null;
106
+ tms_required: null;
107
+ shop_warehouse_ids: never[];
108
+ shop_shipping_method_currency: null;
109
+ shop_created_at: null;
110
+ shop_updated_at: null;
111
+ shop_shipping_method_text: null;
112
+ shop_shipping_method_price: string;
113
+ billing_company: null;
114
+ billing_address_1: null;
115
+ billing_address_2: null;
116
+ billing_address_3: null;
117
+ billing_city: null;
118
+ billing_state: null;
119
+ billing_zip: null;
120
+ billing_country: null;
121
+ billing_phone: null;
122
+ billed: boolean;
123
+ billing_name: null;
124
+ first_name: null;
125
+ last_name: null;
126
+ full_name: null;
127
+ shipping_name: null;
128
+ shipping_company: null;
129
+ shipping_address_1: null;
130
+ shipping_address_2: null;
131
+ shipping_city: null;
132
+ shipping_state: null;
133
+ shipping_zip: string;
134
+ shipping_country: null;
135
+ shipping_country_iso2: null;
136
+ shipping_phone: null;
137
+ requested_address: string;
138
+ residential: boolean;
139
+ expedited: boolean;
140
+ require_signature: boolean;
141
+ require_adult_signature: boolean;
142
+ saturday_delivery: boolean;
143
+ gift: boolean;
144
+ insure: boolean;
145
+ contains_alcohol: boolean;
146
+ customs_required: boolean;
147
+ incoterm: null;
148
+ shipping_carrier_facility: null;
149
+ shipping_hold_for_pickup: null;
150
+ ship_actual_cost: null;
151
+ shipped_on: null;
152
+ ship_notes: null;
153
+ shipping_confirmation_sent: boolean;
154
+ ship_3rdparty_cost: string;
155
+ ship_3rdparty_account: null;
156
+ ship_3rdparty_zip: null;
157
+ ship_3rdparty_country: null;
158
+ payment_type: string;
159
+ public_note: null;
160
+ days_in_transit: number;
161
+ days_in_transit_carrier_estimate: null;
162
+ req_insurance_value: null;
163
+ ship_method: string;
164
+ packingslip_pdf_url: null;
165
+ cf_packingslip_pdf_url: null;
166
+ customs_vat_number: null;
167
+ customs_eori_number: null;
168
+ customs_ioss_number: null;
169
+ customs_receiver_tax_id: null;
170
+ tracking: never[];
171
+ tracking_links: never[];
172
+ approximate_delivery_date: null;
173
+ global_e_ge_order: boolean;
174
+ calculated_time_limit: number;
175
+ within_return_time_limit: boolean;
176
+ return_name: null;
177
+ return_company: null;
178
+ return_address_1: null;
179
+ return_address_2: null;
180
+ return_city: null;
181
+ return_state: null;
182
+ return_country: null;
183
+ return_zip: null;
184
+ return_phone: null;
185
+ return_email: null;
186
+ return_address_verified: null;
187
+ return_time_limit: null;
188
+ is_workable: boolean;
189
+ is_gestating: boolean;
190
+ permissions_limited: boolean;
191
+ order_items: never[];
192
+ originator: {
193
+ id: number;
194
+ originated_id: number;
195
+ originated_type: string;
196
+ shop_id: null;
197
+ provider: string;
198
+ original_id: null;
199
+ group_id: null;
200
+ misc: null;
201
+ active: boolean;
202
+ integration_id: null;
203
+ last_notified_at: null;
204
+ last_notification_status: null;
205
+ last_synced_at: null;
206
+ distinct_originator_key: null;
207
+ created_at: string;
208
+ updated_at: string;
209
+ application_id: null;
210
+ };
211
+ proto_originator_id: null;
212
+ packages: {
213
+ id: number;
214
+ order_id: number;
215
+ shipped_on: null;
216
+ ship_actual_cost: null;
217
+ actual_weight: null;
218
+ actual_width: null;
219
+ actual_height: null;
220
+ actual_length: null;
221
+ actual_dimensional_weight: null;
222
+ tracking: null;
223
+ tracking_link: null;
224
+ order_item_ids: never[];
225
+ created_at: string;
226
+ updated_at: string;
227
+ ucc128: null;
228
+ barcode_sscc18: null;
229
+ ship_actual_currency: null;
230
+ manifest_id: null;
231
+ }[];
232
+ shipping_method: {
233
+ id: number;
234
+ carrier: string;
235
+ service: string;
236
+ description: string;
237
+ name: string;
238
+ international: boolean;
239
+ active: boolean;
240
+ flat_rate: boolean;
241
+ expedited: boolean;
242
+ trackable: boolean;
243
+ origins: string[];
244
+ extended_description: null;
245
+ multi_parcel: boolean;
246
+ created_at: string;
247
+ updated_at: string;
248
+ };
249
+ serial_numbers: never[];
250
+ };
251
+ customer: {
252
+ id: number;
253
+ name: string;
254
+ created_at: string;
255
+ active: boolean;
256
+ auto_merge_gestation: number;
257
+ default_warehouse_id: number;
258
+ eori_number: null;
259
+ estimated_monthly_volume: null;
260
+ fedex_account: string;
261
+ from_email: null;
262
+ instructions: string;
263
+ item_scanning_preference: boolean;
264
+ label_format: string;
265
+ notes: null;
266
+ notify_originator: boolean;
267
+ notify_originator_inventory: number;
268
+ originator_permissions: boolean;
269
+ packing_slip_msg: string;
270
+ packingslip_template: string;
271
+ request_serial_numbers: boolean;
272
+ ship_method_preference: number;
273
+ shipping_name: string;
274
+ ups_account: string;
275
+ vat_number: string;
276
+ ein: null;
277
+ gs1_company_prefix: null;
278
+ warehouse_fallback: number;
279
+ payment_hold: boolean;
280
+ primary_contact: string;
281
+ global_e_guid: null;
282
+ whitelisted_warehouses: {
283
+ id: number;
284
+ name: string;
285
+ timezone: string;
286
+ timezone_raw: string;
287
+ partner_id: number;
288
+ shipping_address_1: string;
289
+ shipping_address_2: string;
290
+ shipping_city: string;
291
+ shipping_state: string;
292
+ shipping_zip: string;
293
+ shipping_country: string;
294
+ shipping_country_iso2: string;
295
+ latitude: number;
296
+ longitude: number;
297
+ slug: string;
298
+ }[];
299
+ allowed_warehouse_ids: number[];
300
+ account_level: number;
301
+ account_level_name: null;
302
+ activated_at: string;
303
+ deactivated_at: null;
304
+ auto_merge_skus: boolean;
305
+ billing_email: string;
306
+ billing_contact_name: string;
307
+ billing_company: string;
308
+ billing_phone1: string;
309
+ billing_phone2: string;
310
+ billing_address1: string;
311
+ billing_address2: string;
312
+ billing_address3: null;
313
+ billing_city: string;
314
+ billing_state: string;
315
+ billing_zip: string;
316
+ billing_country: string;
317
+ billing_residential: null;
318
+ items_returnable: boolean;
319
+ allow_international_returns: boolean;
320
+ items_exchangeable: boolean;
321
+ return_time_limit: number;
322
+ return_label_expires_in: number;
323
+ return_price_restricted: boolean;
324
+ return_sku_match: null;
325
+ rma_display_logo: boolean;
326
+ rma_footer_content: null;
327
+ return_name: null;
328
+ return_company: null;
329
+ return_email: null;
330
+ return_phone: null;
331
+ return_address_1: null;
332
+ return_address_2: null;
333
+ return_city: null;
334
+ return_state: null;
335
+ return_zip: null;
336
+ return_country: null;
337
+ supports_return_labels: boolean;
338
+ logo_content_type: string;
339
+ logo_file_name: string;
340
+ logo_file_size: number;
341
+ logo_updated_at: string;
342
+ full_logo_url: string;
343
+ email_confirmation_from: string;
344
+ email_confirmation_name: string;
345
+ email_confirmation_msg: string;
346
+ email_confirmation_preference: number;
347
+ email_confirmation_template: string;
348
+ low_inventory_threshold: null;
349
+ lot_control: boolean;
350
+ expiration_period: null;
351
+ ship_strategy: number;
352
+ items_unavailable_on_sellout: number;
353
+ replenishment_min: null;
354
+ replenishment_target: null;
355
+ allow_b_stock_receiving: boolean;
356
+ location_default_return_role: string;
357
+ location_enable_pending_returns: boolean;
358
+ location_enable_receiving_into_reserved: boolean;
359
+ receiving_fields: null;
360
+ project_task_labels: null;
361
+ dashboard_enable_domo: boolean;
362
+ dashboard_enable_parcel_insights: boolean;
363
+ };
364
+ warehouse: {
365
+ id: number;
366
+ name: string;
367
+ timezone: string;
368
+ timezone_raw: string;
369
+ partner_id: number;
370
+ shipping_address_1: string;
371
+ shipping_address_2: string;
372
+ shipping_city: string;
373
+ shipping_state: string;
374
+ shipping_zip: string;
375
+ shipping_country: string;
376
+ shipping_country_iso2: string;
377
+ latitude: number;
378
+ longitude: number;
379
+ slug: string;
380
+ };
381
+ } | {
382
+ id: number;
383
+ order_id: number;
384
+ customer_id: number;
385
+ warehouse_id: number;
386
+ sender: string;
387
+ eta: string;
388
+ status: number;
389
+ status_name: string;
390
+ received_by: null;
391
+ notes_by_whiplash: string;
392
+ notes_by_customer: string;
393
+ total_boxes: null;
394
+ created_at: string;
395
+ updated_at: string;
396
+ arrived_at: null;
397
+ skip_images: null;
398
+ easypostable_id: null;
399
+ easypostable_type: string;
400
+ shipping_label_url: null;
401
+ ship_actual_cost: null;
402
+ shipping_method_text: null;
403
+ carrier: string;
404
+ tracking: string;
405
+ type: string;
406
+ postage_billed: null;
407
+ handling_billed: null;
408
+ ship_3rdparty_cost: null;
409
+ requires_label: boolean;
410
+ completed_at: null;
411
+ ship_actual_currency: null;
412
+ delivered_at: null;
413
+ due_at: null;
414
+ reference: null;
415
+ originator: {
416
+ id: number;
417
+ originated_id: null;
418
+ originated_type: string;
419
+ shop_id: null;
420
+ provider: string;
421
+ original_id: string;
422
+ group_id: string;
423
+ misc: null;
424
+ active: boolean;
425
+ integration_id: null;
426
+ last_notified_at: null;
427
+ last_notification_status: null;
428
+ last_synced_at: null;
429
+ distinct_originator_key: null;
430
+ created_at: string;
431
+ updated_at: string;
432
+ application_id: number;
433
+ };
434
+ return_items: {
435
+ id: number;
436
+ item_id: number;
437
+ name: string;
438
+ sku: string;
439
+ price: string;
440
+ quantity: number;
441
+ quantity_good: number;
442
+ quantity_damaged: number;
443
+ description: string;
444
+ extended_description: null;
445
+ return_action: string;
446
+ order_item_id: null;
447
+ return_item_originator_id: null;
448
+ originator_id: null;
449
+ lot_ids: never[];
450
+ lot_numbers: never[];
451
+ }[];
452
+ exchange_order: null;
453
+ order: {
454
+ id: number;
455
+ customer_id: number;
456
+ order_batch_id: null;
457
+ quote_id: null;
458
+ warehouse_id: number;
459
+ return_warehouse_id: number;
460
+ shipping_method_id: number;
461
+ estimated_shipping_method_id: null;
462
+ humanize_id: string;
463
+ status: number;
464
+ status_name: string;
465
+ previous_status: number;
466
+ order_orig: null;
467
+ package_label_reference: null;
468
+ level1_token: string;
469
+ level2_token: string;
470
+ workable_at: string;
471
+ skip_street_date: boolean;
472
+ due_at: string;
473
+ created_at: string;
474
+ updated_at: string;
475
+ meta_data: null;
476
+ customer_provided_label_carrier: null;
477
+ purchase_order: null;
478
+ order_type: string;
479
+ batch_priority: boolean;
480
+ email: null;
481
+ address_verified: null;
482
+ items_updateable: boolean;
483
+ address_message: null;
484
+ scac: null;
485
+ tms_id: null;
486
+ tms_required: null;
487
+ shop_warehouse_ids: never[];
488
+ shop_shipping_method_currency: null;
489
+ shop_created_at: null;
490
+ shop_updated_at: null;
491
+ shop_shipping_method_text: null;
492
+ shop_shipping_method_price: string;
493
+ billing_company: null;
494
+ billing_address_1: null;
495
+ billing_address_2: null;
496
+ billing_address_3: null;
497
+ billing_city: null;
498
+ billing_state: null;
499
+ billing_zip: null;
500
+ billing_country: null;
501
+ billing_phone: null;
502
+ billed: boolean;
503
+ billing_name: null;
504
+ first_name: null;
505
+ last_name: null;
506
+ full_name: null;
507
+ shipping_name: null;
508
+ shipping_company: null;
509
+ shipping_address_1: null;
510
+ shipping_address_2: null;
511
+ shipping_city: null;
512
+ shipping_state: null;
513
+ shipping_zip: string;
514
+ shipping_country: null;
515
+ shipping_country_iso2: null;
516
+ shipping_phone: null;
517
+ requested_address: string;
518
+ residential: boolean;
519
+ expedited: boolean;
520
+ require_signature: boolean;
521
+ require_adult_signature: boolean;
522
+ saturday_delivery: boolean;
523
+ gift: boolean;
524
+ insure: boolean;
525
+ contains_alcohol: boolean;
526
+ customs_required: boolean;
527
+ incoterm: null;
528
+ shipping_carrier_facility: null;
529
+ shipping_hold_for_pickup: null;
530
+ ship_actual_cost: null;
531
+ shipped_on: null;
532
+ ship_notes: null;
533
+ shipping_confirmation_sent: boolean;
534
+ ship_3rdparty_cost: string;
535
+ ship_3rdparty_account: null;
536
+ ship_3rdparty_zip: null;
537
+ ship_3rdparty_country: null;
538
+ payment_type: string;
539
+ public_note: null;
540
+ days_in_transit: number;
541
+ days_in_transit_carrier_estimate: null;
542
+ req_insurance_value: null;
543
+ ship_method: string;
544
+ packingslip_pdf_url: null;
545
+ cf_packingslip_pdf_url: null;
546
+ customs_vat_number: null;
547
+ customs_eori_number: null;
548
+ customs_ioss_number: null;
549
+ customs_receiver_tax_id: null;
550
+ tracking: never[];
551
+ tracking_links: never[];
552
+ approximate_delivery_date: null;
553
+ global_e_ge_order: boolean;
554
+ calculated_time_limit: number;
555
+ within_return_time_limit: boolean;
556
+ return_name: null;
557
+ return_company: null;
558
+ return_address_1: null;
559
+ return_address_2: null;
560
+ return_city: null;
561
+ return_state: null;
562
+ return_country: null;
563
+ return_zip: null;
564
+ return_phone: null;
565
+ return_email: null;
566
+ return_address_verified: null;
567
+ return_time_limit: null;
568
+ is_workable: boolean;
569
+ is_gestating: boolean;
570
+ permissions_limited: boolean;
571
+ order_items: never[];
572
+ originator: {
573
+ id: number;
574
+ originated_id: number;
575
+ originated_type: string;
576
+ shop_id: null;
577
+ provider: string;
578
+ original_id: null;
579
+ group_id: null;
580
+ misc: null;
581
+ active: boolean;
582
+ integration_id: null;
583
+ last_notified_at: null;
584
+ last_notification_status: null;
585
+ last_synced_at: null;
586
+ distinct_originator_key: null;
587
+ created_at: string;
588
+ updated_at: string;
589
+ application_id: null;
590
+ };
591
+ proto_originator_id: null;
592
+ packages: {
593
+ id: number;
594
+ order_id: number;
595
+ shipped_on: null;
596
+ ship_actual_cost: null;
597
+ actual_weight: null;
598
+ actual_width: null;
599
+ actual_height: null;
600
+ actual_length: null;
601
+ actual_dimensional_weight: null;
602
+ tracking: null;
603
+ tracking_link: null;
604
+ order_item_ids: never[];
605
+ created_at: string;
606
+ updated_at: string;
607
+ ucc128: null;
608
+ barcode_sscc18: null;
609
+ ship_actual_currency: null;
610
+ manifest_id: null;
611
+ }[];
612
+ shipping_method: {
613
+ id: number;
614
+ carrier: string;
615
+ service: string;
616
+ description: string;
617
+ name: string;
618
+ international: boolean;
619
+ active: boolean;
620
+ flat_rate: boolean;
621
+ expedited: boolean;
622
+ trackable: boolean;
623
+ origins: string[];
624
+ extended_description: null;
625
+ multi_parcel: boolean;
626
+ created_at: string;
627
+ updated_at: string;
628
+ };
629
+ serial_numbers: never[];
630
+ };
631
+ customer: {
632
+ id: number;
633
+ name: string;
634
+ created_at: string;
635
+ active: boolean;
636
+ auto_merge_gestation: number;
637
+ default_warehouse_id: number;
638
+ eori_number: null;
639
+ estimated_monthly_volume: null;
640
+ fedex_account: string;
641
+ from_email: null;
642
+ instructions: string;
643
+ item_scanning_preference: boolean;
644
+ label_format: string;
645
+ notes: null;
646
+ notify_originator: boolean;
647
+ notify_originator_inventory: number;
648
+ originator_permissions: boolean;
649
+ packing_slip_msg: string;
650
+ packingslip_template: string;
651
+ request_serial_numbers: boolean;
652
+ ship_method_preference: number;
653
+ shipping_name: string;
654
+ ups_account: string;
655
+ vat_number: string;
656
+ ein: null;
657
+ gs1_company_prefix: null;
658
+ warehouse_fallback: number;
659
+ payment_hold: boolean;
660
+ primary_contact: string;
661
+ global_e_guid: null;
662
+ whitelisted_warehouses: {
663
+ id: number;
664
+ name: string;
665
+ timezone: string;
666
+ timezone_raw: string;
667
+ partner_id: number;
668
+ shipping_address_1: string;
669
+ shipping_address_2: string;
670
+ shipping_city: string;
671
+ shipping_state: string;
672
+ shipping_zip: string;
673
+ shipping_country: string;
674
+ shipping_country_iso2: string;
675
+ latitude: number;
676
+ longitude: number;
677
+ slug: string;
678
+ }[];
679
+ allowed_warehouse_ids: number[];
680
+ account_level: number;
681
+ account_level_name: null;
682
+ activated_at: string;
683
+ deactivated_at: null;
684
+ auto_merge_skus: boolean;
685
+ billing_email: string;
686
+ billing_contact_name: string;
687
+ billing_company: string;
688
+ billing_phone1: string;
689
+ billing_phone2: string;
690
+ billing_address1: string;
691
+ billing_address2: string;
692
+ billing_address3: null;
693
+ billing_city: string;
694
+ billing_state: string;
695
+ billing_zip: string;
696
+ billing_country: string;
697
+ billing_residential: null;
698
+ items_returnable: boolean;
699
+ allow_international_returns: boolean;
700
+ items_exchangeable: boolean;
701
+ return_time_limit: number;
702
+ return_label_expires_in: number;
703
+ return_price_restricted: boolean;
704
+ return_sku_match: null;
705
+ rma_display_logo: boolean;
706
+ rma_footer_content: null;
707
+ return_name: null;
708
+ return_company: null;
709
+ return_email: null;
710
+ return_phone: null;
711
+ return_address_1: null;
712
+ return_address_2: null;
713
+ return_city: null;
714
+ return_state: null;
715
+ return_zip: null;
716
+ return_country: null;
717
+ supports_return_labels: boolean;
718
+ logo_content_type: string;
719
+ logo_file_name: string;
720
+ logo_file_size: number;
721
+ logo_updated_at: string;
722
+ full_logo_url: string;
723
+ email_confirmation_from: string;
724
+ email_confirmation_name: string;
725
+ email_confirmation_msg: string;
726
+ email_confirmation_preference: number;
727
+ email_confirmation_template: string;
728
+ low_inventory_threshold: null;
729
+ lot_control: boolean;
730
+ expiration_period: null;
731
+ ship_strategy: number;
732
+ items_unavailable_on_sellout: number;
733
+ replenishment_min: null;
734
+ replenishment_target: null;
735
+ allow_b_stock_receiving: boolean;
736
+ location_default_return_role: string;
737
+ location_enable_pending_returns: boolean;
738
+ location_enable_receiving_into_reserved: boolean;
739
+ receiving_fields: null;
740
+ project_task_labels: null;
741
+ dashboard_enable_domo: boolean;
742
+ dashboard_enable_parcel_insights: boolean;
743
+ };
744
+ warehouse: {
745
+ id: number;
746
+ name: string;
747
+ timezone: string;
748
+ timezone_raw: string;
749
+ partner_id: number;
750
+ shipping_address_1: string;
751
+ shipping_address_2: string;
752
+ shipping_city: string;
753
+ shipping_state: string;
754
+ shipping_zip: string;
755
+ shipping_country: string;
756
+ shipping_country_iso2: string;
757
+ latitude: number;
758
+ longitude: number;
759
+ slug: string;
760
+ };
761
+ } | {
762
+ id: number;
763
+ order_id: number;
764
+ customer_id: number;
765
+ warehouse_id: number;
766
+ sender: string;
767
+ eta: string;
768
+ status: number;
769
+ status_name: string;
770
+ received_by: null;
771
+ notes_by_whiplash: string;
772
+ notes_by_customer: string;
773
+ total_boxes: null;
774
+ created_at: string;
775
+ updated_at: string;
776
+ arrived_at: string;
777
+ skip_images: null;
778
+ easypostable_id: null;
779
+ easypostable_type: string;
780
+ shipping_label_url: null;
781
+ ship_actual_cost: null;
782
+ shipping_method_text: null;
783
+ carrier: string;
784
+ tracking: string;
785
+ type: string;
786
+ postage_billed: null;
787
+ handling_billed: null;
788
+ ship_3rdparty_cost: null;
789
+ requires_label: boolean;
790
+ completed_at: null;
791
+ ship_actual_currency: null;
792
+ delivered_at: string;
793
+ due_at: null;
794
+ reference: null;
795
+ originator: {
796
+ id: number;
797
+ originated_id: null;
798
+ originated_type: string;
799
+ shop_id: null;
800
+ provider: string;
801
+ original_id: string;
802
+ group_id: string;
803
+ misc: null;
804
+ active: boolean;
805
+ integration_id: null;
806
+ last_notified_at: null;
807
+ last_notification_status: null;
808
+ last_synced_at: null;
809
+ distinct_originator_key: null;
810
+ created_at: string;
811
+ updated_at: string;
812
+ application_id: number;
813
+ };
814
+ return_items: {
815
+ id: number;
816
+ item_id: number;
817
+ name: string;
818
+ sku: string;
819
+ price: string;
820
+ quantity: number;
821
+ quantity_good: number;
822
+ quantity_damaged: number;
823
+ description: string;
824
+ extended_description: null;
825
+ return_action: string;
826
+ order_item_id: null;
827
+ return_item_originator_id: null;
828
+ originator_id: null;
829
+ lot_ids: never[];
830
+ lot_numbers: never[];
831
+ }[];
832
+ exchange_order: null;
833
+ order: {
834
+ id: number;
835
+ customer_id: number;
836
+ order_batch_id: null;
837
+ quote_id: null;
838
+ warehouse_id: number;
839
+ return_warehouse_id: number;
840
+ shipping_method_id: number;
841
+ estimated_shipping_method_id: null;
842
+ humanize_id: string;
843
+ status: number;
844
+ status_name: string;
845
+ previous_status: number;
846
+ order_orig: null;
847
+ package_label_reference: null;
848
+ level1_token: string;
849
+ level2_token: string;
850
+ workable_at: string;
851
+ skip_street_date: boolean;
852
+ due_at: string;
853
+ created_at: string;
854
+ updated_at: string;
855
+ meta_data: null;
856
+ customer_provided_label_carrier: null;
857
+ purchase_order: null;
858
+ order_type: string;
859
+ batch_priority: boolean;
860
+ email: null;
861
+ address_verified: null;
862
+ items_updateable: boolean;
863
+ address_message: null;
864
+ scac: null;
865
+ tms_id: null;
866
+ tms_required: null;
867
+ shop_warehouse_ids: never[];
868
+ shop_shipping_method_currency: null;
869
+ shop_created_at: null;
870
+ shop_updated_at: null;
871
+ shop_shipping_method_text: null;
872
+ shop_shipping_method_price: string;
873
+ billing_company: null;
874
+ billing_address_1: null;
875
+ billing_address_2: null;
876
+ billing_address_3: null;
877
+ billing_city: null;
878
+ billing_state: null;
879
+ billing_zip: null;
880
+ billing_country: null;
881
+ billing_phone: null;
882
+ billed: boolean;
883
+ billing_name: null;
884
+ first_name: null;
885
+ last_name: null;
886
+ full_name: null;
887
+ shipping_name: null;
888
+ shipping_company: null;
889
+ shipping_address_1: null;
890
+ shipping_address_2: null;
891
+ shipping_city: null;
892
+ shipping_state: null;
893
+ shipping_zip: string;
894
+ shipping_country: null;
895
+ shipping_country_iso2: null;
896
+ shipping_phone: null;
897
+ requested_address: string;
898
+ residential: boolean;
899
+ expedited: boolean;
900
+ require_signature: boolean;
901
+ require_adult_signature: boolean;
902
+ saturday_delivery: boolean;
903
+ gift: boolean;
904
+ insure: boolean;
905
+ contains_alcohol: boolean;
906
+ customs_required: boolean;
907
+ incoterm: null;
908
+ shipping_carrier_facility: null;
909
+ shipping_hold_for_pickup: null;
910
+ ship_actual_cost: null;
911
+ shipped_on: null;
912
+ ship_notes: null;
913
+ shipping_confirmation_sent: boolean;
914
+ ship_3rdparty_cost: string;
915
+ ship_3rdparty_account: null;
916
+ ship_3rdparty_zip: null;
917
+ ship_3rdparty_country: null;
918
+ payment_type: string;
919
+ public_note: null;
920
+ days_in_transit: number;
921
+ days_in_transit_carrier_estimate: null;
922
+ req_insurance_value: null;
923
+ ship_method: string;
924
+ packingslip_pdf_url: null;
925
+ cf_packingslip_pdf_url: null;
926
+ customs_vat_number: null;
927
+ customs_eori_number: null;
928
+ customs_ioss_number: null;
929
+ customs_receiver_tax_id: null;
930
+ tracking: never[];
931
+ tracking_links: never[];
932
+ approximate_delivery_date: null;
933
+ global_e_ge_order: boolean;
934
+ calculated_time_limit: number;
935
+ within_return_time_limit: boolean;
936
+ return_name: null;
937
+ return_company: null;
938
+ return_address_1: null;
939
+ return_address_2: null;
940
+ return_city: null;
941
+ return_state: null;
942
+ return_country: null;
943
+ return_zip: null;
944
+ return_phone: null;
945
+ return_email: null;
946
+ return_address_verified: null;
947
+ return_time_limit: null;
948
+ is_workable: boolean;
949
+ is_gestating: boolean;
950
+ permissions_limited: boolean;
951
+ order_items: never[];
952
+ originator: {
953
+ id: number;
954
+ originated_id: number;
955
+ originated_type: string;
956
+ shop_id: null;
957
+ provider: string;
958
+ original_id: null;
959
+ group_id: null;
960
+ misc: null;
961
+ active: boolean;
962
+ integration_id: null;
963
+ last_notified_at: null;
964
+ last_notification_status: null;
965
+ last_synced_at: null;
966
+ distinct_originator_key: null;
967
+ created_at: string;
968
+ updated_at: string;
969
+ application_id: null;
970
+ };
971
+ proto_originator_id: null;
972
+ packages: {
973
+ id: number;
974
+ order_id: number;
975
+ shipped_on: null;
976
+ ship_actual_cost: null;
977
+ actual_weight: null;
978
+ actual_width: null;
979
+ actual_height: null;
980
+ actual_length: null;
981
+ actual_dimensional_weight: null;
982
+ tracking: null;
983
+ tracking_link: null;
984
+ order_item_ids: never[];
985
+ created_at: string;
986
+ updated_at: string;
987
+ ucc128: null;
988
+ barcode_sscc18: null;
989
+ ship_actual_currency: null;
990
+ manifest_id: null;
991
+ }[];
992
+ shipping_method: {
993
+ id: number;
994
+ carrier: string;
995
+ service: string;
996
+ description: string;
997
+ name: string;
998
+ international: boolean;
999
+ active: boolean;
1000
+ flat_rate: boolean;
1001
+ expedited: boolean;
1002
+ trackable: boolean;
1003
+ origins: string[];
1004
+ extended_description: null;
1005
+ multi_parcel: boolean;
1006
+ created_at: string;
1007
+ updated_at: string;
1008
+ };
1009
+ serial_numbers: never[];
1010
+ };
1011
+ customer: {
1012
+ id: number;
1013
+ name: string;
1014
+ created_at: string;
1015
+ active: boolean;
1016
+ auto_merge_gestation: number;
1017
+ default_warehouse_id: number;
1018
+ eori_number: null;
1019
+ estimated_monthly_volume: null;
1020
+ fedex_account: string;
1021
+ from_email: null;
1022
+ instructions: string;
1023
+ item_scanning_preference: boolean;
1024
+ label_format: string;
1025
+ notes: null;
1026
+ notify_originator: boolean;
1027
+ notify_originator_inventory: number;
1028
+ originator_permissions: boolean;
1029
+ packing_slip_msg: string;
1030
+ packingslip_template: string;
1031
+ request_serial_numbers: boolean;
1032
+ ship_method_preference: number;
1033
+ shipping_name: string;
1034
+ ups_account: string;
1035
+ vat_number: string;
1036
+ ein: null;
1037
+ gs1_company_prefix: null;
1038
+ warehouse_fallback: number;
1039
+ payment_hold: boolean;
1040
+ primary_contact: string;
1041
+ global_e_guid: null;
1042
+ whitelisted_warehouses: {
1043
+ id: number;
1044
+ name: string;
1045
+ timezone: string;
1046
+ timezone_raw: string;
1047
+ partner_id: number;
1048
+ shipping_address_1: string;
1049
+ shipping_address_2: string;
1050
+ shipping_city: string;
1051
+ shipping_state: string;
1052
+ shipping_zip: string;
1053
+ shipping_country: string;
1054
+ shipping_country_iso2: string;
1055
+ latitude: number;
1056
+ longitude: number;
1057
+ slug: string;
1058
+ }[];
1059
+ allowed_warehouse_ids: number[];
1060
+ account_level: number;
1061
+ account_level_name: null;
1062
+ activated_at: string;
1063
+ deactivated_at: null;
1064
+ auto_merge_skus: boolean;
1065
+ billing_email: string;
1066
+ billing_contact_name: string;
1067
+ billing_company: string;
1068
+ billing_phone1: string;
1069
+ billing_phone2: string;
1070
+ billing_address1: string;
1071
+ billing_address2: string;
1072
+ billing_address3: null;
1073
+ billing_city: string;
1074
+ billing_state: string;
1075
+ billing_zip: string;
1076
+ billing_country: string;
1077
+ billing_residential: null;
1078
+ items_returnable: boolean;
1079
+ allow_international_returns: boolean;
1080
+ items_exchangeable: boolean;
1081
+ return_time_limit: number;
1082
+ return_label_expires_in: number;
1083
+ return_price_restricted: boolean;
1084
+ return_sku_match: null;
1085
+ rma_display_logo: boolean;
1086
+ rma_footer_content: null;
1087
+ return_name: null;
1088
+ return_company: null;
1089
+ return_email: null;
1090
+ return_phone: null;
1091
+ return_address_1: null;
1092
+ return_address_2: null;
1093
+ return_city: null;
1094
+ return_state: null;
1095
+ return_zip: null;
1096
+ return_country: null;
1097
+ supports_return_labels: boolean;
1098
+ logo_content_type: string;
1099
+ logo_file_name: string;
1100
+ logo_file_size: number;
1101
+ logo_updated_at: string;
1102
+ full_logo_url: string;
1103
+ email_confirmation_from: string;
1104
+ email_confirmation_name: string;
1105
+ email_confirmation_msg: string;
1106
+ email_confirmation_preference: number;
1107
+ email_confirmation_template: string;
1108
+ low_inventory_threshold: null;
1109
+ lot_control: boolean;
1110
+ expiration_period: null;
1111
+ ship_strategy: number;
1112
+ items_unavailable_on_sellout: number;
1113
+ replenishment_min: null;
1114
+ replenishment_target: null;
1115
+ allow_b_stock_receiving: boolean;
1116
+ location_default_return_role: string;
1117
+ location_enable_pending_returns: boolean;
1118
+ location_enable_receiving_into_reserved: boolean;
1119
+ receiving_fields: null;
1120
+ project_task_labels: null;
1121
+ dashboard_enable_domo: boolean;
1122
+ dashboard_enable_parcel_insights: boolean;
1123
+ };
1124
+ warehouse: {
1125
+ id: number;
1126
+ name: string;
1127
+ timezone: string;
1128
+ timezone_raw: string;
1129
+ partner_id: number;
1130
+ shipping_address_1: string;
1131
+ shipping_address_2: string;
1132
+ shipping_city: string;
1133
+ shipping_state: string;
1134
+ shipping_zip: string;
1135
+ shipping_country: string;
1136
+ shipping_country_iso2: string;
1137
+ latitude: number;
1138
+ longitude: number;
1139
+ slug: string;
1140
+ };
1141
+ })[];