@shipengine/connect-carrier-api 4.16.8 → 4.16.11
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.
- package/lib/app/metadata/service-point-feature.d.ts +2 -1
- package/lib/app/metadata/service-point-feature.js +1 -0
- package/lib/app/metadata/service-point-feature.js.map +1 -1
- package/lib/models/pickup/pickup-shipment-details.d.ts +2 -2
- package/lib/models/pickup/pickup-shipment-details.js.map +1 -1
- package/lib/models/pickup/shipped-shipment.d.ts +3 -1
- package/lib/models/pickup/shipped-shipment.js +2 -0
- package/lib/models/pickup/shipped-shipment.js.map +1 -1
- package/package.json +2 -2
- package/spec.json +551 -194
- package/src/app/metadata/service-point-feature.ts +1 -0
- package/src/models/pickup/pickup-shipment-details.ts +2 -2
- package/src/models/pickup/shipped-shipment.ts +5 -2
- package/tsconfig.tsbuildinfo +1 -1
package/spec.json
CHANGED
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Shipping API",
|
|
5
5
|
"description": "This API specification describes the canonical ShipEngine Shipping API connector module.",
|
|
6
|
-
"version": "1.28.
|
|
6
|
+
"version": "1.28.10"
|
|
7
7
|
},
|
|
8
8
|
"paths": {
|
|
9
9
|
"/Register": {
|
|
10
10
|
"post": {
|
|
11
|
-
"tags": [
|
|
11
|
+
"tags": [
|
|
12
|
+
"Account Setup"
|
|
13
|
+
],
|
|
12
14
|
"description": "This method is used to authenticate with your application. It is responsible for verifying the supplied\r\nuser credentials and establishing or renewing a connection. The authentication information will be\r\nstored in the metadata object and will be included in all request bodies. All applications must\r\nimplement the Register method.",
|
|
13
15
|
"operationId": "Register",
|
|
14
16
|
"requestBody": {
|
|
@@ -61,7 +63,9 @@
|
|
|
61
63
|
},
|
|
62
64
|
"/CreateLabel": {
|
|
63
65
|
"post": {
|
|
64
|
-
"tags": [
|
|
66
|
+
"tags": [
|
|
67
|
+
"Labels"
|
|
68
|
+
],
|
|
65
69
|
"description": "This method creates a new label.",
|
|
66
70
|
"operationId": "CreateLabel",
|
|
67
71
|
"parameters": [
|
|
@@ -101,7 +105,9 @@
|
|
|
101
105
|
},
|
|
102
106
|
"/VoidLabels": {
|
|
103
107
|
"post": {
|
|
104
|
-
"tags": [
|
|
108
|
+
"tags": [
|
|
109
|
+
"Labels"
|
|
110
|
+
],
|
|
105
111
|
"description": "This method is used to void a previously created labels.",
|
|
106
112
|
"operationId": "VoidLabels",
|
|
107
113
|
"requestBody": {
|
|
@@ -130,7 +136,9 @@
|
|
|
130
136
|
},
|
|
131
137
|
"/CreateManifest": {
|
|
132
138
|
"post": {
|
|
133
|
-
"tags": [
|
|
139
|
+
"tags": [
|
|
140
|
+
"Manifesting"
|
|
141
|
+
],
|
|
134
142
|
"description": "This method creates an end-of-day manifest and should be implemented by carrier apps that support\r\nend-of-day manifesting.",
|
|
135
143
|
"operationId": "CreateManifest",
|
|
136
144
|
"requestBody": {
|
|
@@ -159,7 +167,9 @@
|
|
|
159
167
|
},
|
|
160
168
|
"/GetManifest": {
|
|
161
169
|
"post": {
|
|
162
|
-
"tags": [
|
|
170
|
+
"tags": [
|
|
171
|
+
"Manifesting"
|
|
172
|
+
],
|
|
163
173
|
"description": "This method retrieves the end-of-day manifest created by an earlier create manifest call.\r\nThe CreateManifestRequestId returned in the CreateManifest, is used to find the manifest.",
|
|
164
174
|
"operationId": "GetManifest",
|
|
165
175
|
"requestBody": {
|
|
@@ -188,7 +198,9 @@
|
|
|
188
198
|
},
|
|
189
199
|
"/ValidateInboundData": {
|
|
190
200
|
"post": {
|
|
191
|
-
"tags": [
|
|
201
|
+
"tags": [
|
|
202
|
+
"Normalize Inbound Data"
|
|
203
|
+
],
|
|
192
204
|
"description": "This method validates and then returns the type of information contained in the inbound data,\r\nsuch as tracking information\r\n \r\nCarriers which support webhook based tracking or manifesting updates may choose to implement this endpoint\r\n \r\nNote: Changes made to the connection meta-data will not be saved if modified",
|
|
193
205
|
"operationId": "ValidateInboundData",
|
|
194
206
|
"requestBody": {
|
|
@@ -201,7 +213,9 @@
|
|
|
201
213
|
"example": {
|
|
202
214
|
"data": "{\"tracking_number\":\"12345678901234567890\",\"status\":11,\"timestamp\":\"2021-08-11T21:15:00Z\"}",
|
|
203
215
|
"headers": {
|
|
204
|
-
"content-type": [
|
|
216
|
+
"content-type": [
|
|
217
|
+
"application/json"
|
|
218
|
+
],
|
|
205
219
|
"X-Signature": [
|
|
206
220
|
"v1:cedff7d0389299089e4c62c1042ce93059664d455ed0bfdf29cb959a861bda4b",
|
|
207
221
|
"v2:4b3157c730e498cb1126359fa020017e9e7c97b148f2d55da822fdfcd83e4a19"
|
|
@@ -228,7 +242,11 @@
|
|
|
228
242
|
"examples": {
|
|
229
243
|
"Tracking": {
|
|
230
244
|
"summary": "Tracking",
|
|
231
|
-
"value": {
|
|
245
|
+
"value": {
|
|
246
|
+
"content_types": [
|
|
247
|
+
"tracking"
|
|
248
|
+
]
|
|
249
|
+
}
|
|
232
250
|
}
|
|
233
251
|
}
|
|
234
252
|
}
|
|
@@ -239,7 +257,9 @@
|
|
|
239
257
|
},
|
|
240
258
|
"/NormalizeTrackingData": {
|
|
241
259
|
"post": {
|
|
242
|
-
"tags": [
|
|
260
|
+
"tags": [
|
|
261
|
+
"Normalize Inbound Data"
|
|
262
|
+
],
|
|
243
263
|
"description": "This method returns normalized tracking information for one or more shipments based on data send by the carrier\r\n \r\nCarriers which support webhook based tracking updates may choose to implement this endpoint\r\n \r\nNote: Changes made to the connection meta-data will not be saved if modified",
|
|
244
264
|
"operationId": "NormalizeTrackingData",
|
|
245
265
|
"requestBody": {
|
|
@@ -252,7 +272,9 @@
|
|
|
252
272
|
"example": {
|
|
253
273
|
"data": "{\"tracking_number\":\"12345678901234567890\",\"status\":11,\"timestamp\":\"2021-08-11T21:15:00Z\"}",
|
|
254
274
|
"headers": {
|
|
255
|
-
"content-type": [
|
|
275
|
+
"content-type": [
|
|
276
|
+
"application/json"
|
|
277
|
+
],
|
|
256
278
|
"X-Signature": [
|
|
257
279
|
"v1:cedff7d0389299089e4c62c1042ce93059664d455ed0bfdf29cb959a861bda4b",
|
|
258
280
|
"v2:4b3157c730e498cb1126359fa020017e9e7c97b148f2d55da822fdfcd83e4a19"
|
|
@@ -289,7 +311,10 @@
|
|
|
289
311
|
"carrier_status_description": "Delivered",
|
|
290
312
|
"estimated_delivery_datetime": "2021-08-11T00:00:00",
|
|
291
313
|
"actual_delivery_datetime": "2021-08-11T21:15:00Z",
|
|
292
|
-
"service": {
|
|
314
|
+
"service": {
|
|
315
|
+
"code": "03",
|
|
316
|
+
"name": "UPS® Ground"
|
|
317
|
+
},
|
|
293
318
|
"packaging": "package",
|
|
294
319
|
"package_count": 1,
|
|
295
320
|
"shipping_problem": false,
|
|
@@ -308,7 +333,9 @@
|
|
|
308
333
|
},
|
|
309
334
|
"/CreateNotification": {
|
|
310
335
|
"post": {
|
|
311
|
-
"tags": [
|
|
336
|
+
"tags": [
|
|
337
|
+
"Shipment Notifications"
|
|
338
|
+
],
|
|
312
339
|
"operationId": "CreateNotification",
|
|
313
340
|
"requestBody": {
|
|
314
341
|
"content": {
|
|
@@ -335,7 +362,9 @@
|
|
|
335
362
|
},
|
|
336
363
|
"/CancelNotification": {
|
|
337
364
|
"post": {
|
|
338
|
-
"tags": [
|
|
365
|
+
"tags": [
|
|
366
|
+
"Shipment Notifications"
|
|
367
|
+
],
|
|
339
368
|
"operationId": "CancelNotification",
|
|
340
369
|
"requestBody": {
|
|
341
370
|
"content": {
|
|
@@ -362,7 +391,9 @@
|
|
|
362
391
|
},
|
|
363
392
|
"/SchedulePickup": {
|
|
364
393
|
"post": {
|
|
365
|
-
"tags": [
|
|
394
|
+
"tags": [
|
|
395
|
+
"Scheduled Pickups"
|
|
396
|
+
],
|
|
366
397
|
"description": "This method is used to schedule a pickup with a carrier.",
|
|
367
398
|
"operationId": "SchedulePickup",
|
|
368
399
|
"requestBody": {
|
|
@@ -391,7 +422,9 @@
|
|
|
391
422
|
},
|
|
392
423
|
"/CancelPickup": {
|
|
393
424
|
"post": {
|
|
394
|
-
"tags": [
|
|
425
|
+
"tags": [
|
|
426
|
+
"Scheduled Pickups"
|
|
427
|
+
],
|
|
395
428
|
"operationId": "CancelPickup",
|
|
396
429
|
"requestBody": {
|
|
397
430
|
"content": {
|
|
@@ -418,7 +451,9 @@
|
|
|
418
451
|
},
|
|
419
452
|
"/ListPickups": {
|
|
420
453
|
"post": {
|
|
421
|
-
"tags": [
|
|
454
|
+
"tags": [
|
|
455
|
+
"Scheduled Pickups"
|
|
456
|
+
],
|
|
422
457
|
"operationId": "ListPickups",
|
|
423
458
|
"requestBody": {
|
|
424
459
|
"content": {
|
|
@@ -445,7 +480,9 @@
|
|
|
445
480
|
},
|
|
446
481
|
"/GetRates": {
|
|
447
482
|
"post": {
|
|
448
|
-
"tags": [
|
|
483
|
+
"tags": [
|
|
484
|
+
"Rating"
|
|
485
|
+
],
|
|
449
486
|
"description": "This method calculates the shipping costs for a shipment, or multiple permutations of a shipment, to allow\r\nyour customers to select the best rate.\r\n \r\nMost carrier apps should implement this method, unless you don't support rating shipments.",
|
|
450
487
|
"operationId": "GetRates",
|
|
451
488
|
"requestBody": {
|
|
@@ -474,7 +511,9 @@
|
|
|
474
511
|
},
|
|
475
512
|
"/GetRelayPoints": {
|
|
476
513
|
"post": {
|
|
477
|
-
"tags": [
|
|
514
|
+
"tags": [
|
|
515
|
+
"Relay Points"
|
|
516
|
+
],
|
|
478
517
|
"description": "This method gets carrier relay points based on search criteria.",
|
|
479
518
|
"operationId": "GetRelayPoints",
|
|
480
519
|
"parameters": [
|
|
@@ -514,7 +553,9 @@
|
|
|
514
553
|
},
|
|
515
554
|
"/GetServicePoints": {
|
|
516
555
|
"post": {
|
|
517
|
-
"tags": [
|
|
556
|
+
"tags": [
|
|
557
|
+
"Service Points"
|
|
558
|
+
],
|
|
518
559
|
"description": "This method gets carrier service points based on search criteria.",
|
|
519
560
|
"operationId": "Get Service Points",
|
|
520
561
|
"parameters": [
|
|
@@ -554,7 +595,9 @@
|
|
|
554
595
|
},
|
|
555
596
|
"/GetServicePoint": {
|
|
556
597
|
"post": {
|
|
557
|
-
"tags": [
|
|
598
|
+
"tags": [
|
|
599
|
+
"Service Points"
|
|
600
|
+
],
|
|
558
601
|
"description": "This method gets a carrier service point by id",
|
|
559
602
|
"operationId": "Get Service Point",
|
|
560
603
|
"parameters": [
|
|
@@ -594,7 +637,9 @@
|
|
|
594
637
|
},
|
|
595
638
|
"/Track": {
|
|
596
639
|
"post": {
|
|
597
|
-
"tags": [
|
|
640
|
+
"tags": [
|
|
641
|
+
"Tracking"
|
|
642
|
+
],
|
|
598
643
|
"description": "This method returns tracking information for a shipment, including each of the tracking events that\r\nhave occurred for the shipment.\r\n \r\nMost carrier applications should implement this method, unless you don't support tracking shipments.",
|
|
599
644
|
"operationId": "Track",
|
|
600
645
|
"requestBody": {
|
|
@@ -660,7 +705,10 @@
|
|
|
660
705
|
"width": 10.0,
|
|
661
706
|
"height": 10.0
|
|
662
707
|
},
|
|
663
|
-
"service": {
|
|
708
|
+
"service": {
|
|
709
|
+
"code": "03",
|
|
710
|
+
"name": "UPS® Ground"
|
|
711
|
+
},
|
|
664
712
|
"packaging": "package",
|
|
665
713
|
"package_count": 1,
|
|
666
714
|
"events": [
|
|
@@ -674,7 +722,10 @@
|
|
|
674
722
|
"state": "TX",
|
|
675
723
|
"postal_code": "78756",
|
|
676
724
|
"country": "US",
|
|
677
|
-
"geo": {
|
|
725
|
+
"geo": {
|
|
726
|
+
"lat": 30.31,
|
|
727
|
+
"long": -97.74
|
|
728
|
+
},
|
|
678
729
|
"status_code": "AC"
|
|
679
730
|
},
|
|
680
731
|
{
|
|
@@ -687,7 +738,10 @@
|
|
|
687
738
|
"state": "TX",
|
|
688
739
|
"postal_code": "78756",
|
|
689
740
|
"country": "US",
|
|
690
|
-
"geo": {
|
|
741
|
+
"geo": {
|
|
742
|
+
"lat": 30.2,
|
|
743
|
+
"long": -97.66
|
|
744
|
+
},
|
|
691
745
|
"status_code": "IT"
|
|
692
746
|
},
|
|
693
747
|
{
|
|
@@ -700,7 +754,10 @@
|
|
|
700
754
|
"state": "CA",
|
|
701
755
|
"postal_code": "90045",
|
|
702
756
|
"country": "US",
|
|
703
|
-
"geo": {
|
|
757
|
+
"geo": {
|
|
758
|
+
"lat": 33.95,
|
|
759
|
+
"long": -118.38
|
|
760
|
+
},
|
|
704
761
|
"status_code": "IT"
|
|
705
762
|
},
|
|
706
763
|
{
|
|
@@ -713,7 +770,10 @@
|
|
|
713
770
|
"state": "CA",
|
|
714
771
|
"postal_code": "90045",
|
|
715
772
|
"country": "US",
|
|
716
|
-
"geo": {
|
|
773
|
+
"geo": {
|
|
774
|
+
"lat": 33.95,
|
|
775
|
+
"long": -118.38
|
|
776
|
+
},
|
|
717
777
|
"status_code": "IT"
|
|
718
778
|
},
|
|
719
779
|
{
|
|
@@ -726,7 +786,10 @@
|
|
|
726
786
|
"state": "CA",
|
|
727
787
|
"postal_code": "90245",
|
|
728
788
|
"country": "US",
|
|
729
|
-
"geo": {
|
|
789
|
+
"geo": {
|
|
790
|
+
"lat": 33.95,
|
|
791
|
+
"long": -118.38
|
|
792
|
+
},
|
|
730
793
|
"status_code": "AT"
|
|
731
794
|
},
|
|
732
795
|
{
|
|
@@ -739,7 +802,10 @@
|
|
|
739
802
|
"state": "CA",
|
|
740
803
|
"postal_code": "90045",
|
|
741
804
|
"country": "US",
|
|
742
|
-
"geo": {
|
|
805
|
+
"geo": {
|
|
806
|
+
"lat": 33.95,
|
|
807
|
+
"long": -118.38
|
|
808
|
+
},
|
|
743
809
|
"status_code": "IT"
|
|
744
810
|
},
|
|
745
811
|
{
|
|
@@ -752,7 +818,10 @@
|
|
|
752
818
|
"state": "CA",
|
|
753
819
|
"postal_code": "90245",
|
|
754
820
|
"country": "US",
|
|
755
|
-
"geo": {
|
|
821
|
+
"geo": {
|
|
822
|
+
"lat": 33.95,
|
|
823
|
+
"long": -118.38
|
|
824
|
+
},
|
|
756
825
|
"status_code": "DE"
|
|
757
826
|
}
|
|
758
827
|
],
|
|
@@ -792,7 +861,10 @@
|
|
|
792
861
|
"width": 10.0,
|
|
793
862
|
"height": 10.0
|
|
794
863
|
},
|
|
795
|
-
"service": {
|
|
864
|
+
"service": {
|
|
865
|
+
"code": "03",
|
|
866
|
+
"name": "UPS® Ground"
|
|
867
|
+
},
|
|
796
868
|
"packaging": "package",
|
|
797
869
|
"package_count": 1,
|
|
798
870
|
"events": [
|
|
@@ -806,7 +878,10 @@
|
|
|
806
878
|
"state": "TX",
|
|
807
879
|
"postal_code": "78756",
|
|
808
880
|
"country": "US",
|
|
809
|
-
"geo": {
|
|
881
|
+
"geo": {
|
|
882
|
+
"lat": 30.2,
|
|
883
|
+
"long": -97.66
|
|
884
|
+
},
|
|
810
885
|
"status_code": "IT"
|
|
811
886
|
},
|
|
812
887
|
{
|
|
@@ -819,7 +894,10 @@
|
|
|
819
894
|
"state": "CA",
|
|
820
895
|
"postal_code": "90245",
|
|
821
896
|
"country": "US",
|
|
822
|
-
"geo": {
|
|
897
|
+
"geo": {
|
|
898
|
+
"lat": 33.95,
|
|
899
|
+
"long": -118.38
|
|
900
|
+
},
|
|
823
901
|
"status_code": "EX"
|
|
824
902
|
}
|
|
825
903
|
],
|
|
@@ -837,7 +915,9 @@
|
|
|
837
915
|
},
|
|
838
916
|
"/ImportTrackingEvents": {
|
|
839
917
|
"post": {
|
|
840
|
-
"tags": [
|
|
918
|
+
"tags": [
|
|
919
|
+
"Tracking"
|
|
920
|
+
],
|
|
841
921
|
"description": "This method should yield imported tracking events for a connection. It should\r\nonly be implemented if you support importing tracking data in bulk via file\r\nexchange or API requests.\r\nAny information needed to retrieve tracking data for a connection should be\r\ncollected in your registration form and will be made available as metadata in\r\nthe request.\r\nSee the [Tracking Overview](https://connect.shipengine.com/shipping/tracking/)\r\nfor implementation details.",
|
|
842
922
|
"operationId": "ImportTrackingEvents",
|
|
843
923
|
"requestBody": {
|
|
@@ -869,7 +949,9 @@
|
|
|
869
949
|
},
|
|
870
950
|
"/UpdateSettings": {
|
|
871
951
|
"post": {
|
|
872
|
-
"tags": [
|
|
952
|
+
"tags": [
|
|
953
|
+
"Account Setup"
|
|
954
|
+
],
|
|
873
955
|
"description": "This method is used to update carrier settings.",
|
|
874
956
|
"operationId": "Update Settings",
|
|
875
957
|
"requestBody": {
|
|
@@ -898,7 +980,9 @@
|
|
|
898
980
|
},
|
|
899
981
|
"/ValidateShipment": {
|
|
900
982
|
"post": {
|
|
901
|
-
"tags": [
|
|
983
|
+
"tags": [
|
|
984
|
+
"Validations"
|
|
985
|
+
],
|
|
902
986
|
"description": "This method validates a shipment against carrier constraints for selected service.",
|
|
903
987
|
"operationId": "ValidateShipment",
|
|
904
988
|
"requestBody": {
|
|
@@ -929,12 +1013,18 @@
|
|
|
929
1013
|
"components": {
|
|
930
1014
|
"schemas": {
|
|
931
1015
|
"AccessibilityTypes": {
|
|
932
|
-
"enum": [
|
|
1016
|
+
"enum": [
|
|
1017
|
+
"accessible",
|
|
1018
|
+
"inaccessible"
|
|
1019
|
+
],
|
|
933
1020
|
"type": "string",
|
|
934
1021
|
"description": "Specifies if the product is accessible during delivery,\r\naccessible\r\ninaccessible"
|
|
935
1022
|
},
|
|
936
1023
|
"AddressBase": {
|
|
937
|
-
"required": [
|
|
1024
|
+
"required": [
|
|
1025
|
+
"postal_code",
|
|
1026
|
+
"country_code"
|
|
1027
|
+
],
|
|
938
1028
|
"type": "object",
|
|
939
1029
|
"properties": {
|
|
940
1030
|
"address_lines": {
|
|
@@ -969,12 +1059,21 @@
|
|
|
969
1059
|
"additionalProperties": false
|
|
970
1060
|
},
|
|
971
1061
|
"AddressResidentialIndicator": {
|
|
972
|
-
"enum": [
|
|
1062
|
+
"enum": [
|
|
1063
|
+
"unknown",
|
|
1064
|
+
"yes",
|
|
1065
|
+
"no",
|
|
1066
|
+
"commercial",
|
|
1067
|
+
"residential"
|
|
1068
|
+
],
|
|
973
1069
|
"type": "string",
|
|
974
1070
|
"description": "'Commercial' is no longer used, please use 'No'. <br />'Residential' is no longer used, please use 'Yes'."
|
|
975
1071
|
},
|
|
976
1072
|
"AddressWithContact": {
|
|
977
|
-
"required": [
|
|
1073
|
+
"required": [
|
|
1074
|
+
"postal_code",
|
|
1075
|
+
"country_code"
|
|
1076
|
+
],
|
|
978
1077
|
"type": "object",
|
|
979
1078
|
"allOf": [
|
|
980
1079
|
{
|
|
@@ -1052,7 +1151,10 @@
|
|
|
1052
1151
|
"description": "Describes whether or not the shipment is requested to be delivered on a Saturday."
|
|
1053
1152
|
},
|
|
1054
1153
|
"tip": {
|
|
1055
|
-
"required": [
|
|
1154
|
+
"required": [
|
|
1155
|
+
"currency",
|
|
1156
|
+
"amount"
|
|
1157
|
+
],
|
|
1056
1158
|
"type": "object",
|
|
1057
1159
|
"properties": {
|
|
1058
1160
|
"amount": {
|
|
@@ -1133,7 +1235,9 @@
|
|
|
1133
1235
|
"additionalProperties": false
|
|
1134
1236
|
},
|
|
1135
1237
|
"BaseRequest": {
|
|
1136
|
-
"required": [
|
|
1238
|
+
"required": [
|
|
1239
|
+
"transaction_id"
|
|
1240
|
+
],
|
|
1137
1241
|
"type": "object",
|
|
1138
1242
|
"properties": {
|
|
1139
1243
|
"transaction_id": {
|
|
@@ -1165,7 +1269,10 @@
|
|
|
1165
1269
|
"properties": {
|
|
1166
1270
|
"metadata": {
|
|
1167
1271
|
"type": "object",
|
|
1168
|
-
"additionalProperties":
|
|
1272
|
+
"additionalProperties": {
|
|
1273
|
+
"type": "object",
|
|
1274
|
+
"nullable": true
|
|
1275
|
+
},
|
|
1169
1276
|
"description": "This is an optional schemaless object that you may return with a successful response. Anything returned\r\nunder this key will be included in all future requests. For example, you may store additional static\r\nproperties about the end user or their connection to the carrier. The maximum storage size\r\nfor data under this key is 4KB.",
|
|
1170
1277
|
"nullable": true
|
|
1171
1278
|
}
|
|
@@ -1173,7 +1280,10 @@
|
|
|
1173
1280
|
"additionalProperties": false
|
|
1174
1281
|
},
|
|
1175
1282
|
"BillTo": {
|
|
1176
|
-
"required": [
|
|
1283
|
+
"required": [
|
|
1284
|
+
"postal_code",
|
|
1285
|
+
"country_code"
|
|
1286
|
+
],
|
|
1177
1287
|
"type": "object",
|
|
1178
1288
|
"allOf": [
|
|
1179
1289
|
{
|
|
@@ -1194,7 +1304,11 @@
|
|
|
1194
1304
|
"description": "Bill to is a generic object used for billing a part of the shipment, duties, taxes, or otherwise to a party\r\nother than the shipper (the shipper is considered the default party responsible). CarrierApi.Common.Request.CarrierApi.Common.Models.BillTo\r\nextends CarrierApi.Common.Models.Addresses.AddressWithContact since address fields are often required when associating billing to\r\nanother account. Additionally, this allows for a contact to be specified, if necessary."
|
|
1195
1305
|
},
|
|
1196
1306
|
"BillToParty": {
|
|
1197
|
-
"enum": [
|
|
1307
|
+
"enum": [
|
|
1308
|
+
"shipper",
|
|
1309
|
+
"recipient",
|
|
1310
|
+
"third_party_account"
|
|
1311
|
+
],
|
|
1198
1312
|
"type": "string",
|
|
1199
1313
|
"description": "The type of party responsible for a given category of charges associated with a shipment, such as shipping charges or import duties."
|
|
1200
1314
|
},
|
|
@@ -1224,7 +1338,10 @@
|
|
|
1224
1338
|
"type": "string"
|
|
1225
1339
|
},
|
|
1226
1340
|
"BillingLineItem": {
|
|
1227
|
-
"required": [
|
|
1341
|
+
"required": [
|
|
1342
|
+
"billing_category",
|
|
1343
|
+
"amount"
|
|
1344
|
+
],
|
|
1228
1345
|
"type": "object",
|
|
1229
1346
|
"properties": {
|
|
1230
1347
|
"billing_category": {
|
|
@@ -1246,7 +1363,10 @@
|
|
|
1246
1363
|
"nullable": true
|
|
1247
1364
|
},
|
|
1248
1365
|
"amount": {
|
|
1249
|
-
"required": [
|
|
1366
|
+
"required": [
|
|
1367
|
+
"currency",
|
|
1368
|
+
"amount"
|
|
1369
|
+
],
|
|
1250
1370
|
"type": "object",
|
|
1251
1371
|
"properties": {
|
|
1252
1372
|
"amount": {
|
|
@@ -1268,7 +1388,9 @@
|
|
|
1268
1388
|
"additionalProperties": false
|
|
1269
1389
|
},
|
|
1270
1390
|
"CancelNotificationRequest": {
|
|
1271
|
-
"required": [
|
|
1391
|
+
"required": [
|
|
1392
|
+
"transaction_id"
|
|
1393
|
+
],
|
|
1272
1394
|
"type": "object",
|
|
1273
1395
|
"allOf": [
|
|
1274
1396
|
{
|
|
@@ -1314,7 +1436,10 @@
|
|
|
1314
1436
|
"description": "The response to the cancellation of a pending shipment notification."
|
|
1315
1437
|
},
|
|
1316
1438
|
"CancelPickupRequest": {
|
|
1317
|
-
"required": [
|
|
1439
|
+
"required": [
|
|
1440
|
+
"pickup_windows",
|
|
1441
|
+
"transaction_id"
|
|
1442
|
+
],
|
|
1318
1443
|
"type": "object",
|
|
1319
1444
|
"allOf": [
|
|
1320
1445
|
{
|
|
@@ -1359,7 +1484,9 @@
|
|
|
1359
1484
|
"description": "A request to cancel a previously scheduled pickup"
|
|
1360
1485
|
},
|
|
1361
1486
|
"CancelPickupResponse": {
|
|
1362
|
-
"required": [
|
|
1487
|
+
"required": [
|
|
1488
|
+
"successful"
|
|
1489
|
+
],
|
|
1363
1490
|
"type": "object",
|
|
1364
1491
|
"allOf": [
|
|
1365
1492
|
{
|
|
@@ -1396,7 +1523,9 @@
|
|
|
1396
1523
|
"description": "This model represents a response for a successful cancel pickup request."
|
|
1397
1524
|
},
|
|
1398
1525
|
"CancellationDetails": {
|
|
1399
|
-
"required": [
|
|
1526
|
+
"required": [
|
|
1527
|
+
"reason"
|
|
1528
|
+
],
|
|
1400
1529
|
"type": "object",
|
|
1401
1530
|
"properties": {
|
|
1402
1531
|
"reason": {
|
|
@@ -1446,16 +1575,25 @@
|
|
|
1446
1575
|
"additionalProperties": false
|
|
1447
1576
|
},
|
|
1448
1577
|
"CodPaymentType": {
|
|
1449
|
-
"enum": [
|
|
1578
|
+
"enum": [
|
|
1579
|
+
"any",
|
|
1580
|
+
"cash",
|
|
1581
|
+
"guaranteed_funds"
|
|
1582
|
+
],
|
|
1450
1583
|
"type": "string",
|
|
1451
1584
|
"description": "Specifies which payment method is permitted when Collect on Delivery (COD) is requested on a shipment.\r\nany - Any payment method is permitted.\r\ncash - Only cash is permitted.\r\nguaranteed_funds - Only guaranteed funds are permitted, such as a money order or cashier's check."
|
|
1452
1585
|
},
|
|
1453
1586
|
"CollectOnDelivery": {
|
|
1454
|
-
"required": [
|
|
1587
|
+
"required": [
|
|
1588
|
+
"payment_amount"
|
|
1589
|
+
],
|
|
1455
1590
|
"type": "object",
|
|
1456
1591
|
"properties": {
|
|
1457
1592
|
"payment_amount": {
|
|
1458
|
-
"required": [
|
|
1593
|
+
"required": [
|
|
1594
|
+
"currency",
|
|
1595
|
+
"amount"
|
|
1596
|
+
],
|
|
1459
1597
|
"type": "object",
|
|
1460
1598
|
"properties": {
|
|
1461
1599
|
"amount": {
|
|
@@ -1719,7 +1857,9 @@
|
|
|
1719
1857
|
"description": "This model represents the response from a successful create label request."
|
|
1720
1858
|
},
|
|
1721
1859
|
"CreateManifestRequest": {
|
|
1722
|
-
"required": [
|
|
1860
|
+
"required": [
|
|
1861
|
+
"transaction_id"
|
|
1862
|
+
],
|
|
1723
1863
|
"type": "object",
|
|
1724
1864
|
"allOf": [
|
|
1725
1865
|
{
|
|
@@ -1765,7 +1905,9 @@
|
|
|
1765
1905
|
"description": "This model represents the request payload needed to manifest with a shipping provider."
|
|
1766
1906
|
},
|
|
1767
1907
|
"CreateManifestResponse": {
|
|
1768
|
-
"required": [
|
|
1908
|
+
"required": [
|
|
1909
|
+
"manifests"
|
|
1910
|
+
],
|
|
1769
1911
|
"type": "object",
|
|
1770
1912
|
"allOf": [
|
|
1771
1913
|
{
|
|
@@ -1828,7 +1970,9 @@
|
|
|
1828
1970
|
"description": "This model represents the successful response for a create manifest request."
|
|
1829
1971
|
},
|
|
1830
1972
|
"CreateNotificationRequest": {
|
|
1831
|
-
"required": [
|
|
1973
|
+
"required": [
|
|
1974
|
+
"transaction_id"
|
|
1975
|
+
],
|
|
1832
1976
|
"type": "object",
|
|
1833
1977
|
"allOf": [
|
|
1834
1978
|
{
|
|
@@ -1875,7 +2019,10 @@
|
|
|
1875
2019
|
"description": "The response to a notification request."
|
|
1876
2020
|
},
|
|
1877
2021
|
"Credentials": {
|
|
1878
|
-
"required": [
|
|
2022
|
+
"required": [
|
|
2023
|
+
"username",
|
|
2024
|
+
"password"
|
|
2025
|
+
],
|
|
1879
2026
|
"type": "object",
|
|
1880
2027
|
"properties": {
|
|
1881
2028
|
"username": {
|
|
@@ -1894,7 +2041,10 @@
|
|
|
1894
2041
|
"type": "object",
|
|
1895
2042
|
"properties": {
|
|
1896
2043
|
"freight_charge": {
|
|
1897
|
-
"required": [
|
|
2044
|
+
"required": [
|
|
2045
|
+
"currency",
|
|
2046
|
+
"amount"
|
|
2047
|
+
],
|
|
1898
2048
|
"type": "object",
|
|
1899
2049
|
"properties": {
|
|
1900
2050
|
"amount": {
|
|
@@ -1910,7 +2060,10 @@
|
|
|
1910
2060
|
"nullable": true
|
|
1911
2061
|
},
|
|
1912
2062
|
"other_charge": {
|
|
1913
|
-
"required": [
|
|
2063
|
+
"required": [
|
|
2064
|
+
"currency",
|
|
2065
|
+
"amount"
|
|
2066
|
+
],
|
|
1914
2067
|
"type": "object",
|
|
1915
2068
|
"properties": {
|
|
1916
2069
|
"amount": {
|
|
@@ -1931,7 +2084,10 @@
|
|
|
1931
2084
|
"nullable": true
|
|
1932
2085
|
},
|
|
1933
2086
|
"insurance_charge": {
|
|
1934
|
-
"required": [
|
|
2087
|
+
"required": [
|
|
2088
|
+
"currency",
|
|
2089
|
+
"amount"
|
|
2090
|
+
],
|
|
1935
2091
|
"type": "object",
|
|
1936
2092
|
"properties": {
|
|
1937
2093
|
"amount": {
|
|
@@ -1947,7 +2103,10 @@
|
|
|
1947
2103
|
"nullable": true
|
|
1948
2104
|
},
|
|
1949
2105
|
"discount": {
|
|
1950
|
-
"required": [
|
|
2106
|
+
"required": [
|
|
2107
|
+
"currency",
|
|
2108
|
+
"amount"
|
|
2109
|
+
],
|
|
1951
2110
|
"type": "object",
|
|
1952
2111
|
"properties": {
|
|
1953
2112
|
"amount": {
|
|
@@ -1984,7 +2143,10 @@
|
|
|
1984
2143
|
"$ref": "#/components/schemas/CustomsNonDelivery"
|
|
1985
2144
|
},
|
|
1986
2145
|
"buyer_shipping_amount_paid": {
|
|
1987
|
-
"required": [
|
|
2146
|
+
"required": [
|
|
2147
|
+
"currency",
|
|
2148
|
+
"amount"
|
|
2149
|
+
],
|
|
1988
2150
|
"type": "object",
|
|
1989
2151
|
"properties": {
|
|
1990
2152
|
"amount": {
|
|
@@ -2000,7 +2162,10 @@
|
|
|
2000
2162
|
"nullable": true
|
|
2001
2163
|
},
|
|
2002
2164
|
"duties_paid": {
|
|
2003
|
-
"required": [
|
|
2165
|
+
"required": [
|
|
2166
|
+
"currency",
|
|
2167
|
+
"amount"
|
|
2168
|
+
],
|
|
2004
2169
|
"type": "object",
|
|
2005
2170
|
"properties": {
|
|
2006
2171
|
"amount": {
|
|
@@ -2067,7 +2232,10 @@
|
|
|
2067
2232
|
"type": "string"
|
|
2068
2233
|
},
|
|
2069
2234
|
"CustomsNonDelivery": {
|
|
2070
|
-
"enum": [
|
|
2235
|
+
"enum": [
|
|
2236
|
+
"return_to_sender",
|
|
2237
|
+
"treat_as_abandoned"
|
|
2238
|
+
],
|
|
2071
2239
|
"type": "string",
|
|
2072
2240
|
"description": "What to do if the shipment is undeliverable."
|
|
2073
2241
|
},
|
|
@@ -2329,7 +2497,10 @@
|
|
|
2329
2497
|
"description": "This model represents the dimensions for a package represented in its original unit, inches, and centimeters."
|
|
2330
2498
|
},
|
|
2331
2499
|
"DimensionUnit": {
|
|
2332
|
-
"enum": [
|
|
2500
|
+
"enum": [
|
|
2501
|
+
"inches",
|
|
2502
|
+
"centimeters"
|
|
2503
|
+
],
|
|
2333
2504
|
"type": "string",
|
|
2334
2505
|
"description": "This model represents the supported units for dimensions."
|
|
2335
2506
|
},
|
|
@@ -2359,11 +2530,18 @@
|
|
|
2359
2530
|
"description": "This model represents the measurements for dimensions."
|
|
2360
2531
|
},
|
|
2361
2532
|
"DisplayScheme": {
|
|
2362
|
-
"enum": [
|
|
2533
|
+
"enum": [
|
|
2534
|
+
"label",
|
|
2535
|
+
"paperless_label"
|
|
2536
|
+
],
|
|
2363
2537
|
"type": "string"
|
|
2364
2538
|
},
|
|
2365
2539
|
"Document": {
|
|
2366
|
-
"required": [
|
|
2540
|
+
"required": [
|
|
2541
|
+
"type",
|
|
2542
|
+
"data",
|
|
2543
|
+
"format"
|
|
2544
|
+
],
|
|
2367
2545
|
"type": "object",
|
|
2368
2546
|
"properties": {
|
|
2369
2547
|
"type": {
|
|
@@ -2387,7 +2565,11 @@
|
|
|
2387
2565
|
"description": "Container for a document."
|
|
2388
2566
|
},
|
|
2389
2567
|
"DocumentFormat": {
|
|
2390
|
-
"enum": [
|
|
2568
|
+
"enum": [
|
|
2569
|
+
"PDF",
|
|
2570
|
+
"ZPL",
|
|
2571
|
+
"PNG"
|
|
2572
|
+
],
|
|
2391
2573
|
"type": "string"
|
|
2392
2574
|
},
|
|
2393
2575
|
"DocumentType": {
|
|
@@ -2404,7 +2586,10 @@
|
|
|
2404
2586
|
"type": "object",
|
|
2405
2587
|
"properties": {
|
|
2406
2588
|
"taxes": {
|
|
2407
|
-
"required": [
|
|
2589
|
+
"required": [
|
|
2590
|
+
"currency",
|
|
2591
|
+
"amount"
|
|
2592
|
+
],
|
|
2408
2593
|
"type": "object",
|
|
2409
2594
|
"properties": {
|
|
2410
2595
|
"amount": {
|
|
@@ -2420,7 +2605,10 @@
|
|
|
2420
2605
|
"nullable": true
|
|
2421
2606
|
},
|
|
2422
2607
|
"duties": {
|
|
2423
|
-
"required": [
|
|
2608
|
+
"required": [
|
|
2609
|
+
"currency",
|
|
2610
|
+
"amount"
|
|
2611
|
+
],
|
|
2424
2612
|
"type": "object",
|
|
2425
2613
|
"properties": {
|
|
2426
2614
|
"amount": {
|
|
@@ -2527,12 +2715,16 @@
|
|
|
2527
2715
|
"description": "Geolocation additional information for an address."
|
|
2528
2716
|
},
|
|
2529
2717
|
"GeolocationType": {
|
|
2530
|
-
"enum": [
|
|
2718
|
+
"enum": [
|
|
2719
|
+
"what3words"
|
|
2720
|
+
],
|
|
2531
2721
|
"type": "string",
|
|
2532
2722
|
"description": "Specifies the supported geolocation types."
|
|
2533
2723
|
},
|
|
2534
2724
|
"GetManifestRequest": {
|
|
2535
|
-
"required": [
|
|
2725
|
+
"required": [
|
|
2726
|
+
"transaction_id"
|
|
2727
|
+
],
|
|
2536
2728
|
"type": "object",
|
|
2537
2729
|
"allOf": [
|
|
2538
2730
|
{
|
|
@@ -2639,6 +2831,9 @@
|
|
|
2639
2831
|
"pickup_location": {
|
|
2640
2832
|
"$ref": "#/components/schemas/PudoLocation"
|
|
2641
2833
|
},
|
|
2834
|
+
"dropoff_location": {
|
|
2835
|
+
"$ref": "#/components/schemas/PudoLocation"
|
|
2836
|
+
},
|
|
2642
2837
|
"international": {
|
|
2643
2838
|
"type": "boolean",
|
|
2644
2839
|
"description": "Whether this shipment is deemed international.",
|
|
@@ -2732,7 +2927,9 @@
|
|
|
2732
2927
|
"description": "This model represents the payload sent to get relay points based on the provided search criteria."
|
|
2733
2928
|
},
|
|
2734
2929
|
"GetRelayPointsResponse": {
|
|
2735
|
-
"required": [
|
|
2930
|
+
"required": [
|
|
2931
|
+
"relay_points"
|
|
2932
|
+
],
|
|
2736
2933
|
"type": "object",
|
|
2737
2934
|
"properties": {
|
|
2738
2935
|
"relay_points": {
|
|
@@ -2747,7 +2944,9 @@
|
|
|
2747
2944
|
"description": "Basic structure for a response to get relay points"
|
|
2748
2945
|
},
|
|
2749
2946
|
"GetServicePointRequest": {
|
|
2750
|
-
"required": [
|
|
2947
|
+
"required": [
|
|
2948
|
+
"transaction_id"
|
|
2949
|
+
],
|
|
2751
2950
|
"type": "object",
|
|
2752
2951
|
"allOf": [
|
|
2753
2952
|
{
|
|
@@ -2783,7 +2982,9 @@
|
|
|
2783
2982
|
"additionalProperties": false
|
|
2784
2983
|
},
|
|
2785
2984
|
"GetServicePointsRequest": {
|
|
2786
|
-
"required": [
|
|
2985
|
+
"required": [
|
|
2986
|
+
"transaction_id"
|
|
2987
|
+
],
|
|
2787
2988
|
"type": "object",
|
|
2788
2989
|
"allOf": [
|
|
2789
2990
|
{
|
|
@@ -2851,7 +3052,10 @@
|
|
|
2851
3052
|
"additionalProperties": false
|
|
2852
3053
|
},
|
|
2853
3054
|
"Identifier": {
|
|
2854
|
-
"required": [
|
|
3055
|
+
"required": [
|
|
3056
|
+
"type",
|
|
3057
|
+
"value"
|
|
3058
|
+
],
|
|
2855
3059
|
"type": "object",
|
|
2856
3060
|
"properties": {
|
|
2857
3061
|
"type": {
|
|
@@ -2869,7 +3073,9 @@
|
|
|
2869
3073
|
"description": "A key value pair, allowing custom properties to be stored."
|
|
2870
3074
|
},
|
|
2871
3075
|
"ImportTrackingEventsRequest": {
|
|
2872
|
-
"required": [
|
|
3076
|
+
"required": [
|
|
3077
|
+
"transaction_id"
|
|
3078
|
+
],
|
|
2873
3079
|
"type": "object",
|
|
2874
3080
|
"allOf": [
|
|
2875
3081
|
{
|
|
@@ -2973,7 +3179,9 @@
|
|
|
2973
3179
|
"description": "Basic structure for a Importer Record"
|
|
2974
3180
|
},
|
|
2975
3181
|
"InboundDataContentTypes": {
|
|
2976
|
-
"enum": [
|
|
3182
|
+
"enum": [
|
|
3183
|
+
"tracking"
|
|
3184
|
+
],
|
|
2977
3185
|
"type": "string"
|
|
2978
3186
|
},
|
|
2979
3187
|
"InsuranceProviders": {
|
|
@@ -2998,7 +3206,12 @@
|
|
|
2998
3206
|
"description": "This object provides the requested label that was just created. Exactly one of the keys should be populated.\r\nSet href if the label should be downloaded separately. Set data if the label is returned directly in\r\nthe response."
|
|
2999
3207
|
},
|
|
3000
3208
|
"LabelLayouts": {
|
|
3001
|
-
"enum": [
|
|
3209
|
+
"enum": [
|
|
3210
|
+
"4x6",
|
|
3211
|
+
"letter",
|
|
3212
|
+
"A4",
|
|
3213
|
+
"A6"
|
|
3214
|
+
],
|
|
3002
3215
|
"type": "string"
|
|
3003
3216
|
},
|
|
3004
3217
|
"LabelMessage": {
|
|
@@ -3074,6 +3287,40 @@
|
|
|
3074
3287
|
"additionalProperties": false,
|
|
3075
3288
|
"description": "This model represents a geographic point."
|
|
3076
3289
|
},
|
|
3290
|
+
"ListPickupsRequest": {
|
|
3291
|
+
"required": [
|
|
3292
|
+
"transaction_id"
|
|
3293
|
+
],
|
|
3294
|
+
"type": "object",
|
|
3295
|
+
"allOf": [
|
|
3296
|
+
{
|
|
3297
|
+
"$ref": "#/components/schemas/BaseRequest"
|
|
3298
|
+
}
|
|
3299
|
+
],
|
|
3300
|
+
"properties": {
|
|
3301
|
+
"pickup_address": {
|
|
3302
|
+
"$ref": "#/components/schemas/ShipFrom"
|
|
3303
|
+
},
|
|
3304
|
+
"search_window": {
|
|
3305
|
+
"$ref": "#/components/schemas/TimeWindow"
|
|
3306
|
+
}
|
|
3307
|
+
},
|
|
3308
|
+
"additionalProperties": false
|
|
3309
|
+
},
|
|
3310
|
+
"ListPickupsResponse": {
|
|
3311
|
+
"type": "object",
|
|
3312
|
+
"properties": {
|
|
3313
|
+
"pickups": {
|
|
3314
|
+
"type": "array",
|
|
3315
|
+
"items": {
|
|
3316
|
+
"$ref": "#/components/schemas/Pickup"
|
|
3317
|
+
},
|
|
3318
|
+
"description": "List of scheduled pickups",
|
|
3319
|
+
"nullable": true
|
|
3320
|
+
}
|
|
3321
|
+
},
|
|
3322
|
+
"additionalProperties": false
|
|
3323
|
+
},
|
|
3077
3324
|
"Manifest": {
|
|
3078
3325
|
"type": "object",
|
|
3079
3326
|
"properties": {
|
|
@@ -3108,7 +3355,10 @@
|
|
|
3108
3355
|
"$ref": "#/components/schemas/CustomsNonDelivery"
|
|
3109
3356
|
},
|
|
3110
3357
|
"buyer_shipping_amount_paid": {
|
|
3111
|
-
"required": [
|
|
3358
|
+
"required": [
|
|
3359
|
+
"currency",
|
|
3360
|
+
"amount"
|
|
3361
|
+
],
|
|
3112
3362
|
"type": "object",
|
|
3113
3363
|
"properties": {
|
|
3114
3364
|
"amount": {
|
|
@@ -3124,7 +3374,10 @@
|
|
|
3124
3374
|
"nullable": true
|
|
3125
3375
|
},
|
|
3126
3376
|
"duties_paid": {
|
|
3127
|
-
"required": [
|
|
3377
|
+
"required": [
|
|
3378
|
+
"currency",
|
|
3379
|
+
"amount"
|
|
3380
|
+
],
|
|
3128
3381
|
"type": "object",
|
|
3129
3382
|
"properties": {
|
|
3130
3383
|
"amount": {
|
|
@@ -3214,15 +3467,27 @@
|
|
|
3214
3467
|
"additionalProperties": false
|
|
3215
3468
|
},
|
|
3216
3469
|
"ManifestStatus": {
|
|
3217
|
-
"enum": [
|
|
3470
|
+
"enum": [
|
|
3471
|
+
"unknown",
|
|
3472
|
+
"in_progress",
|
|
3473
|
+
"completed",
|
|
3474
|
+
"failed"
|
|
3475
|
+
],
|
|
3218
3476
|
"type": "string"
|
|
3219
3477
|
},
|
|
3220
3478
|
"MovementIndicator": {
|
|
3221
|
-
"enum": [
|
|
3479
|
+
"enum": [
|
|
3480
|
+
"b2c",
|
|
3481
|
+
"b2b",
|
|
3482
|
+
"c2c",
|
|
3483
|
+
"c2b"
|
|
3484
|
+
],
|
|
3222
3485
|
"type": "string"
|
|
3223
3486
|
},
|
|
3224
3487
|
"NormalizeTrackingDataRequest": {
|
|
3225
|
-
"required": [
|
|
3488
|
+
"required": [
|
|
3489
|
+
"transaction_id"
|
|
3490
|
+
],
|
|
3226
3491
|
"type": "object",
|
|
3227
3492
|
"allOf": [
|
|
3228
3493
|
{
|
|
@@ -3319,7 +3584,9 @@
|
|
|
3319
3584
|
"description": "The times each day that the relay point is open, for example: \"11:00-13:00, 14:30-19:30\""
|
|
3320
3585
|
},
|
|
3321
3586
|
"Package": {
|
|
3322
|
-
"required": [
|
|
3587
|
+
"required": [
|
|
3588
|
+
"insured_value"
|
|
3589
|
+
],
|
|
3323
3590
|
"type": "object",
|
|
3324
3591
|
"properties": {
|
|
3325
3592
|
"package_code": {
|
|
@@ -3339,7 +3606,10 @@
|
|
|
3339
3606
|
"$ref": "#/components/schemas/WeightDetails"
|
|
3340
3607
|
},
|
|
3341
3608
|
"insured_value": {
|
|
3342
|
-
"required": [
|
|
3609
|
+
"required": [
|
|
3610
|
+
"currency",
|
|
3611
|
+
"amount"
|
|
3612
|
+
],
|
|
3343
3613
|
"type": "object",
|
|
3344
3614
|
"properties": {
|
|
3345
3615
|
"amount": {
|
|
@@ -3373,11 +3643,20 @@
|
|
|
3373
3643
|
"description": "This model represents an individual package that is part of a shipment."
|
|
3374
3644
|
},
|
|
3375
3645
|
"PackageInstructionSectionEnum": {
|
|
3376
|
-
"enum": [
|
|
3646
|
+
"enum": [
|
|
3647
|
+
"section_1",
|
|
3648
|
+
"section_2",
|
|
3649
|
+
"section_1A",
|
|
3650
|
+
"section_1B"
|
|
3651
|
+
],
|
|
3377
3652
|
"type": "string"
|
|
3378
3653
|
},
|
|
3379
3654
|
"PackagingGroupEnum": {
|
|
3380
|
-
"enum": [
|
|
3655
|
+
"enum": [
|
|
3656
|
+
"i",
|
|
3657
|
+
"ii",
|
|
3658
|
+
"iii"
|
|
3659
|
+
],
|
|
3381
3660
|
"type": "string"
|
|
3382
3661
|
},
|
|
3383
3662
|
"PaperlessDetails": {
|
|
@@ -3395,6 +3674,27 @@
|
|
|
3395
3674
|
"additionalProperties": false,
|
|
3396
3675
|
"description": "The Paperless details for the shipment. This consists of additional information for paperless labels."
|
|
3397
3676
|
},
|
|
3677
|
+
"Pickup": {
|
|
3678
|
+
"type": "object",
|
|
3679
|
+
"properties": {
|
|
3680
|
+
"confirmation_number": {
|
|
3681
|
+
"type": "string",
|
|
3682
|
+
"description": "Original confirmation number/ID of the scheduled pickup",
|
|
3683
|
+
"nullable": true
|
|
3684
|
+
},
|
|
3685
|
+
"status": {
|
|
3686
|
+
"type": "string",
|
|
3687
|
+
"description": "Status of the pickup",
|
|
3688
|
+
"nullable": true
|
|
3689
|
+
},
|
|
3690
|
+
"status_reason": {
|
|
3691
|
+
"type": "string",
|
|
3692
|
+
"description": "Description of/reason for the status",
|
|
3693
|
+
"nullable": true
|
|
3694
|
+
}
|
|
3695
|
+
},
|
|
3696
|
+
"additionalProperties": false
|
|
3697
|
+
},
|
|
3398
3698
|
"PickupConfirmation": {
|
|
3399
3699
|
"type": "object",
|
|
3400
3700
|
"properties": {
|
|
@@ -3424,7 +3724,11 @@
|
|
|
3424
3724
|
"description": "This model contains the confirmation information for a scheduled pickup."
|
|
3425
3725
|
},
|
|
3426
3726
|
"PickupContactDetails": {
|
|
3427
|
-
"required": [
|
|
3727
|
+
"required": [
|
|
3728
|
+
"first_name",
|
|
3729
|
+
"email",
|
|
3730
|
+
"phone_number"
|
|
3731
|
+
],
|
|
3428
3732
|
"type": "object",
|
|
3429
3733
|
"properties": {
|
|
3430
3734
|
"first_name": {
|
|
@@ -3481,6 +3785,25 @@
|
|
|
3481
3785
|
"additionalProperties": false,
|
|
3482
3786
|
"description": "This model represents the place where the pickup should occur"
|
|
3483
3787
|
},
|
|
3788
|
+
"PickupShipment": {
|
|
3789
|
+
"type": "object",
|
|
3790
|
+
"allOf": [
|
|
3791
|
+
{
|
|
3792
|
+
"$ref": "#/components/schemas/ShippedShipment"
|
|
3793
|
+
}
|
|
3794
|
+
],
|
|
3795
|
+
"properties": {
|
|
3796
|
+
"display_schemes": {
|
|
3797
|
+
"type": "array",
|
|
3798
|
+
"items": {
|
|
3799
|
+
"$ref": "#/components/schemas/DisplayScheme"
|
|
3800
|
+
},
|
|
3801
|
+
"description": "Label display scheme.",
|
|
3802
|
+
"nullable": true
|
|
3803
|
+
}
|
|
3804
|
+
},
|
|
3805
|
+
"additionalProperties": false
|
|
3806
|
+
},
|
|
3484
3807
|
"PickupShipmentDetails": {
|
|
3485
3808
|
"type": "object",
|
|
3486
3809
|
"properties": {
|
|
@@ -3492,7 +3815,7 @@
|
|
|
3492
3815
|
"shipments": {
|
|
3493
3816
|
"type": "array",
|
|
3494
3817
|
"items": {
|
|
3495
|
-
"$ref": "#/components/schemas/
|
|
3818
|
+
"$ref": "#/components/schemas/PickupShipment"
|
|
3496
3819
|
},
|
|
3497
3820
|
"description": "The shipments that will be picked up",
|
|
3498
3821
|
"nullable": true
|
|
@@ -3502,7 +3825,12 @@
|
|
|
3502
3825
|
"description": "Contains information regarding the service code for the pickup request and the packages that will be picked up"
|
|
3503
3826
|
},
|
|
3504
3827
|
"PickupWindow": {
|
|
3505
|
-
"required": [
|
|
3828
|
+
"required": [
|
|
3829
|
+
"time_zone_iana",
|
|
3830
|
+
"pickup_date",
|
|
3831
|
+
"start_time",
|
|
3832
|
+
"end_time"
|
|
3833
|
+
],
|
|
3506
3834
|
"type": "object",
|
|
3507
3835
|
"properties": {
|
|
3508
3836
|
"time_zone_iana": {
|
|
@@ -3536,7 +3864,9 @@
|
|
|
3536
3864
|
"description": "This model represents a window of time a pickup could be made."
|
|
3537
3865
|
},
|
|
3538
3866
|
"Products": {
|
|
3539
|
-
"required": [
|
|
3867
|
+
"required": [
|
|
3868
|
+
"value"
|
|
3869
|
+
],
|
|
3540
3870
|
"type": "object",
|
|
3541
3871
|
"properties": {
|
|
3542
3872
|
"description": {
|
|
@@ -3550,7 +3880,10 @@
|
|
|
3550
3880
|
"format": "int32"
|
|
3551
3881
|
},
|
|
3552
3882
|
"value": {
|
|
3553
|
-
"required": [
|
|
3883
|
+
"required": [
|
|
3884
|
+
"currency",
|
|
3885
|
+
"amount"
|
|
3886
|
+
],
|
|
3554
3887
|
"type": "object",
|
|
3555
3888
|
"properties": {
|
|
3556
3889
|
"amount": {
|
|
@@ -3620,7 +3953,10 @@
|
|
|
3620
3953
|
"description": "This model represents the product information for a single item."
|
|
3621
3954
|
},
|
|
3622
3955
|
"PudoLocation": {
|
|
3623
|
-
"required": [
|
|
3956
|
+
"required": [
|
|
3957
|
+
"postal_code",
|
|
3958
|
+
"country_code"
|
|
3959
|
+
],
|
|
3624
3960
|
"type": "object",
|
|
3625
3961
|
"allOf": [
|
|
3626
3962
|
{
|
|
@@ -3730,7 +4066,9 @@
|
|
|
3730
4066
|
"description": "This model represents a rate for a given service code."
|
|
3731
4067
|
},
|
|
3732
4068
|
"RawExternalSource": {
|
|
3733
|
-
"required": [
|
|
4069
|
+
"required": [
|
|
4070
|
+
"marketplace_code"
|
|
4071
|
+
],
|
|
3734
4072
|
"type": "object",
|
|
3735
4073
|
"properties": {
|
|
3736
4074
|
"marketplace_code": {
|
|
@@ -3743,7 +4081,10 @@
|
|
|
3743
4081
|
"description": "This model represents a raw external source of information."
|
|
3744
4082
|
},
|
|
3745
4083
|
"RegisterRequest": {
|
|
3746
|
-
"required": [
|
|
4084
|
+
"required": [
|
|
4085
|
+
"registration_info",
|
|
4086
|
+
"transaction_id"
|
|
4087
|
+
],
|
|
3747
4088
|
"type": "object",
|
|
3748
4089
|
"allOf": [
|
|
3749
4090
|
{
|
|
@@ -3765,7 +4106,10 @@
|
|
|
3765
4106
|
"description": "This model represents the body of a request used to register a new user within ShipEngine."
|
|
3766
4107
|
},
|
|
3767
4108
|
"RegisterResponse": {
|
|
3768
|
-
"required": [
|
|
4109
|
+
"required": [
|
|
4110
|
+
"credentials",
|
|
4111
|
+
"metadata"
|
|
4112
|
+
],
|
|
3769
4113
|
"type": "object",
|
|
3770
4114
|
"properties": {
|
|
3771
4115
|
"credentials": {
|
|
@@ -3878,7 +4222,10 @@
|
|
|
3878
4222
|
"description": "The address information corresponding to a specific relay point"
|
|
3879
4223
|
},
|
|
3880
4224
|
"RelayPointDetails": {
|
|
3881
|
-
"required": [
|
|
4225
|
+
"required": [
|
|
4226
|
+
"ship_to",
|
|
4227
|
+
"ship_from"
|
|
4228
|
+
],
|
|
3882
4229
|
"type": "object",
|
|
3883
4230
|
"properties": {
|
|
3884
4231
|
"ship_to": {
|
|
@@ -3909,7 +4256,9 @@
|
|
|
3909
4256
|
"description": "Used for generic downloads, containing the resource itself or a link to where it can be found"
|
|
3910
4257
|
},
|
|
3911
4258
|
"ReturnLabelDetails": {
|
|
3912
|
-
"required": [
|
|
4259
|
+
"required": [
|
|
4260
|
+
"rma_number"
|
|
4261
|
+
],
|
|
3913
4262
|
"type": "object",
|
|
3914
4263
|
"properties": {
|
|
3915
4264
|
"rma_number": {
|
|
@@ -3921,76 +4270,11 @@
|
|
|
3921
4270
|
"additionalProperties": false,
|
|
3922
4271
|
"description": "Return Label Information (Added 1.13)"
|
|
3923
4272
|
},
|
|
3924
|
-
"ListPickupsRequest": {
|
|
3925
|
-
"required": [],
|
|
3926
|
-
"type": "object",
|
|
3927
|
-
"allOf": [
|
|
3928
|
-
{
|
|
3929
|
-
"$ref": "#/components/schemas/BaseRequest"
|
|
3930
|
-
}
|
|
3931
|
-
],
|
|
3932
|
-
"properties": {
|
|
3933
|
-
"address": {
|
|
3934
|
-
"$ref": "#/components/schemas/PickupAddress"
|
|
3935
|
-
},
|
|
3936
|
-
"search_window": {
|
|
3937
|
-
"$ref": "#/components/schemas/TimeWindow"
|
|
3938
|
-
}
|
|
3939
|
-
},
|
|
3940
|
-
"additionalProperties": false,
|
|
3941
|
-
"description": "A request to list pickups scheduled with a carrier"
|
|
3942
|
-
},
|
|
3943
|
-
"ListPickupsResponse": {
|
|
3944
|
-
"required": ["pickups"],
|
|
3945
|
-
"type": "object",
|
|
3946
|
-
"allOf": [
|
|
3947
|
-
{
|
|
3948
|
-
"$ref": "#/components/schemas/BaseResponse"
|
|
3949
|
-
}
|
|
3950
|
-
],
|
|
3951
|
-
"properties": {
|
|
3952
|
-
"pickupspickup_windows": {
|
|
3953
|
-
"type": "array",
|
|
3954
|
-
"items": {
|
|
3955
|
-
"$ref": "#/components/schemas/Pickup"
|
|
3956
|
-
},
|
|
3957
|
-
"description": "A list of scheduled pickups and their statuses",
|
|
3958
|
-
"nullable": true
|
|
3959
|
-
}
|
|
3960
|
-
},
|
|
3961
|
-
"additionalProperties": false,
|
|
3962
|
-
"description": "The response for listing scheduled pickups."
|
|
3963
|
-
},
|
|
3964
|
-
"Pickup": {
|
|
3965
|
-
"type": "object",
|
|
3966
|
-
"properties": {
|
|
3967
|
-
"confirmation_number": {
|
|
3968
|
-
"type": "string",
|
|
3969
|
-
"description": "The original confirmation number returned when scheduling the pickup."
|
|
3970
|
-
},
|
|
3971
|
-
"status": {
|
|
3972
|
-
"type": "string",
|
|
3973
|
-
"description": "The status of the scheduled pickup."
|
|
3974
|
-
},
|
|
3975
|
-
"status_description": {
|
|
3976
|
-
"type": "string",
|
|
3977
|
-
"description": "A description of the status of the scheduled pickup.",
|
|
3978
|
-
"nullable": true
|
|
3979
|
-
}
|
|
3980
|
-
}
|
|
3981
|
-
},
|
|
3982
|
-
"PickupAddress": {
|
|
3983
|
-
"required": ["postal_code", "country_code"],
|
|
3984
|
-
"type": "object",
|
|
3985
|
-
"allOf": [
|
|
3986
|
-
{
|
|
3987
|
-
"$ref": "#/components/schemas/AddressBase"
|
|
3988
|
-
}
|
|
3989
|
-
],
|
|
3990
|
-
"additionalProperties": false
|
|
3991
|
-
},
|
|
3992
4273
|
"SchedulePickupRequest": {
|
|
3993
|
-
"required": [
|
|
4274
|
+
"required": [
|
|
4275
|
+
"requested_pickup_window",
|
|
4276
|
+
"transaction_id"
|
|
4277
|
+
],
|
|
3994
4278
|
"type": "object",
|
|
3995
4279
|
"allOf": [
|
|
3996
4280
|
{
|
|
@@ -4015,7 +4299,9 @@
|
|
|
4015
4299
|
"description": "A request to schedule a pickup with a carrier"
|
|
4016
4300
|
},
|
|
4017
4301
|
"SchedulePickupResponse": {
|
|
4018
|
-
"required": [
|
|
4302
|
+
"required": [
|
|
4303
|
+
"pickup_windows"
|
|
4304
|
+
],
|
|
4019
4305
|
"type": "object",
|
|
4020
4306
|
"allOf": [
|
|
4021
4307
|
{
|
|
@@ -4088,7 +4374,10 @@
|
|
|
4088
4374
|
"additionalProperties": false
|
|
4089
4375
|
},
|
|
4090
4376
|
"SearchRadiusUnit": {
|
|
4091
|
-
"enum": [
|
|
4377
|
+
"enum": [
|
|
4378
|
+
"miles",
|
|
4379
|
+
"kilometers"
|
|
4380
|
+
],
|
|
4092
4381
|
"type": "string"
|
|
4093
4382
|
},
|
|
4094
4383
|
"Service": {
|
|
@@ -4149,7 +4438,10 @@
|
|
|
4149
4438
|
"additionalProperties": false
|
|
4150
4439
|
},
|
|
4151
4440
|
"ServicePointAddress": {
|
|
4152
|
-
"required": [
|
|
4441
|
+
"required": [
|
|
4442
|
+
"postal_code",
|
|
4443
|
+
"country_code"
|
|
4444
|
+
],
|
|
4153
4445
|
"type": "object",
|
|
4154
4446
|
"allOf": [
|
|
4155
4447
|
{
|
|
@@ -4169,16 +4461,23 @@
|
|
|
4169
4461
|
"pickup_point",
|
|
4170
4462
|
"print_services",
|
|
4171
4463
|
"after_hours_locker",
|
|
4172
|
-
"after_hours_dropbox"
|
|
4464
|
+
"after_hours_dropbox",
|
|
4465
|
+
"no_box_no_label"
|
|
4173
4466
|
],
|
|
4174
4467
|
"type": "string"
|
|
4175
4468
|
},
|
|
4176
4469
|
"ServicePointLocationType": {
|
|
4177
|
-
"enum": [
|
|
4470
|
+
"enum": [
|
|
4471
|
+
"pudo",
|
|
4472
|
+
"locker"
|
|
4473
|
+
],
|
|
4178
4474
|
"type": "string"
|
|
4179
4475
|
},
|
|
4180
4476
|
"ServicePointResponseAddress": {
|
|
4181
|
-
"required": [
|
|
4477
|
+
"required": [
|
|
4478
|
+
"postal_code",
|
|
4479
|
+
"country_code"
|
|
4480
|
+
],
|
|
4182
4481
|
"type": "object",
|
|
4183
4482
|
"allOf": [
|
|
4184
4483
|
{
|
|
@@ -4222,7 +4521,10 @@
|
|
|
4222
4521
|
"additionalProperties": false
|
|
4223
4522
|
},
|
|
4224
4523
|
"ShipFrom": {
|
|
4225
|
-
"required": [
|
|
4524
|
+
"required": [
|
|
4525
|
+
"postal_code",
|
|
4526
|
+
"country_code"
|
|
4527
|
+
],
|
|
4226
4528
|
"type": "object",
|
|
4227
4529
|
"allOf": [
|
|
4228
4530
|
{
|
|
@@ -4243,7 +4545,10 @@
|
|
|
4243
4545
|
"description": "The shipment sender's address. It may or may not have been validated."
|
|
4244
4546
|
},
|
|
4245
4547
|
"ShipFromDisplay": {
|
|
4246
|
-
"required": [
|
|
4548
|
+
"required": [
|
|
4549
|
+
"postal_code",
|
|
4550
|
+
"country_code"
|
|
4551
|
+
],
|
|
4247
4552
|
"type": "object",
|
|
4248
4553
|
"allOf": [
|
|
4249
4554
|
{
|
|
@@ -4254,7 +4559,10 @@
|
|
|
4254
4559
|
"description": "The address that should be displayed as the return address, only if the shipping provider supports\r\nthis functionality."
|
|
4255
4560
|
},
|
|
4256
4561
|
"ShipTo": {
|
|
4257
|
-
"required": [
|
|
4562
|
+
"required": [
|
|
4563
|
+
"postal_code",
|
|
4564
|
+
"country_code"
|
|
4565
|
+
],
|
|
4258
4566
|
"type": "object",
|
|
4259
4567
|
"allOf": [
|
|
4260
4568
|
{
|
|
@@ -4349,7 +4657,10 @@
|
|
|
4349
4657
|
"$ref": "#/components/schemas/Customs"
|
|
4350
4658
|
},
|
|
4351
4659
|
"insured_value": {
|
|
4352
|
-
"required": [
|
|
4660
|
+
"required": [
|
|
4661
|
+
"currency",
|
|
4662
|
+
"amount"
|
|
4663
|
+
],
|
|
4353
4664
|
"type": "object",
|
|
4354
4665
|
"properties": {
|
|
4355
4666
|
"amount": {
|
|
@@ -4377,7 +4688,9 @@
|
|
|
4377
4688
|
"description": "This is the model for a package that has had a label generated for it"
|
|
4378
4689
|
},
|
|
4379
4690
|
"ShippedProducts": {
|
|
4380
|
-
"required": [
|
|
4691
|
+
"required": [
|
|
4692
|
+
"value"
|
|
4693
|
+
],
|
|
4381
4694
|
"type": "object",
|
|
4382
4695
|
"properties": {
|
|
4383
4696
|
"description": {
|
|
@@ -4391,7 +4704,10 @@
|
|
|
4391
4704
|
"format": "int32"
|
|
4392
4705
|
},
|
|
4393
4706
|
"value": {
|
|
4394
|
-
"required": [
|
|
4707
|
+
"required": [
|
|
4708
|
+
"currency",
|
|
4709
|
+
"amount"
|
|
4710
|
+
],
|
|
4395
4711
|
"type": "object",
|
|
4396
4712
|
"properties": {
|
|
4397
4713
|
"amount": {
|
|
@@ -4556,7 +4872,16 @@
|
|
|
4556
4872
|
"additionalProperties": false
|
|
4557
4873
|
},
|
|
4558
4874
|
"StandardizedStatusCodes": {
|
|
4559
|
-
"enum": [
|
|
4875
|
+
"enum": [
|
|
4876
|
+
"UN",
|
|
4877
|
+
"AC",
|
|
4878
|
+
"IT",
|
|
4879
|
+
"DE",
|
|
4880
|
+
"EX",
|
|
4881
|
+
"AT",
|
|
4882
|
+
"NY",
|
|
4883
|
+
"SP"
|
|
4884
|
+
],
|
|
4560
4885
|
"type": "string",
|
|
4561
4886
|
"description": "This represents the ShipEngine supported status codes for a shipment.\r\nUN - Unknown\r\nAC - Accepted\r\nIT - In Transit\r\nDE - Delivered\r\nEX - Exception\r\nAT - Delivery Attempted\r\nNY - Not Yet In System\r\nSP - Delivered To The Collection Location"
|
|
4562
4887
|
},
|
|
@@ -4709,7 +5034,9 @@
|
|
|
4709
5034
|
"description": "Entity representing a Tax Identification number, type, and country of registration."
|
|
4710
5035
|
},
|
|
4711
5036
|
"TaxType": {
|
|
4712
|
-
"enum": [
|
|
5037
|
+
"enum": [
|
|
5038
|
+
"vat"
|
|
5039
|
+
],
|
|
4713
5040
|
"type": "string"
|
|
4714
5041
|
},
|
|
4715
5042
|
"TermsOfTradeCode": {
|
|
@@ -4836,7 +5163,10 @@
|
|
|
4836
5163
|
"description": "This model represents a tracking event for a shipment."
|
|
4837
5164
|
},
|
|
4838
5165
|
"TrackingAttribute": {
|
|
4839
|
-
"required": [
|
|
5166
|
+
"required": [
|
|
5167
|
+
"type",
|
|
5168
|
+
"value"
|
|
5169
|
+
],
|
|
4840
5170
|
"type": "object",
|
|
4841
5171
|
"properties": {
|
|
4842
5172
|
"type": {
|
|
@@ -4974,7 +5304,9 @@
|
|
|
4974
5304
|
"description": "This model represents tracking information for a shipment."
|
|
4975
5305
|
},
|
|
4976
5306
|
"TrackingRequest": {
|
|
4977
|
-
"required": [
|
|
5307
|
+
"required": [
|
|
5308
|
+
"transaction_id"
|
|
5309
|
+
],
|
|
4978
5310
|
"type": "object",
|
|
4979
5311
|
"allOf": [
|
|
4980
5312
|
{
|
|
@@ -5003,7 +5335,9 @@
|
|
|
5003
5335
|
"description": "This model represents the payload that is sent to request tracking information."
|
|
5004
5336
|
},
|
|
5005
5337
|
"TrackingResponse": {
|
|
5006
|
-
"required": [
|
|
5338
|
+
"required": [
|
|
5339
|
+
"tracking_info"
|
|
5340
|
+
],
|
|
5007
5341
|
"type": "object",
|
|
5008
5342
|
"allOf": [
|
|
5009
5343
|
{
|
|
@@ -5073,11 +5407,17 @@
|
|
|
5073
5407
|
"type": "string"
|
|
5074
5408
|
},
|
|
5075
5409
|
"UpdateMethods": {
|
|
5076
|
-
"enum": [
|
|
5410
|
+
"enum": [
|
|
5411
|
+
"append",
|
|
5412
|
+
"replace"
|
|
5413
|
+
],
|
|
5077
5414
|
"type": "string"
|
|
5078
5415
|
},
|
|
5079
5416
|
"UpdateSettingsRequest": {
|
|
5080
|
-
"required": [
|
|
5417
|
+
"required": [
|
|
5418
|
+
"update_settings",
|
|
5419
|
+
"transaction_id"
|
|
5420
|
+
],
|
|
5081
5421
|
"type": "object",
|
|
5082
5422
|
"allOf": [
|
|
5083
5423
|
{
|
|
@@ -5109,7 +5449,9 @@
|
|
|
5109
5449
|
"description": "This model represents the successful response for updating carrier settings request."
|
|
5110
5450
|
},
|
|
5111
5451
|
"ValidateInboundDataRequest": {
|
|
5112
|
-
"required": [
|
|
5452
|
+
"required": [
|
|
5453
|
+
"transaction_id"
|
|
5454
|
+
],
|
|
5113
5455
|
"type": "object",
|
|
5114
5456
|
"allOf": [
|
|
5115
5457
|
{
|
|
@@ -5238,7 +5580,10 @@
|
|
|
5238
5580
|
"description": "A list of standard validation error identifiers for errors the module can return"
|
|
5239
5581
|
},
|
|
5240
5582
|
"VoidLabelsRequest": {
|
|
5241
|
-
"required": [
|
|
5583
|
+
"required": [
|
|
5584
|
+
"void_requests",
|
|
5585
|
+
"transaction_id"
|
|
5586
|
+
],
|
|
5242
5587
|
"type": "object",
|
|
5243
5588
|
"allOf": [
|
|
5244
5589
|
{
|
|
@@ -5259,7 +5604,9 @@
|
|
|
5259
5604
|
"description": "This model represents the payload sent to void a set of labels."
|
|
5260
5605
|
},
|
|
5261
5606
|
"VoidLabelsResponse": {
|
|
5262
|
-
"required": [
|
|
5607
|
+
"required": [
|
|
5608
|
+
"void_responses"
|
|
5609
|
+
],
|
|
5263
5610
|
"type": "object",
|
|
5264
5611
|
"allOf": [
|
|
5265
5612
|
{
|
|
@@ -5280,7 +5627,10 @@
|
|
|
5280
5627
|
"description": "This model represents the successful attempt to void a set of labels."
|
|
5281
5628
|
},
|
|
5282
5629
|
"VoidRequest": {
|
|
5283
|
-
"required": [
|
|
5630
|
+
"required": [
|
|
5631
|
+
"void_request_id",
|
|
5632
|
+
"ship_from"
|
|
5633
|
+
],
|
|
5284
5634
|
"type": "object",
|
|
5285
5635
|
"allOf": [
|
|
5286
5636
|
{
|
|
@@ -5301,7 +5651,9 @@
|
|
|
5301
5651
|
"description": "A request to void a particular label."
|
|
5302
5652
|
},
|
|
5303
5653
|
"VoidResponse": {
|
|
5304
|
-
"required": [
|
|
5654
|
+
"required": [
|
|
5655
|
+
"void_request_id"
|
|
5656
|
+
],
|
|
5305
5657
|
"type": "object",
|
|
5306
5658
|
"properties": {
|
|
5307
5659
|
"void_request_id": {
|
|
@@ -5415,7 +5767,12 @@
|
|
|
5415
5767
|
"description": "This model represents the weight of a package in its original unit, ounces, and grams."
|
|
5416
5768
|
},
|
|
5417
5769
|
"WeightUnit": {
|
|
5418
|
-
"enum": [
|
|
5770
|
+
"enum": [
|
|
5771
|
+
"grams",
|
|
5772
|
+
"ounces",
|
|
5773
|
+
"kilograms",
|
|
5774
|
+
"pounds"
|
|
5775
|
+
],
|
|
5419
5776
|
"type": "string",
|
|
5420
5777
|
"description": "This model describes the possible units of weight."
|
|
5421
5778
|
},
|