-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapiary.apib
More file actions
2458 lines (2247 loc) · 92.9 KB
/
apiary.apib
File metadata and controls
2458 lines (2247 loc) · 92.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
FORMAT: 1A
# Shipito Client Account API
You have to send "X-token" header in every request, otherwise you'll get error 403 - {"code": 9, "message":"Invalid token, please provide correct token in header X-token"}
You should receive value for this token in email with registration.
First request you have to send is /api/v1/authenticate, it will generate cookie for you with valid session.
If you send an unauthenticated request to any other url but /api/v1/authenticate, you receive error 401 - {"code": 10, "message": "Authentication needed."}
Base url for all requests is https://client-api.shipito.com/
Example in PHP https://github.com/Shipito/client-api-example
# Group User
## Login [/api/v1/authenticate]
### POST
Authentication request
+ Request (application/json)
{
"username": "user@email.com",
"password": "passwordIsPassword"
}
+ Response 204
+ Response 401 (application/json)
{
"code": 11,
"message": "Invalid credentials.",
}
## Logout [/api/v1/logout]
### GET
Logs user out
+ Response 204
## Dashboard [/api/v1/dashboard]
### GET
Dashboard data
+ Response 200 (application/json)
{
"accountInfo": {
"mailboxFull": 17,
"averageStorageShipito": 14,
"averageStorageYou": 67,
"spendingLimit": 4000,
"spendingLimitUsed": 1000,
"spendingLimitRemaining": 3000,
"plan": "Virtual Mailbox ANNUAL",
"planRemaining": 58
},
"accountBalance": {
"deposit": 4040.72,
"youWillPay": 120.13,
"amountDue": 89.26,
"savings": {
"consolidations": 1748.12,
"postage": 1000.0,
"total": 2748.12"
},
"packages": {
"processed": 109,
"sent": 60
}
},
"virtualAddress": [
{
"id": 23,
"name": "Minden, NV",
"recommended": true,
"address": {
"firstName": "John",
"lastName": "Doe",
"address": "2220 Meridian Blvd",
"suite": "Suite #",
"city": "Minden, NV",
"zip": "89423",
"country": "US"
},
"info": "The biggest Shipito warehouse. More storage (six times bigger mailbox capacity for free storage compared to California, or double of Oregon). 180 days storage for Virtual Mailbox (other locations offer 90 days). Lowest shipping cost for USPS, FedEx and DHL <a href=\"http://www.shipito.com/locations\">More details.</a>"
},
{
"id": 10,
"name": "Tualatin, OR",
"recommended": false,
"address": {
"firstName": "John",
"lastName": "Doe",
"address": "11407 SW Amu St.",
"suite": "Suite #",
"city": "Tualatin, OR",
"zip": "97062",
"country": "US"
},
"info": "<a href=\"http://www.shipito.com/oregon\" target=new>No sales tax in Oregon! Save on 7-9% expensive purchases!</a> Full service location. More storage space for your Virtual mailbox and shipping rates slightly higher than in California. <a href=\"http://www.shipito.com/locations\">More details.</a>"
},
{
"id": 7,
"name": "Torrance, CA",
"recommended": false,
"address": {
"firstName": "John",
"lastName": "Doe",
"address": "4310 W. 190th St.",
"suite": "Suite #",
"city": "Torrance, CA",
"zip": "90504",
"country": "US"
},
"info": "All shipping methods available. Consolidation available. Do not use for shipping pallets or huge packages. Low shipping cost and fast speed due to proximity to LAX airport. <a href=\"http://www.shipito.com/locations\">More details.</a>"
}
],
"shipping": {
"address": {
"firstName": "John",
"lastName": "Doe",
"company": "John Doe Inc.",
"taxId": "1234",
"address": "Example street",
"city": "Example city",
"zip": "90505",
"state": "",
"country": "CZ",
"phone": "+9607658358"
}
},
"accountSettings": {
"box": "A2768",
"receiveMagazines": true,
"receiveLetters": false,
"onePhoto": false,
"multiplePhotos": false,
"fastMailout": {
"magazines": true,
"letters": false
},
"newsletter": false
},
"verification": {
"current": 42,
"documents": {
"id1": true,
"id2": false,
"utilityBills": true,
"form1583Notarized": true,
"form1583": false
}
}
}
## Other names [/api/v1/other-names]
### Get list [GET]
List of user other names
+ Response 200 (application/json)
[
{
"id": 1,
"firstName": "Jim",
"lastName": "Example",
"address": "Example street 2",
"city": "Example City 1",
"zip": "15400",
"country": "RU",
"phone": "+420720800000",
"verify": true,
"missingDocuments": []
},
{
"id": 42,
"firstName": "Jane",
"lastName": "Foo",
"address": "Somewhere 132",
"city": "Prague",
"zip": "15400",
"country": "CZ",
"phone": "+420720820000",
"verify": false,
"missingDocuments": [
"form1583",
"form1583_notarized",
"id1",
"id2",
"utility",
"other",
"card"
]
}
]
### Add other name [POST]
Add other name
+ Request (application/json)
{
"firstName": "Chrochtos",
"lastName": "Prdoch",
"address": "Main square 3",
"city": "Coruscant",
"zip": "777GC",
"phone": "+232444555111"
}
+ Response 200 (application/json)
{
"id": 42,
"firstName": "Chrochtos",
"lastName": "Prdoch",
"address": "Main square 3",
"city": "Coruscant",
"zip": "777GC",
"country": "CZ",
"phone": "+232444555111",
"verify": false,
"missingDocuments": [
"form1583",
"form1583_notarized",
"id1",
"id2",
"utility",
"other",
"card"
]
}
## /api/v1/other-names/{otherNameId}
### Edit other name [PUT]
+ Request (application/json)
{
"firstName": "Chrochtos",
"lastName": "Prdoch",
"address": "Main square 3",
"city": "Coruscant",
"zip": "777GC",
"phone": "+232444555111"
}
+ Response 200
### Delete other name [DELETE]
+ Response 204
## /api/v1/user-info
### GET
Basic user info used in navigation bar
+ Response 200 (application/json)
{
"boxNo": "A2768",
"balance": {
"deposit": 3428.12,
"total": 1104.85,
"due": 0
},
"email": "email@example.com",
"status": "gold",
"statusPercentage": 60,
"inWarehousePackagesCount": 34,
"sentPackagesCount": 113,
"unreadNews": 0
}
## /api/v1/settings/general
### GET
Returns user general settings
+ Response 200 (application/json)
{
"receiveMagazines": true,
"receiveLetters": true,
"onePhoto": false,
"multiplePhotos": false,
"fastMailout": {
"magazines": true,
"letters": true
},
"newsletter": true
}
### POST
Set user general settings
+ Request (application/json)
{
"receiveMagazines": true,
"receiveLetters": true,
"onePhoto": false,
"multiplePhotos": false,
"fastMailout": {
"magazines": true,
"letters": true
},
"newsletter": true
}
+ Response 204
## /api/v1/settings/change-password
### POST
Change password
+ Request (application/json)
{
"oldPassword": "123456"
"newPassword": "987654321"
}
+ Response 204
## /api/v1/settings/change-email
### POST
Change email
+ Request (application/json)
{
"email": "new-email@example.com",
"password": "123456"
}
+ Response 204
## /api/v1/transactions
### GET
Transaction statement
+ Response 200 (application/json)
[
{
"amount": 1423.89,
"comment": "Initial Deposit",
"date": 1279664150000,
"subtotal": 1423.89
},
{
"amount": -15,
"comment": "Mailout of package <b>21732-CY</b>",
"date": 1279908681000,
"subtotal": 1423.89
},
{
"amount": 0,
"comment": "Undo mailout of package <b>21732-CY</b>",
"date": 1279908717000,
"subtotal": 1593.72
}
]
## Default address [/api/v1/default-address]
### GET
+ Response 200 (application/json)
{
"firstName": "John",
"lastName": "Doe",
"company": "John Doe",
"taxId": "",
"address": "Madison Ave 1",
"city": "New York",
"zip": "10018",
"state": "NY",
"country": "US",
"phone": "3256987412"
}
### PUT
+ Request (application/json)
{
"firstName": "John",
"lastName": "Doe",
"company": "",
"taxId": "",
"address": "Madison Ave 2",
"zip": "10018",
"city": "King's Landing",
"state": "NY",
"country": "US",
"phone": "3256987412"
}
+ Response 204
# Group Issues
## /api/v1/issues
### GET
List of posted claims/issues
+ Response 200 (application/json)
[
{
"trackingNo": "13245648318434",
"date": 1279664150000,
"systemResponse": "Package entered as your package 00-CJ",
"ourResponse": ""
},
{
"trackingNo": "686986543543465464",
"date": 1279664150000,
"systemResponse": "",
"ourResponse": "We are charging you additional fee $5 for claim TTOORIWKDKSJK (asdfsadfads). The amount was deducted from your deposit. Reason: testing fee"
},
{
"trackingNo": "989833543536534",
"date": 1279664150000,
"systemResponse": "Closed by Client. Comment: ddd ",
"ourResponse": ""
},
{
"trackingNo": "5434524784284728757",
"date": 1279664150000,
"systemResponse": "",
"ourResponse": "Not a valid tracking number"
},
{
"trackingNo": "24524242842432843",
"date": 1279664150000,
"systemResponse": "Package entered as your package 00-CJ",
"ourResponse": ""
}
]
### POST
Save a new issue
+ Request (application/json)
{
"packageId": "RV",
"comment": "comment",
"trackingNo": null,
"shopName": null,
"type": "not_delivered_client"
}
+ Response 204
## /api/v1/issues/new
### GET
List of packages to which a claim/issue can be posted
+ Response 200 (application/json)
{
"packages": ["LP", "MB", "PO", "JK", "DC", "DM", "TK", "XP"]
}
## /api/v1/issues/package-detail/{packageId}
### GET
Package details needed for creating an issue
+ Response 200 (application/json)
{
"id": "F",
"boxNo": "A2768",
"sent": 1283820705000,
"shippingMethod": "SHIPITO_TRUCK",
"trackingNo": "",
"claims": {
"damaged_missing_items": {
"possible": false,
"errorCode": 0
},
"not_delivered_client": {
"possible": true,
"errorCode": null
}
}
}
# Group News
## /api/v1/news
### GET
News
+ Response 200 (application/json)
[
{
"id": 1,
"title": "Happy Thanksgiving!",
"date": 1279664150000,
"text": "We'll be closed on Thanksgiving (Thursday, November 28th, 2013). Business will resume like normal on Friday, November 29th, 2013. Thank you for your business",
"unread": false
},
{
"id": 2,
"title": "Airsoft guns, toy guns",
"date": 1279664150000,
"text": "Starting November 22nd, 2013, TNT will not accept any shipment that contains airsoft guns, paintball guns or any type of replica toy guns. DHL, FedEx may still accept the shipment but please find out from your country's custom first for regulation as well. Thank you",
"unread": true
},
{
"id": 3,
"title": "Airmail doesn't accept lithium batteries",
"date": 1279664150000,
"text": "Airmail shipping method doesn't accept lithium batteries effective immediately. For lithium battery shipments please use alternative shipping methods like USPS Priority or Express.",
"unread": true
}
]
## /api/v1/news/seen
### POST
Set last seen news
+ Request (application/json)
{
"lastId": 215
}
+ Response 204
# Group Benefits
## /api/v1/benefits
### GET
List of user benefits
+ Response 200 (application/json)
{
"points": 15.59,
"benefits": [
{
"id": 123,
"description": "FedEx Priority: 5% Discount from Tualatin, OR warehouse",
"availableUntil": 1279664150000,
"warehouse": {
"id": 123,
"name": "Tualatin",
"state": "CA"
},
"shippingCountry": "BR"
},
{
"id": 124,
"description": "FedEx Priority: 10% Discount from Tualatin, OR warehouse",
"availableUntil": 1279664150000,
"warehouse": null,
"shippingCountry": null
}
]
}
## /api/v1/benefits/select
### POST
Select
+ Request (application/json)
{
"id": 123
}
+ Response 200 (application/json)
[]
# Group Packages
## Package status
Primary package status is derived from current location of the parcel.
| Status | Description |
|:-------------|:-------------------------------------------------------------------------------|
| in warehouse | Package is in one of our warehouses or on a way from one warehouse to another. |
| merged | Parcel was consolidated into another box, it stopped existing on its own. |
| sent | Package was passed to selected carrier. |
| trashed | Parcel was trashed. |
Secondary status is expressed using boolean flags.
| Flag | Description |
|:-----|:------------|
| customsDeclarationFilled | True if customs declaration has been filled in. |
| sufficientDeposit | True when the total price for sending a package is lower or equal to current deposit. |
| specialRequestInProgress | True for packages which have some unfinished special request(s). |
| onSecurityHold | True if customer's account has been put on security hold. See http://www.shipito.com/faq#security. |
| receivedUnderOtherName | True if account holder wasn't package recipient. See http://www.shipito.com/faq#additionalnames. |
| otherNameVerified | True when receivedUnderOtherName is true and the other name is verified. |
| shippingMethodSelected | True for packages with a shipping method selected. |
| insuranceSelected | True for packages with an insurance option selected. |
| measured | True if a package has been measured. There is usually a small time gap between a package receipt and measuring its dimensions. |
| weighted | True if a package has been weighted. There may be a time gap between measuring the size and getting its weight. |
| requiresTaxId | True if current combination of carrier and delivery country requires tax id filled in the shipping address. |
| hasTaxId | True if tax id is filled in. |
| fitsMontlyLimit | True if the total price for sending a package is lower or equal to remaining monthly limit. |
| requiresNotarizedForm1583 | True if we require a notarized form 1583 to send the package. Generally true for letters. |
| hasNotarizedForm1583 | True for accounts with an uploaded notarized form 1583. |
| queuedForConsolidation | True for packages which are to be consolidated. |
| queuedForMps | True when a package is to be send in an MPS shipment. |
| hasOpenIssue | True if there is an open claim for a package. |
| contentPhotos | True if customer has asked us to take a content photo(s) using special requests. |
| mailoutScheduled | True when user instructed us to mailout a package when we have all the needed information. |
| delivered | True for packages marked as delivered. |
| mailboxUpgradeNeeded | True for accounts with "Individual Packages" plan and more than one parcel in our warehouse. |
| readyToSend | True when customer fills in required information, schedules a mailout and we finish all special requests. |
How the "ready to send" condition works (every line needs to be equal to true, symbol || stands for or)
* customsDeclarationFilled
* sufficientDeposit
* !specialRequestInProgress
* !onSecurityHold
* (!receivedUnderOtherName || otherNameVerified)
* shippingMethodSelected
* insuranceSelected
* measured
* weighted
* (!requiresNotarizedForm1583 || hasNotarizedForm1583)
* !queuedForConsolidation
* !queuedForMps
* !hasOpenIssue
* mailoutScheduled
* !mailboxUpgradeNeeded |
## /api/v1/packages?filter=in-warehouse
### GET
List packages which are in a warehouse
+ Response 200 (application/json)
[
{
"packageId": "A",
"warehouse": {
"id": 7,
"name": "Torrance, CA"
},
"status": "in warehouse",
"dimensions": {
"width": 0,
"height": 0,
"length": 0
},
"weight": 0,
"deliveryDate": 1378788198,
"trackingNumber": "1Z7F382V0215698550",
"outgoingTrackingNumber": "",
"note": "Sweet roll ice cream gummies bonbon topping dessert sweet roll. Powder dragee pudding marzipan sweet roll candy powder fruitcake.",
"totalPrice": 666,
"isConsolidation": true,
"photos": [
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/01-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/01-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/01-big.png"
},
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/02-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/02-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/02-big.png"
},
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/03-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/03-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/03-big.png"
},
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/04-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/04-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/04-big.png"
},
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/04-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/04-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/04-big.png"
}
],
"shipping": {
"address": {
"firstName": "Jon",
"lastName": "Snow"
},
"method": {
"alias": "DHL_EXPRESS",
"name": "DHL Express"
}
},
"flags": {
"hasOpenIssue": false,
"contentPhotos": false,
"sufficientDeposit": true,
"fitsMonthlyLimit": true,
"shippingMethodSelected": false,
"insuranceSelected": false,
"customsDeclarationFilled": true,
"receivedUnderOtherName": true,
"otherNameVerified": false,
"specialRequestInProgress": false,
"requiresTaxId": false,
"hasTaxId": false,
"requiresNotarizedForm1583": false,
"hasNotarizedForm1583": true,
"onSecurityHold": false,
"measured": false,
"weighted": false,
"queuedForConsolidation": false,
"queuedForMps": false,
"mailboxUpgradeNeeded": false,
"mailoutScheduled": true,
"readyToSend": false
}
},
{
"packageId": "ABC",
"warehouse": {
"id": 7,
"name": "Torrance, CA"
},
"status": "in warehouse",
"dimensions": {
"width": 10,
"height": 15,
"length": 15
},
"weight": 12,
"deliveryDate": 1378788198,
"trackingNumber": "1Z7F382V0215698550",
"outgoingTrackingNumber": "",
"note": "Sweet roll ice cream gummies bonbon topping dessert sweet roll. Powder dragee pudding marzipan sweet roll candy powder fruitcake.",
"totalPrice": 132,
"isConsolidation": false,
"photos": [
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/01-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/01-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/01-big.png"
},
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/02-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/02-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/02-big.png"
},
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/03-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/03-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/03-big.png"
},
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/04-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/04-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/04-big.png"
},
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/04-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/04-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/04-big.png"
}
],
"shipping": {
"address": {
"firstName": "Jon",
"lastName": "Snow"
},
"method": {
"alias": "DHL_EXPRESS",
"name": "DHL Express"
}
},
"flags": {
"hasOpenIssue": false,
"contentPhotos": false,
"sufficientDeposit": true,
"fitsMonthlyLimit": true,
"shippingMethodSelected": false,
"insuranceSelected": false,
"customsDeclarationFilled": true,
"receivedUnderOtherName": true,
"otherNameVerified": false,
"specialRequestInProgress": false,
"requiresTaxId": false,
"hasTaxId": false,
"requiresNotarizedForm1583": false,
"hasNotarizedForm1583": true,
"onSecurityHold": false,
"measured": true,
"weighted": true,
"queuedForConsolidation": false,
"queuedForMps": false,
"mailboxUpgradeNeeded": false,
"mailoutScheduled": true,
"readyToSend": false
}
},
{
"packageId": "BC",
"warehouse": {
"id": 7,
"name": "Torrance, CA"
},
"status": "in warehouse",
"dimensions": {
"width": 10,
"height": 15,
"length": 15
},
"weight": 5,
"deliveryDate": 1378788198,
"trackingNumber": "1Z7F382V0215698550",
"outgoingTrackingNumber": "",
"note": "Sweet roll ice cream gummies bonbon topping dessert sweet roll. Powder dragee pudding marzipan sweet roll candy powder fruitcake.",
"totalPrice": 132,
"isConsolidation": false,
"photos": [
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/01-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/01-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/01-big.png"
},
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/02-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/02-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/02-big.png"
},
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/03-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/03-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/03-big.png"
},
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/04-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/04-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/04-big.png"
},
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/04-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/04-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/04-big.png"
}
],
"shipping": {
"address": {
"firstName": "Jon",
"lastName": "Snow"
},
"method": {
"alias": "DHL_EXPRESS",
"name": "DHL Express"
}
},
"flags": {
"hasOpenIssue": false,
"contentPhotos": false,
"sufficientDeposit": true,
"fitsMonthlyLimit": true,
"shippingMethodSelected": false,
"insuranceSelected": false,
"customsDeclarationFilled": true,
"receivedUnderOtherName": true,
"otherNameVerified": true,
"specialRequestInProgress": false,
"requiresTaxId": false,
"hasTaxId": false,
"requiresNotarizedForm1583": false,
"hasNotarizedForm1583": true,
"onSecurityHold": false,
"measured": true,
"weighted": true,
"queuedForConsolidation": false,
"queuedForMps": false,
"mailboxUpgradeNeeded": false,
"mailoutScheduled": true,
"readyToSend": true
}
},
{
"packageId": "DB",
"warehouse": {
"id": 7,
"name": "Torrance, CA"
},
"status": "in warehouse",
"dimensions": {
"width": 0,
"height": 0,
"length": 0
},
"weight": 4,
"deliveryDate": 1378788198,
"trackingNumber": "1Z7F382V0215698550",
"outgoingTrackingNumber": "",
"note": "Sweet roll ice cream gummies bonbon topping dessert sweet roll. Powder dragee pudding marzipan sweet roll candy powder fruitcake.",
"totalPrice": 132,
"isConsolidation": false,
"photos": [
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/01-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/01-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/01-big.png"
},
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/02-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/02-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/02-big.png"
},
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/03-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/03-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/03-big.png"
},
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/04-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/04-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/04-big.png"
},
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/04-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/04-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/04-big.png"
}
],
"shipping": {
"address": {
"firstName": "Jon",
"lastName": "Snow"
},
"method": null
},
"flags": {
"hasOpenIssue": false,
"contentPhotos": false,
"sufficientDeposit": true,
"fitsMonthlyLimit": true,
"shippingMethodSelected": false,
"insuranceSelected": false,
"customsDeclarationFilled": true,
"receivedUnderOtherName": true,
"otherNameVerified": true,
"specialRequestInProgress": false,
"requiresTaxId": false,
"hasTaxId": false,
"requiresNotarizedForm1583": false,
"hasNotarizedForm1583": true,
"onSecurityHold": false,
"measured": true,
"weighted": true,
"queuedForConsolidation": false,
"queuedForMps": false,
"mailboxUpgradeNeeded": false,
"mailoutScheduled": true,
"readyToSend": true
}
},
{
"packageId": "XO",
"warehouse": {
"id": 20,
"name": "Hawthorne, CA"
},
"status": "in warehouse",
"dimensions": {
"width": 10,
"height": 15,
"length": 15
},
"weight": 50,
"deliveryDate": 1378788198,
"trackingNumber": "1Z7F382V0215698550",
"outgoingTrackingNumber": null,
"note": "Sweet roll ice cream gummies bonbon topping dessert sweet roll. Powder dragee pudding marzipan sweet roll candy powder fruitcake.",
"totalPrice": 132,
"isConsolidation": false,
"photos": [
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/01-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/01-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/01-big.png"
},
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/02-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/02-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/02-big.png"
},
{
"thumbnail": "https://dl.dropboxusercontent.com/u/7235369/photos/03-thumb.png",
"small": "https://dl.dropboxusercontent.com/u/7235369/photos/03-small.png",
"large": "https://dl.dropboxusercontent.com/u/7235369/photos/03-big.png"
},