@shipengine/connect-carrier-api 4.16.10 → 4.17.0-beta
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/models/limit-identifier-schema.d.ts +2 -0
- package/lib/models/limit-identifier-schema.js +11 -0
- package/lib/models/limit-identifier-schema.js.map +1 -0
- package/lib/models/limit-identifier-type-schema.d.ts +2 -0
- package/lib/models/limit-identifier-type-schema.js +8 -0
- package/lib/models/limit-identifier-type-schema.js.map +1 -0
- package/lib/models/limit-identifier-type.d.ts +3 -0
- package/lib/models/limit-identifier-type.js +8 -0
- package/lib/models/limit-identifier-type.js.map +1 -0
- package/lib/models/limit-identifier.d.ts +5 -0
- package/lib/models/limit-identifier.js +9 -0
- package/lib/models/limit-identifier.js.map +1 -0
- 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/lib/responses/create-label-response-schema.js +2 -0
- package/lib/responses/create-label-response-schema.js.map +1 -1
- package/lib/responses/create-label-response.d.ts +2 -0
- package/lib/responses/create-label-response.js +1 -0
- package/lib/responses/create-label-response.js.map +1 -1
- package/package.json +2 -2
- package/spec.json +581 -194
- package/src/models/limit-identifier-schema.ts +7 -0
- package/src/models/limit-identifier-type-schema.ts +4 -0
- package/src/models/limit-identifier-type.ts +3 -0
- package/src/models/limit-identifier.ts +6 -0
- package/src/models/pickup/pickup-shipment-details.ts +2 -2
- package/src/models/pickup/shipped-shipment.ts +5 -2
- package/src/responses/create-label-response-schema.ts +2 -0
- package/src/responses/create-label-response.ts +2 -0
- 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.
|
|
6
|
+
"version": "1.29.0"
|
|
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": {
|
|
@@ -1681,6 +1819,14 @@
|
|
|
1681
1819
|
"description": "Alternative identifiers associated with this shipment.",
|
|
1682
1820
|
"nullable": true
|
|
1683
1821
|
},
|
|
1822
|
+
"limit_identifiers": {
|
|
1823
|
+
"type": "array",
|
|
1824
|
+
"items": {
|
|
1825
|
+
"$ref": "#/components/schemas/LimitIdentifier"
|
|
1826
|
+
},
|
|
1827
|
+
"description": "An array that defines rate/usage limit identifiers applicable to specific functionalities within the integration. Each entry represents a unique limit configuration tied to a functionality (e.g., \"track,\" \"createLabel\").",
|
|
1828
|
+
"nullable": true
|
|
1829
|
+
},
|
|
1684
1830
|
"estimated_delivery_datetime": {
|
|
1685
1831
|
"type": "string",
|
|
1686
1832
|
"description": "The estimated date and time for when the shipment will be delivered. Formatted per the\r\nhttps://tools.ietf.org/html/rfc3339 spec.",
|
|
@@ -1719,7 +1865,9 @@
|
|
|
1719
1865
|
"description": "This model represents the response from a successful create label request."
|
|
1720
1866
|
},
|
|
1721
1867
|
"CreateManifestRequest": {
|
|
1722
|
-
"required": [
|
|
1868
|
+
"required": [
|
|
1869
|
+
"transaction_id"
|
|
1870
|
+
],
|
|
1723
1871
|
"type": "object",
|
|
1724
1872
|
"allOf": [
|
|
1725
1873
|
{
|
|
@@ -1765,7 +1913,9 @@
|
|
|
1765
1913
|
"description": "This model represents the request payload needed to manifest with a shipping provider."
|
|
1766
1914
|
},
|
|
1767
1915
|
"CreateManifestResponse": {
|
|
1768
|
-
"required": [
|
|
1916
|
+
"required": [
|
|
1917
|
+
"manifests"
|
|
1918
|
+
],
|
|
1769
1919
|
"type": "object",
|
|
1770
1920
|
"allOf": [
|
|
1771
1921
|
{
|
|
@@ -1828,7 +1978,9 @@
|
|
|
1828
1978
|
"description": "This model represents the successful response for a create manifest request."
|
|
1829
1979
|
},
|
|
1830
1980
|
"CreateNotificationRequest": {
|
|
1831
|
-
"required": [
|
|
1981
|
+
"required": [
|
|
1982
|
+
"transaction_id"
|
|
1983
|
+
],
|
|
1832
1984
|
"type": "object",
|
|
1833
1985
|
"allOf": [
|
|
1834
1986
|
{
|
|
@@ -1875,7 +2027,10 @@
|
|
|
1875
2027
|
"description": "The response to a notification request."
|
|
1876
2028
|
},
|
|
1877
2029
|
"Credentials": {
|
|
1878
|
-
"required": [
|
|
2030
|
+
"required": [
|
|
2031
|
+
"username",
|
|
2032
|
+
"password"
|
|
2033
|
+
],
|
|
1879
2034
|
"type": "object",
|
|
1880
2035
|
"properties": {
|
|
1881
2036
|
"username": {
|
|
@@ -1894,7 +2049,10 @@
|
|
|
1894
2049
|
"type": "object",
|
|
1895
2050
|
"properties": {
|
|
1896
2051
|
"freight_charge": {
|
|
1897
|
-
"required": [
|
|
2052
|
+
"required": [
|
|
2053
|
+
"currency",
|
|
2054
|
+
"amount"
|
|
2055
|
+
],
|
|
1898
2056
|
"type": "object",
|
|
1899
2057
|
"properties": {
|
|
1900
2058
|
"amount": {
|
|
@@ -1910,7 +2068,10 @@
|
|
|
1910
2068
|
"nullable": true
|
|
1911
2069
|
},
|
|
1912
2070
|
"other_charge": {
|
|
1913
|
-
"required": [
|
|
2071
|
+
"required": [
|
|
2072
|
+
"currency",
|
|
2073
|
+
"amount"
|
|
2074
|
+
],
|
|
1914
2075
|
"type": "object",
|
|
1915
2076
|
"properties": {
|
|
1916
2077
|
"amount": {
|
|
@@ -1931,7 +2092,10 @@
|
|
|
1931
2092
|
"nullable": true
|
|
1932
2093
|
},
|
|
1933
2094
|
"insurance_charge": {
|
|
1934
|
-
"required": [
|
|
2095
|
+
"required": [
|
|
2096
|
+
"currency",
|
|
2097
|
+
"amount"
|
|
2098
|
+
],
|
|
1935
2099
|
"type": "object",
|
|
1936
2100
|
"properties": {
|
|
1937
2101
|
"amount": {
|
|
@@ -1947,7 +2111,10 @@
|
|
|
1947
2111
|
"nullable": true
|
|
1948
2112
|
},
|
|
1949
2113
|
"discount": {
|
|
1950
|
-
"required": [
|
|
2114
|
+
"required": [
|
|
2115
|
+
"currency",
|
|
2116
|
+
"amount"
|
|
2117
|
+
],
|
|
1951
2118
|
"type": "object",
|
|
1952
2119
|
"properties": {
|
|
1953
2120
|
"amount": {
|
|
@@ -1984,7 +2151,10 @@
|
|
|
1984
2151
|
"$ref": "#/components/schemas/CustomsNonDelivery"
|
|
1985
2152
|
},
|
|
1986
2153
|
"buyer_shipping_amount_paid": {
|
|
1987
|
-
"required": [
|
|
2154
|
+
"required": [
|
|
2155
|
+
"currency",
|
|
2156
|
+
"amount"
|
|
2157
|
+
],
|
|
1988
2158
|
"type": "object",
|
|
1989
2159
|
"properties": {
|
|
1990
2160
|
"amount": {
|
|
@@ -2000,7 +2170,10 @@
|
|
|
2000
2170
|
"nullable": true
|
|
2001
2171
|
},
|
|
2002
2172
|
"duties_paid": {
|
|
2003
|
-
"required": [
|
|
2173
|
+
"required": [
|
|
2174
|
+
"currency",
|
|
2175
|
+
"amount"
|
|
2176
|
+
],
|
|
2004
2177
|
"type": "object",
|
|
2005
2178
|
"properties": {
|
|
2006
2179
|
"amount": {
|
|
@@ -2067,7 +2240,10 @@
|
|
|
2067
2240
|
"type": "string"
|
|
2068
2241
|
},
|
|
2069
2242
|
"CustomsNonDelivery": {
|
|
2070
|
-
"enum": [
|
|
2243
|
+
"enum": [
|
|
2244
|
+
"return_to_sender",
|
|
2245
|
+
"treat_as_abandoned"
|
|
2246
|
+
],
|
|
2071
2247
|
"type": "string",
|
|
2072
2248
|
"description": "What to do if the shipment is undeliverable."
|
|
2073
2249
|
},
|
|
@@ -2329,7 +2505,10 @@
|
|
|
2329
2505
|
"description": "This model represents the dimensions for a package represented in its original unit, inches, and centimeters."
|
|
2330
2506
|
},
|
|
2331
2507
|
"DimensionUnit": {
|
|
2332
|
-
"enum": [
|
|
2508
|
+
"enum": [
|
|
2509
|
+
"inches",
|
|
2510
|
+
"centimeters"
|
|
2511
|
+
],
|
|
2333
2512
|
"type": "string",
|
|
2334
2513
|
"description": "This model represents the supported units for dimensions."
|
|
2335
2514
|
},
|
|
@@ -2359,11 +2538,18 @@
|
|
|
2359
2538
|
"description": "This model represents the measurements for dimensions."
|
|
2360
2539
|
},
|
|
2361
2540
|
"DisplayScheme": {
|
|
2362
|
-
"enum": [
|
|
2541
|
+
"enum": [
|
|
2542
|
+
"label",
|
|
2543
|
+
"paperless_label"
|
|
2544
|
+
],
|
|
2363
2545
|
"type": "string"
|
|
2364
2546
|
},
|
|
2365
2547
|
"Document": {
|
|
2366
|
-
"required": [
|
|
2548
|
+
"required": [
|
|
2549
|
+
"type",
|
|
2550
|
+
"data",
|
|
2551
|
+
"format"
|
|
2552
|
+
],
|
|
2367
2553
|
"type": "object",
|
|
2368
2554
|
"properties": {
|
|
2369
2555
|
"type": {
|
|
@@ -2387,7 +2573,11 @@
|
|
|
2387
2573
|
"description": "Container for a document."
|
|
2388
2574
|
},
|
|
2389
2575
|
"DocumentFormat": {
|
|
2390
|
-
"enum": [
|
|
2576
|
+
"enum": [
|
|
2577
|
+
"PDF",
|
|
2578
|
+
"ZPL",
|
|
2579
|
+
"PNG"
|
|
2580
|
+
],
|
|
2391
2581
|
"type": "string"
|
|
2392
2582
|
},
|
|
2393
2583
|
"DocumentType": {
|
|
@@ -2404,7 +2594,10 @@
|
|
|
2404
2594
|
"type": "object",
|
|
2405
2595
|
"properties": {
|
|
2406
2596
|
"taxes": {
|
|
2407
|
-
"required": [
|
|
2597
|
+
"required": [
|
|
2598
|
+
"currency",
|
|
2599
|
+
"amount"
|
|
2600
|
+
],
|
|
2408
2601
|
"type": "object",
|
|
2409
2602
|
"properties": {
|
|
2410
2603
|
"amount": {
|
|
@@ -2420,7 +2613,10 @@
|
|
|
2420
2613
|
"nullable": true
|
|
2421
2614
|
},
|
|
2422
2615
|
"duties": {
|
|
2423
|
-
"required": [
|
|
2616
|
+
"required": [
|
|
2617
|
+
"currency",
|
|
2618
|
+
"amount"
|
|
2619
|
+
],
|
|
2424
2620
|
"type": "object",
|
|
2425
2621
|
"properties": {
|
|
2426
2622
|
"amount": {
|
|
@@ -2527,12 +2723,16 @@
|
|
|
2527
2723
|
"description": "Geolocation additional information for an address."
|
|
2528
2724
|
},
|
|
2529
2725
|
"GeolocationType": {
|
|
2530
|
-
"enum": [
|
|
2726
|
+
"enum": [
|
|
2727
|
+
"what3words"
|
|
2728
|
+
],
|
|
2531
2729
|
"type": "string",
|
|
2532
2730
|
"description": "Specifies the supported geolocation types."
|
|
2533
2731
|
},
|
|
2534
2732
|
"GetManifestRequest": {
|
|
2535
|
-
"required": [
|
|
2733
|
+
"required": [
|
|
2734
|
+
"transaction_id"
|
|
2735
|
+
],
|
|
2536
2736
|
"type": "object",
|
|
2537
2737
|
"allOf": [
|
|
2538
2738
|
{
|
|
@@ -2639,6 +2839,9 @@
|
|
|
2639
2839
|
"pickup_location": {
|
|
2640
2840
|
"$ref": "#/components/schemas/PudoLocation"
|
|
2641
2841
|
},
|
|
2842
|
+
"dropoff_location": {
|
|
2843
|
+
"$ref": "#/components/schemas/PudoLocation"
|
|
2844
|
+
},
|
|
2642
2845
|
"international": {
|
|
2643
2846
|
"type": "boolean",
|
|
2644
2847
|
"description": "Whether this shipment is deemed international.",
|
|
@@ -2732,7 +2935,9 @@
|
|
|
2732
2935
|
"description": "This model represents the payload sent to get relay points based on the provided search criteria."
|
|
2733
2936
|
},
|
|
2734
2937
|
"GetRelayPointsResponse": {
|
|
2735
|
-
"required": [
|
|
2938
|
+
"required": [
|
|
2939
|
+
"relay_points"
|
|
2940
|
+
],
|
|
2736
2941
|
"type": "object",
|
|
2737
2942
|
"properties": {
|
|
2738
2943
|
"relay_points": {
|
|
@@ -2747,7 +2952,9 @@
|
|
|
2747
2952
|
"description": "Basic structure for a response to get relay points"
|
|
2748
2953
|
},
|
|
2749
2954
|
"GetServicePointRequest": {
|
|
2750
|
-
"required": [
|
|
2955
|
+
"required": [
|
|
2956
|
+
"transaction_id"
|
|
2957
|
+
],
|
|
2751
2958
|
"type": "object",
|
|
2752
2959
|
"allOf": [
|
|
2753
2960
|
{
|
|
@@ -2783,7 +2990,9 @@
|
|
|
2783
2990
|
"additionalProperties": false
|
|
2784
2991
|
},
|
|
2785
2992
|
"GetServicePointsRequest": {
|
|
2786
|
-
"required": [
|
|
2993
|
+
"required": [
|
|
2994
|
+
"transaction_id"
|
|
2995
|
+
],
|
|
2787
2996
|
"type": "object",
|
|
2788
2997
|
"allOf": [
|
|
2789
2998
|
{
|
|
@@ -2851,7 +3060,10 @@
|
|
|
2851
3060
|
"additionalProperties": false
|
|
2852
3061
|
},
|
|
2853
3062
|
"Identifier": {
|
|
2854
|
-
"required": [
|
|
3063
|
+
"required": [
|
|
3064
|
+
"type",
|
|
3065
|
+
"value"
|
|
3066
|
+
],
|
|
2855
3067
|
"type": "object",
|
|
2856
3068
|
"properties": {
|
|
2857
3069
|
"type": {
|
|
@@ -2868,8 +3080,33 @@
|
|
|
2868
3080
|
"additionalProperties": false,
|
|
2869
3081
|
"description": "A key value pair, allowing custom properties to be stored."
|
|
2870
3082
|
},
|
|
3083
|
+
"LimitIdentifier": {
|
|
3084
|
+
"required": [
|
|
3085
|
+
"type",
|
|
3086
|
+
"value"
|
|
3087
|
+
],
|
|
3088
|
+
"type": "object",
|
|
3089
|
+
"properties": {
|
|
3090
|
+
"type": {
|
|
3091
|
+
"$ref": "#/components/schemas/LimitIdentifierType"
|
|
3092
|
+
},
|
|
3093
|
+
"value": {
|
|
3094
|
+
"type": "string",
|
|
3095
|
+
"description": "A unique identifier referencing the specific rate/usage limit configuration in the Rate Limiter."
|
|
3096
|
+
}
|
|
3097
|
+
}
|
|
3098
|
+
},
|
|
3099
|
+
"LimitIdentifierType": {
|
|
3100
|
+
"type": "string",
|
|
3101
|
+
"description": "The name of the functionality associated with this limit (e.g., \"track\").",
|
|
3102
|
+
"enum": [
|
|
3103
|
+
"track"
|
|
3104
|
+
]
|
|
3105
|
+
},
|
|
2871
3106
|
"ImportTrackingEventsRequest": {
|
|
2872
|
-
"required": [
|
|
3107
|
+
"required": [
|
|
3108
|
+
"transaction_id"
|
|
3109
|
+
],
|
|
2873
3110
|
"type": "object",
|
|
2874
3111
|
"allOf": [
|
|
2875
3112
|
{
|
|
@@ -2973,7 +3210,9 @@
|
|
|
2973
3210
|
"description": "Basic structure for a Importer Record"
|
|
2974
3211
|
},
|
|
2975
3212
|
"InboundDataContentTypes": {
|
|
2976
|
-
"enum": [
|
|
3213
|
+
"enum": [
|
|
3214
|
+
"tracking"
|
|
3215
|
+
],
|
|
2977
3216
|
"type": "string"
|
|
2978
3217
|
},
|
|
2979
3218
|
"InsuranceProviders": {
|
|
@@ -2998,7 +3237,12 @@
|
|
|
2998
3237
|
"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
3238
|
},
|
|
3000
3239
|
"LabelLayouts": {
|
|
3001
|
-
"enum": [
|
|
3240
|
+
"enum": [
|
|
3241
|
+
"4x6",
|
|
3242
|
+
"letter",
|
|
3243
|
+
"A4",
|
|
3244
|
+
"A6"
|
|
3245
|
+
],
|
|
3002
3246
|
"type": "string"
|
|
3003
3247
|
},
|
|
3004
3248
|
"LabelMessage": {
|
|
@@ -3074,6 +3318,40 @@
|
|
|
3074
3318
|
"additionalProperties": false,
|
|
3075
3319
|
"description": "This model represents a geographic point."
|
|
3076
3320
|
},
|
|
3321
|
+
"ListPickupsRequest": {
|
|
3322
|
+
"required": [
|
|
3323
|
+
"transaction_id"
|
|
3324
|
+
],
|
|
3325
|
+
"type": "object",
|
|
3326
|
+
"allOf": [
|
|
3327
|
+
{
|
|
3328
|
+
"$ref": "#/components/schemas/BaseRequest"
|
|
3329
|
+
}
|
|
3330
|
+
],
|
|
3331
|
+
"properties": {
|
|
3332
|
+
"pickup_address": {
|
|
3333
|
+
"$ref": "#/components/schemas/ShipFrom"
|
|
3334
|
+
},
|
|
3335
|
+
"search_window": {
|
|
3336
|
+
"$ref": "#/components/schemas/TimeWindow"
|
|
3337
|
+
}
|
|
3338
|
+
},
|
|
3339
|
+
"additionalProperties": false
|
|
3340
|
+
},
|
|
3341
|
+
"ListPickupsResponse": {
|
|
3342
|
+
"type": "object",
|
|
3343
|
+
"properties": {
|
|
3344
|
+
"pickups": {
|
|
3345
|
+
"type": "array",
|
|
3346
|
+
"items": {
|
|
3347
|
+
"$ref": "#/components/schemas/Pickup"
|
|
3348
|
+
},
|
|
3349
|
+
"description": "List of scheduled pickups",
|
|
3350
|
+
"nullable": true
|
|
3351
|
+
}
|
|
3352
|
+
},
|
|
3353
|
+
"additionalProperties": false
|
|
3354
|
+
},
|
|
3077
3355
|
"Manifest": {
|
|
3078
3356
|
"type": "object",
|
|
3079
3357
|
"properties": {
|
|
@@ -3108,7 +3386,10 @@
|
|
|
3108
3386
|
"$ref": "#/components/schemas/CustomsNonDelivery"
|
|
3109
3387
|
},
|
|
3110
3388
|
"buyer_shipping_amount_paid": {
|
|
3111
|
-
"required": [
|
|
3389
|
+
"required": [
|
|
3390
|
+
"currency",
|
|
3391
|
+
"amount"
|
|
3392
|
+
],
|
|
3112
3393
|
"type": "object",
|
|
3113
3394
|
"properties": {
|
|
3114
3395
|
"amount": {
|
|
@@ -3124,7 +3405,10 @@
|
|
|
3124
3405
|
"nullable": true
|
|
3125
3406
|
},
|
|
3126
3407
|
"duties_paid": {
|
|
3127
|
-
"required": [
|
|
3408
|
+
"required": [
|
|
3409
|
+
"currency",
|
|
3410
|
+
"amount"
|
|
3411
|
+
],
|
|
3128
3412
|
"type": "object",
|
|
3129
3413
|
"properties": {
|
|
3130
3414
|
"amount": {
|
|
@@ -3214,15 +3498,27 @@
|
|
|
3214
3498
|
"additionalProperties": false
|
|
3215
3499
|
},
|
|
3216
3500
|
"ManifestStatus": {
|
|
3217
|
-
"enum": [
|
|
3501
|
+
"enum": [
|
|
3502
|
+
"unknown",
|
|
3503
|
+
"in_progress",
|
|
3504
|
+
"completed",
|
|
3505
|
+
"failed"
|
|
3506
|
+
],
|
|
3218
3507
|
"type": "string"
|
|
3219
3508
|
},
|
|
3220
3509
|
"MovementIndicator": {
|
|
3221
|
-
"enum": [
|
|
3510
|
+
"enum": [
|
|
3511
|
+
"b2c",
|
|
3512
|
+
"b2b",
|
|
3513
|
+
"c2c",
|
|
3514
|
+
"c2b"
|
|
3515
|
+
],
|
|
3222
3516
|
"type": "string"
|
|
3223
3517
|
},
|
|
3224
3518
|
"NormalizeTrackingDataRequest": {
|
|
3225
|
-
"required": [
|
|
3519
|
+
"required": [
|
|
3520
|
+
"transaction_id"
|
|
3521
|
+
],
|
|
3226
3522
|
"type": "object",
|
|
3227
3523
|
"allOf": [
|
|
3228
3524
|
{
|
|
@@ -3319,7 +3615,9 @@
|
|
|
3319
3615
|
"description": "The times each day that the relay point is open, for example: \"11:00-13:00, 14:30-19:30\""
|
|
3320
3616
|
},
|
|
3321
3617
|
"Package": {
|
|
3322
|
-
"required": [
|
|
3618
|
+
"required": [
|
|
3619
|
+
"insured_value"
|
|
3620
|
+
],
|
|
3323
3621
|
"type": "object",
|
|
3324
3622
|
"properties": {
|
|
3325
3623
|
"package_code": {
|
|
@@ -3339,7 +3637,10 @@
|
|
|
3339
3637
|
"$ref": "#/components/schemas/WeightDetails"
|
|
3340
3638
|
},
|
|
3341
3639
|
"insured_value": {
|
|
3342
|
-
"required": [
|
|
3640
|
+
"required": [
|
|
3641
|
+
"currency",
|
|
3642
|
+
"amount"
|
|
3643
|
+
],
|
|
3343
3644
|
"type": "object",
|
|
3344
3645
|
"properties": {
|
|
3345
3646
|
"amount": {
|
|
@@ -3373,11 +3674,20 @@
|
|
|
3373
3674
|
"description": "This model represents an individual package that is part of a shipment."
|
|
3374
3675
|
},
|
|
3375
3676
|
"PackageInstructionSectionEnum": {
|
|
3376
|
-
"enum": [
|
|
3677
|
+
"enum": [
|
|
3678
|
+
"section_1",
|
|
3679
|
+
"section_2",
|
|
3680
|
+
"section_1A",
|
|
3681
|
+
"section_1B"
|
|
3682
|
+
],
|
|
3377
3683
|
"type": "string"
|
|
3378
3684
|
},
|
|
3379
3685
|
"PackagingGroupEnum": {
|
|
3380
|
-
"enum": [
|
|
3686
|
+
"enum": [
|
|
3687
|
+
"i",
|
|
3688
|
+
"ii",
|
|
3689
|
+
"iii"
|
|
3690
|
+
],
|
|
3381
3691
|
"type": "string"
|
|
3382
3692
|
},
|
|
3383
3693
|
"PaperlessDetails": {
|
|
@@ -3395,6 +3705,27 @@
|
|
|
3395
3705
|
"additionalProperties": false,
|
|
3396
3706
|
"description": "The Paperless details for the shipment. This consists of additional information for paperless labels."
|
|
3397
3707
|
},
|
|
3708
|
+
"Pickup": {
|
|
3709
|
+
"type": "object",
|
|
3710
|
+
"properties": {
|
|
3711
|
+
"confirmation_number": {
|
|
3712
|
+
"type": "string",
|
|
3713
|
+
"description": "Original confirmation number/ID of the scheduled pickup",
|
|
3714
|
+
"nullable": true
|
|
3715
|
+
},
|
|
3716
|
+
"status": {
|
|
3717
|
+
"type": "string",
|
|
3718
|
+
"description": "Status of the pickup",
|
|
3719
|
+
"nullable": true
|
|
3720
|
+
},
|
|
3721
|
+
"status_reason": {
|
|
3722
|
+
"type": "string",
|
|
3723
|
+
"description": "Description of/reason for the status",
|
|
3724
|
+
"nullable": true
|
|
3725
|
+
}
|
|
3726
|
+
},
|
|
3727
|
+
"additionalProperties": false
|
|
3728
|
+
},
|
|
3398
3729
|
"PickupConfirmation": {
|
|
3399
3730
|
"type": "object",
|
|
3400
3731
|
"properties": {
|
|
@@ -3424,7 +3755,11 @@
|
|
|
3424
3755
|
"description": "This model contains the confirmation information for a scheduled pickup."
|
|
3425
3756
|
},
|
|
3426
3757
|
"PickupContactDetails": {
|
|
3427
|
-
"required": [
|
|
3758
|
+
"required": [
|
|
3759
|
+
"first_name",
|
|
3760
|
+
"email",
|
|
3761
|
+
"phone_number"
|
|
3762
|
+
],
|
|
3428
3763
|
"type": "object",
|
|
3429
3764
|
"properties": {
|
|
3430
3765
|
"first_name": {
|
|
@@ -3481,6 +3816,25 @@
|
|
|
3481
3816
|
"additionalProperties": false,
|
|
3482
3817
|
"description": "This model represents the place where the pickup should occur"
|
|
3483
3818
|
},
|
|
3819
|
+
"PickupShipment": {
|
|
3820
|
+
"type": "object",
|
|
3821
|
+
"allOf": [
|
|
3822
|
+
{
|
|
3823
|
+
"$ref": "#/components/schemas/ShippedShipment"
|
|
3824
|
+
}
|
|
3825
|
+
],
|
|
3826
|
+
"properties": {
|
|
3827
|
+
"display_schemes": {
|
|
3828
|
+
"type": "array",
|
|
3829
|
+
"items": {
|
|
3830
|
+
"$ref": "#/components/schemas/DisplayScheme"
|
|
3831
|
+
},
|
|
3832
|
+
"description": "Label display scheme.",
|
|
3833
|
+
"nullable": true
|
|
3834
|
+
}
|
|
3835
|
+
},
|
|
3836
|
+
"additionalProperties": false
|
|
3837
|
+
},
|
|
3484
3838
|
"PickupShipmentDetails": {
|
|
3485
3839
|
"type": "object",
|
|
3486
3840
|
"properties": {
|
|
@@ -3492,7 +3846,7 @@
|
|
|
3492
3846
|
"shipments": {
|
|
3493
3847
|
"type": "array",
|
|
3494
3848
|
"items": {
|
|
3495
|
-
"$ref": "#/components/schemas/
|
|
3849
|
+
"$ref": "#/components/schemas/PickupShipment"
|
|
3496
3850
|
},
|
|
3497
3851
|
"description": "The shipments that will be picked up",
|
|
3498
3852
|
"nullable": true
|
|
@@ -3502,7 +3856,12 @@
|
|
|
3502
3856
|
"description": "Contains information regarding the service code for the pickup request and the packages that will be picked up"
|
|
3503
3857
|
},
|
|
3504
3858
|
"PickupWindow": {
|
|
3505
|
-
"required": [
|
|
3859
|
+
"required": [
|
|
3860
|
+
"time_zone_iana",
|
|
3861
|
+
"pickup_date",
|
|
3862
|
+
"start_time",
|
|
3863
|
+
"end_time"
|
|
3864
|
+
],
|
|
3506
3865
|
"type": "object",
|
|
3507
3866
|
"properties": {
|
|
3508
3867
|
"time_zone_iana": {
|
|
@@ -3536,7 +3895,9 @@
|
|
|
3536
3895
|
"description": "This model represents a window of time a pickup could be made."
|
|
3537
3896
|
},
|
|
3538
3897
|
"Products": {
|
|
3539
|
-
"required": [
|
|
3898
|
+
"required": [
|
|
3899
|
+
"value"
|
|
3900
|
+
],
|
|
3540
3901
|
"type": "object",
|
|
3541
3902
|
"properties": {
|
|
3542
3903
|
"description": {
|
|
@@ -3550,7 +3911,10 @@
|
|
|
3550
3911
|
"format": "int32"
|
|
3551
3912
|
},
|
|
3552
3913
|
"value": {
|
|
3553
|
-
"required": [
|
|
3914
|
+
"required": [
|
|
3915
|
+
"currency",
|
|
3916
|
+
"amount"
|
|
3917
|
+
],
|
|
3554
3918
|
"type": "object",
|
|
3555
3919
|
"properties": {
|
|
3556
3920
|
"amount": {
|
|
@@ -3620,7 +3984,10 @@
|
|
|
3620
3984
|
"description": "This model represents the product information for a single item."
|
|
3621
3985
|
},
|
|
3622
3986
|
"PudoLocation": {
|
|
3623
|
-
"required": [
|
|
3987
|
+
"required": [
|
|
3988
|
+
"postal_code",
|
|
3989
|
+
"country_code"
|
|
3990
|
+
],
|
|
3624
3991
|
"type": "object",
|
|
3625
3992
|
"allOf": [
|
|
3626
3993
|
{
|
|
@@ -3730,7 +4097,9 @@
|
|
|
3730
4097
|
"description": "This model represents a rate for a given service code."
|
|
3731
4098
|
},
|
|
3732
4099
|
"RawExternalSource": {
|
|
3733
|
-
"required": [
|
|
4100
|
+
"required": [
|
|
4101
|
+
"marketplace_code"
|
|
4102
|
+
],
|
|
3734
4103
|
"type": "object",
|
|
3735
4104
|
"properties": {
|
|
3736
4105
|
"marketplace_code": {
|
|
@@ -3743,7 +4112,10 @@
|
|
|
3743
4112
|
"description": "This model represents a raw external source of information."
|
|
3744
4113
|
},
|
|
3745
4114
|
"RegisterRequest": {
|
|
3746
|
-
"required": [
|
|
4115
|
+
"required": [
|
|
4116
|
+
"registration_info",
|
|
4117
|
+
"transaction_id"
|
|
4118
|
+
],
|
|
3747
4119
|
"type": "object",
|
|
3748
4120
|
"allOf": [
|
|
3749
4121
|
{
|
|
@@ -3765,7 +4137,10 @@
|
|
|
3765
4137
|
"description": "This model represents the body of a request used to register a new user within ShipEngine."
|
|
3766
4138
|
},
|
|
3767
4139
|
"RegisterResponse": {
|
|
3768
|
-
"required": [
|
|
4140
|
+
"required": [
|
|
4141
|
+
"credentials",
|
|
4142
|
+
"metadata"
|
|
4143
|
+
],
|
|
3769
4144
|
"type": "object",
|
|
3770
4145
|
"properties": {
|
|
3771
4146
|
"credentials": {
|
|
@@ -3878,7 +4253,10 @@
|
|
|
3878
4253
|
"description": "The address information corresponding to a specific relay point"
|
|
3879
4254
|
},
|
|
3880
4255
|
"RelayPointDetails": {
|
|
3881
|
-
"required": [
|
|
4256
|
+
"required": [
|
|
4257
|
+
"ship_to",
|
|
4258
|
+
"ship_from"
|
|
4259
|
+
],
|
|
3882
4260
|
"type": "object",
|
|
3883
4261
|
"properties": {
|
|
3884
4262
|
"ship_to": {
|
|
@@ -3909,7 +4287,9 @@
|
|
|
3909
4287
|
"description": "Used for generic downloads, containing the resource itself or a link to where it can be found"
|
|
3910
4288
|
},
|
|
3911
4289
|
"ReturnLabelDetails": {
|
|
3912
|
-
"required": [
|
|
4290
|
+
"required": [
|
|
4291
|
+
"rma_number"
|
|
4292
|
+
],
|
|
3913
4293
|
"type": "object",
|
|
3914
4294
|
"properties": {
|
|
3915
4295
|
"rma_number": {
|
|
@@ -3921,76 +4301,11 @@
|
|
|
3921
4301
|
"additionalProperties": false,
|
|
3922
4302
|
"description": "Return Label Information (Added 1.13)"
|
|
3923
4303
|
},
|
|
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
4304
|
"SchedulePickupRequest": {
|
|
3993
|
-
"required": [
|
|
4305
|
+
"required": [
|
|
4306
|
+
"requested_pickup_window",
|
|
4307
|
+
"transaction_id"
|
|
4308
|
+
],
|
|
3994
4309
|
"type": "object",
|
|
3995
4310
|
"allOf": [
|
|
3996
4311
|
{
|
|
@@ -4015,7 +4330,9 @@
|
|
|
4015
4330
|
"description": "A request to schedule a pickup with a carrier"
|
|
4016
4331
|
},
|
|
4017
4332
|
"SchedulePickupResponse": {
|
|
4018
|
-
"required": [
|
|
4333
|
+
"required": [
|
|
4334
|
+
"pickup_windows"
|
|
4335
|
+
],
|
|
4019
4336
|
"type": "object",
|
|
4020
4337
|
"allOf": [
|
|
4021
4338
|
{
|
|
@@ -4088,7 +4405,10 @@
|
|
|
4088
4405
|
"additionalProperties": false
|
|
4089
4406
|
},
|
|
4090
4407
|
"SearchRadiusUnit": {
|
|
4091
|
-
"enum": [
|
|
4408
|
+
"enum": [
|
|
4409
|
+
"miles",
|
|
4410
|
+
"kilometers"
|
|
4411
|
+
],
|
|
4092
4412
|
"type": "string"
|
|
4093
4413
|
},
|
|
4094
4414
|
"Service": {
|
|
@@ -4149,7 +4469,10 @@
|
|
|
4149
4469
|
"additionalProperties": false
|
|
4150
4470
|
},
|
|
4151
4471
|
"ServicePointAddress": {
|
|
4152
|
-
"required": [
|
|
4472
|
+
"required": [
|
|
4473
|
+
"postal_code",
|
|
4474
|
+
"country_code"
|
|
4475
|
+
],
|
|
4153
4476
|
"type": "object",
|
|
4154
4477
|
"allOf": [
|
|
4155
4478
|
{
|
|
@@ -4175,11 +4498,17 @@
|
|
|
4175
4498
|
"type": "string"
|
|
4176
4499
|
},
|
|
4177
4500
|
"ServicePointLocationType": {
|
|
4178
|
-
"enum": [
|
|
4501
|
+
"enum": [
|
|
4502
|
+
"pudo",
|
|
4503
|
+
"locker"
|
|
4504
|
+
],
|
|
4179
4505
|
"type": "string"
|
|
4180
4506
|
},
|
|
4181
4507
|
"ServicePointResponseAddress": {
|
|
4182
|
-
"required": [
|
|
4508
|
+
"required": [
|
|
4509
|
+
"postal_code",
|
|
4510
|
+
"country_code"
|
|
4511
|
+
],
|
|
4183
4512
|
"type": "object",
|
|
4184
4513
|
"allOf": [
|
|
4185
4514
|
{
|
|
@@ -4223,7 +4552,10 @@
|
|
|
4223
4552
|
"additionalProperties": false
|
|
4224
4553
|
},
|
|
4225
4554
|
"ShipFrom": {
|
|
4226
|
-
"required": [
|
|
4555
|
+
"required": [
|
|
4556
|
+
"postal_code",
|
|
4557
|
+
"country_code"
|
|
4558
|
+
],
|
|
4227
4559
|
"type": "object",
|
|
4228
4560
|
"allOf": [
|
|
4229
4561
|
{
|
|
@@ -4244,7 +4576,10 @@
|
|
|
4244
4576
|
"description": "The shipment sender's address. It may or may not have been validated."
|
|
4245
4577
|
},
|
|
4246
4578
|
"ShipFromDisplay": {
|
|
4247
|
-
"required": [
|
|
4579
|
+
"required": [
|
|
4580
|
+
"postal_code",
|
|
4581
|
+
"country_code"
|
|
4582
|
+
],
|
|
4248
4583
|
"type": "object",
|
|
4249
4584
|
"allOf": [
|
|
4250
4585
|
{
|
|
@@ -4255,7 +4590,10 @@
|
|
|
4255
4590
|
"description": "The address that should be displayed as the return address, only if the shipping provider supports\r\nthis functionality."
|
|
4256
4591
|
},
|
|
4257
4592
|
"ShipTo": {
|
|
4258
|
-
"required": [
|
|
4593
|
+
"required": [
|
|
4594
|
+
"postal_code",
|
|
4595
|
+
"country_code"
|
|
4596
|
+
],
|
|
4259
4597
|
"type": "object",
|
|
4260
4598
|
"allOf": [
|
|
4261
4599
|
{
|
|
@@ -4350,7 +4688,10 @@
|
|
|
4350
4688
|
"$ref": "#/components/schemas/Customs"
|
|
4351
4689
|
},
|
|
4352
4690
|
"insured_value": {
|
|
4353
|
-
"required": [
|
|
4691
|
+
"required": [
|
|
4692
|
+
"currency",
|
|
4693
|
+
"amount"
|
|
4694
|
+
],
|
|
4354
4695
|
"type": "object",
|
|
4355
4696
|
"properties": {
|
|
4356
4697
|
"amount": {
|
|
@@ -4378,7 +4719,9 @@
|
|
|
4378
4719
|
"description": "This is the model for a package that has had a label generated for it"
|
|
4379
4720
|
},
|
|
4380
4721
|
"ShippedProducts": {
|
|
4381
|
-
"required": [
|
|
4722
|
+
"required": [
|
|
4723
|
+
"value"
|
|
4724
|
+
],
|
|
4382
4725
|
"type": "object",
|
|
4383
4726
|
"properties": {
|
|
4384
4727
|
"description": {
|
|
@@ -4392,7 +4735,10 @@
|
|
|
4392
4735
|
"format": "int32"
|
|
4393
4736
|
},
|
|
4394
4737
|
"value": {
|
|
4395
|
-
"required": [
|
|
4738
|
+
"required": [
|
|
4739
|
+
"currency",
|
|
4740
|
+
"amount"
|
|
4741
|
+
],
|
|
4396
4742
|
"type": "object",
|
|
4397
4743
|
"properties": {
|
|
4398
4744
|
"amount": {
|
|
@@ -4557,7 +4903,16 @@
|
|
|
4557
4903
|
"additionalProperties": false
|
|
4558
4904
|
},
|
|
4559
4905
|
"StandardizedStatusCodes": {
|
|
4560
|
-
"enum": [
|
|
4906
|
+
"enum": [
|
|
4907
|
+
"UN",
|
|
4908
|
+
"AC",
|
|
4909
|
+
"IT",
|
|
4910
|
+
"DE",
|
|
4911
|
+
"EX",
|
|
4912
|
+
"AT",
|
|
4913
|
+
"NY",
|
|
4914
|
+
"SP"
|
|
4915
|
+
],
|
|
4561
4916
|
"type": "string",
|
|
4562
4917
|
"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"
|
|
4563
4918
|
},
|
|
@@ -4710,7 +5065,9 @@
|
|
|
4710
5065
|
"description": "Entity representing a Tax Identification number, type, and country of registration."
|
|
4711
5066
|
},
|
|
4712
5067
|
"TaxType": {
|
|
4713
|
-
"enum": [
|
|
5068
|
+
"enum": [
|
|
5069
|
+
"vat"
|
|
5070
|
+
],
|
|
4714
5071
|
"type": "string"
|
|
4715
5072
|
},
|
|
4716
5073
|
"TermsOfTradeCode": {
|
|
@@ -4837,7 +5194,10 @@
|
|
|
4837
5194
|
"description": "This model represents a tracking event for a shipment."
|
|
4838
5195
|
},
|
|
4839
5196
|
"TrackingAttribute": {
|
|
4840
|
-
"required": [
|
|
5197
|
+
"required": [
|
|
5198
|
+
"type",
|
|
5199
|
+
"value"
|
|
5200
|
+
],
|
|
4841
5201
|
"type": "object",
|
|
4842
5202
|
"properties": {
|
|
4843
5203
|
"type": {
|
|
@@ -4975,7 +5335,9 @@
|
|
|
4975
5335
|
"description": "This model represents tracking information for a shipment."
|
|
4976
5336
|
},
|
|
4977
5337
|
"TrackingRequest": {
|
|
4978
|
-
"required": [
|
|
5338
|
+
"required": [
|
|
5339
|
+
"transaction_id"
|
|
5340
|
+
],
|
|
4979
5341
|
"type": "object",
|
|
4980
5342
|
"allOf": [
|
|
4981
5343
|
{
|
|
@@ -5004,7 +5366,9 @@
|
|
|
5004
5366
|
"description": "This model represents the payload that is sent to request tracking information."
|
|
5005
5367
|
},
|
|
5006
5368
|
"TrackingResponse": {
|
|
5007
|
-
"required": [
|
|
5369
|
+
"required": [
|
|
5370
|
+
"tracking_info"
|
|
5371
|
+
],
|
|
5008
5372
|
"type": "object",
|
|
5009
5373
|
"allOf": [
|
|
5010
5374
|
{
|
|
@@ -5074,11 +5438,17 @@
|
|
|
5074
5438
|
"type": "string"
|
|
5075
5439
|
},
|
|
5076
5440
|
"UpdateMethods": {
|
|
5077
|
-
"enum": [
|
|
5441
|
+
"enum": [
|
|
5442
|
+
"append",
|
|
5443
|
+
"replace"
|
|
5444
|
+
],
|
|
5078
5445
|
"type": "string"
|
|
5079
5446
|
},
|
|
5080
5447
|
"UpdateSettingsRequest": {
|
|
5081
|
-
"required": [
|
|
5448
|
+
"required": [
|
|
5449
|
+
"update_settings",
|
|
5450
|
+
"transaction_id"
|
|
5451
|
+
],
|
|
5082
5452
|
"type": "object",
|
|
5083
5453
|
"allOf": [
|
|
5084
5454
|
{
|
|
@@ -5110,7 +5480,9 @@
|
|
|
5110
5480
|
"description": "This model represents the successful response for updating carrier settings request."
|
|
5111
5481
|
},
|
|
5112
5482
|
"ValidateInboundDataRequest": {
|
|
5113
|
-
"required": [
|
|
5483
|
+
"required": [
|
|
5484
|
+
"transaction_id"
|
|
5485
|
+
],
|
|
5114
5486
|
"type": "object",
|
|
5115
5487
|
"allOf": [
|
|
5116
5488
|
{
|
|
@@ -5239,7 +5611,10 @@
|
|
|
5239
5611
|
"description": "A list of standard validation error identifiers for errors the module can return"
|
|
5240
5612
|
},
|
|
5241
5613
|
"VoidLabelsRequest": {
|
|
5242
|
-
"required": [
|
|
5614
|
+
"required": [
|
|
5615
|
+
"void_requests",
|
|
5616
|
+
"transaction_id"
|
|
5617
|
+
],
|
|
5243
5618
|
"type": "object",
|
|
5244
5619
|
"allOf": [
|
|
5245
5620
|
{
|
|
@@ -5260,7 +5635,9 @@
|
|
|
5260
5635
|
"description": "This model represents the payload sent to void a set of labels."
|
|
5261
5636
|
},
|
|
5262
5637
|
"VoidLabelsResponse": {
|
|
5263
|
-
"required": [
|
|
5638
|
+
"required": [
|
|
5639
|
+
"void_responses"
|
|
5640
|
+
],
|
|
5264
5641
|
"type": "object",
|
|
5265
5642
|
"allOf": [
|
|
5266
5643
|
{
|
|
@@ -5281,7 +5658,10 @@
|
|
|
5281
5658
|
"description": "This model represents the successful attempt to void a set of labels."
|
|
5282
5659
|
},
|
|
5283
5660
|
"VoidRequest": {
|
|
5284
|
-
"required": [
|
|
5661
|
+
"required": [
|
|
5662
|
+
"void_request_id",
|
|
5663
|
+
"ship_from"
|
|
5664
|
+
],
|
|
5285
5665
|
"type": "object",
|
|
5286
5666
|
"allOf": [
|
|
5287
5667
|
{
|
|
@@ -5302,7 +5682,9 @@
|
|
|
5302
5682
|
"description": "A request to void a particular label."
|
|
5303
5683
|
},
|
|
5304
5684
|
"VoidResponse": {
|
|
5305
|
-
"required": [
|
|
5685
|
+
"required": [
|
|
5686
|
+
"void_request_id"
|
|
5687
|
+
],
|
|
5306
5688
|
"type": "object",
|
|
5307
5689
|
"properties": {
|
|
5308
5690
|
"void_request_id": {
|
|
@@ -5416,7 +5798,12 @@
|
|
|
5416
5798
|
"description": "This model represents the weight of a package in its original unit, ounces, and grams."
|
|
5417
5799
|
},
|
|
5418
5800
|
"WeightUnit": {
|
|
5419
|
-
"enum": [
|
|
5801
|
+
"enum": [
|
|
5802
|
+
"grams",
|
|
5803
|
+
"ounces",
|
|
5804
|
+
"kilograms",
|
|
5805
|
+
"pounds"
|
|
5806
|
+
],
|
|
5420
5807
|
"type": "string",
|
|
5421
5808
|
"description": "This model describes the possible units of weight."
|
|
5422
5809
|
},
|
|
@@ -5482,4 +5869,4 @@
|
|
|
5482
5869
|
"description": "Given inbound data, such as a webhook with tracking updates, return normalized information."
|
|
5483
5870
|
}
|
|
5484
5871
|
]
|
|
5485
|
-
}
|
|
5872
|
+
}
|