@shipengine/connect-carrier-api 4.16.6 → 4.16.7
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/carrier-app-definition.d.ts +7 -2
- package/lib/app/constants.d.ts +2 -1
- package/lib/app/constants.js +1 -0
- package/lib/app/constants.js.map +1 -1
- package/lib/app/create-endpoint-mapping.js +1 -0
- package/lib/app/create-endpoint-mapping.js.map +1 -1
- package/lib/models/addresses/pickup-address.d.ts +3 -0
- package/lib/models/addresses/pickup-address.js +8 -0
- package/lib/models/addresses/pickup-address.js.map +1 -0
- package/lib/models/labels/void-request.d.ts +0 -2
- package/lib/models/labels/void-request.js +0 -2
- package/lib/models/labels/void-request.js.map +1 -1
- package/lib/models/manifests/manifest-request-shipment.d.ts +0 -1
- package/lib/models/manifests/manifest-request-shipment.js +0 -1
- package/lib/models/manifests/manifest-request-shipment.js.map +1 -1
- package/lib/models/pickup/pickup-schema.d.ts +2 -0
- package/lib/models/pickup/pickup-schema.js +11 -0
- package/lib/models/pickup/pickup-schema.js.map +1 -0
- package/lib/models/pickup/pickup.d.ts +5 -0
- package/lib/models/pickup/pickup.js +10 -0
- package/lib/models/pickup/pickup.js.map +1 -0
- package/lib/models/pickup/shipped-shipment.d.ts +2 -0
- package/lib/models/pickup/shipped-shipment.js +2 -0
- package/lib/models/pickup/shipped-shipment.js.map +1 -1
- package/lib/models/tracking/index.d.ts +2 -0
- package/lib/models/tracking/index.js +2 -0
- package/lib/models/tracking/index.js.map +1 -1
- package/lib/requests/index.d.ts +1 -0
- package/lib/requests/index.js +1 -0
- package/lib/requests/index.js.map +1 -1
- package/lib/requests/list-pickups-request.d.ts +9 -0
- package/lib/requests/list-pickups-request.js +12 -0
- package/lib/requests/list-pickups-request.js.map +1 -0
- package/lib/responses/index.d.ts +2 -0
- package/lib/responses/index.js +2 -0
- package/lib/responses/index.js.map +1 -1
- package/lib/responses/list-pickups-response-schema.d.ts +1 -0
- package/lib/responses/list-pickups-response-schema.js +9 -0
- package/lib/responses/list-pickups-response-schema.js.map +1 -0
- package/lib/responses/list-pickups-response.d.ts +6 -0
- package/lib/responses/list-pickups-response.js +10 -0
- package/lib/responses/list-pickups-response.js.map +1 -0
- package/package.json +1 -1
- package/spec.json +501 -441
- package/src/app/carrier-app-definition.ts +7 -0
- package/src/app/constants.ts +1 -0
- package/src/app/create-endpoint-mapping.ts +1 -0
- package/src/models/addresses/pickup-address.ts +3 -0
- package/src/models/labels/void-request.ts +0 -2
- package/src/models/manifests/manifest-request-shipment.ts +0 -1
- package/src/models/pickup/pickup-schema.ts +7 -0
- package/src/models/pickup/pickup.ts +5 -0
- package/src/models/pickup/shipped-shipment.ts +2 -0
- package/src/models/tracking/index.ts +2 -0
- package/src/requests/index.ts +1 -0
- package/src/requests/list-pickups-request.ts +10 -0
- package/src/responses/index.ts +2 -0
- package/src/responses/list-pickups-response-schema.ts +6 -0
- package/src/responses/list-pickups-response.ts +7 -0
- package/tsconfig.tsbuildinfo +1 -1
package/spec.json
CHANGED
|
@@ -3,14 +3,12 @@
|
|
|
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.4"
|
|
7
7
|
},
|
|
8
8
|
"paths": {
|
|
9
9
|
"/Register": {
|
|
10
10
|
"post": {
|
|
11
|
-
"tags": [
|
|
12
|
-
"Account Setup"
|
|
13
|
-
],
|
|
11
|
+
"tags": ["Account Setup"],
|
|
14
12
|
"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.",
|
|
15
13
|
"operationId": "Register",
|
|
16
14
|
"requestBody": {
|
|
@@ -20,7 +18,19 @@
|
|
|
20
18
|
"schema": {
|
|
21
19
|
"$ref": "#/components/schemas/ExampleRegisterRequest"
|
|
22
20
|
},
|
|
23
|
-
"example": {
|
|
21
|
+
"example": {
|
|
22
|
+
"registration_info": {
|
|
23
|
+
"username": "auctane-next-day",
|
|
24
|
+
"password": "password!",
|
|
25
|
+
"meter_number": "8675309"
|
|
26
|
+
},
|
|
27
|
+
"transaction_id": "00000000-0000-0000-0000-000000000000",
|
|
28
|
+
"metadata": {
|
|
29
|
+
"username": "auctane-next-day",
|
|
30
|
+
"password": "password!",
|
|
31
|
+
"meter_number": "8675309"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
24
34
|
}
|
|
25
35
|
}
|
|
26
36
|
},
|
|
@@ -32,7 +42,17 @@
|
|
|
32
42
|
"schema": {
|
|
33
43
|
"$ref": "#/components/schemas/RegisterResponse"
|
|
34
44
|
},
|
|
35
|
-
"example": {
|
|
45
|
+
"example": {
|
|
46
|
+
"credentials": {
|
|
47
|
+
"username": "auctane-next-day",
|
|
48
|
+
"password": "password!"
|
|
49
|
+
},
|
|
50
|
+
"metadata": {
|
|
51
|
+
"username": "auctane-next-day",
|
|
52
|
+
"password": "password!",
|
|
53
|
+
"meter_number": "8675309"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
36
56
|
}
|
|
37
57
|
}
|
|
38
58
|
}
|
|
@@ -41,9 +61,7 @@
|
|
|
41
61
|
},
|
|
42
62
|
"/CreateLabel": {
|
|
43
63
|
"post": {
|
|
44
|
-
"tags": [
|
|
45
|
-
"Labels"
|
|
46
|
-
],
|
|
64
|
+
"tags": ["Labels"],
|
|
47
65
|
"description": "This method creates a new label.",
|
|
48
66
|
"operationId": "CreateLabel",
|
|
49
67
|
"parameters": [
|
|
@@ -83,9 +101,7 @@
|
|
|
83
101
|
},
|
|
84
102
|
"/VoidLabels": {
|
|
85
103
|
"post": {
|
|
86
|
-
"tags": [
|
|
87
|
-
"Labels"
|
|
88
|
-
],
|
|
104
|
+
"tags": ["Labels"],
|
|
89
105
|
"description": "This method is used to void a previously created labels.",
|
|
90
106
|
"operationId": "VoidLabels",
|
|
91
107
|
"requestBody": {
|
|
@@ -114,9 +130,7 @@
|
|
|
114
130
|
},
|
|
115
131
|
"/CreateManifest": {
|
|
116
132
|
"post": {
|
|
117
|
-
"tags": [
|
|
118
|
-
"Manifesting"
|
|
119
|
-
],
|
|
133
|
+
"tags": ["Manifesting"],
|
|
120
134
|
"description": "This method creates an end-of-day manifest and should be implemented by carrier apps that support\r\nend-of-day manifesting.",
|
|
121
135
|
"operationId": "CreateManifest",
|
|
122
136
|
"requestBody": {
|
|
@@ -145,9 +159,7 @@
|
|
|
145
159
|
},
|
|
146
160
|
"/GetManifest": {
|
|
147
161
|
"post": {
|
|
148
|
-
"tags": [
|
|
149
|
-
"Manifesting"
|
|
150
|
-
],
|
|
162
|
+
"tags": ["Manifesting"],
|
|
151
163
|
"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.",
|
|
152
164
|
"operationId": "GetManifest",
|
|
153
165
|
"requestBody": {
|
|
@@ -176,9 +188,7 @@
|
|
|
176
188
|
},
|
|
177
189
|
"/ValidateInboundData": {
|
|
178
190
|
"post": {
|
|
179
|
-
"tags": [
|
|
180
|
-
"Normalize Inbound Data"
|
|
181
|
-
],
|
|
191
|
+
"tags": ["Normalize Inbound Data"],
|
|
182
192
|
"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",
|
|
183
193
|
"operationId": "ValidateInboundData",
|
|
184
194
|
"requestBody": {
|
|
@@ -188,7 +198,22 @@
|
|
|
188
198
|
"schema": {
|
|
189
199
|
"$ref": "#/components/schemas/ValidateInboundDataRequest"
|
|
190
200
|
},
|
|
191
|
-
"example": {
|
|
201
|
+
"example": {
|
|
202
|
+
"data": "{\"tracking_number\":\"12345678901234567890\",\"status\":11,\"timestamp\":\"2021-08-11T21:15:00Z\"}",
|
|
203
|
+
"headers": {
|
|
204
|
+
"content-type": ["application/json"],
|
|
205
|
+
"X-Signature": [
|
|
206
|
+
"v1:cedff7d0389299089e4c62c1042ce93059664d455ed0bfdf29cb959a861bda4b",
|
|
207
|
+
"v2:4b3157c730e498cb1126359fa020017e9e7c97b148f2d55da822fdfcd83e4a19"
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
"transaction_id": "00000000-0000-0000-0000-000000000000",
|
|
211
|
+
"metadata": {
|
|
212
|
+
"username": "auctane-next-day",
|
|
213
|
+
"password": "password!",
|
|
214
|
+
"meter_number": "8675309"
|
|
215
|
+
}
|
|
216
|
+
}
|
|
192
217
|
}
|
|
193
218
|
}
|
|
194
219
|
},
|
|
@@ -203,7 +228,7 @@
|
|
|
203
228
|
"examples": {
|
|
204
229
|
"Tracking": {
|
|
205
230
|
"summary": "Tracking",
|
|
206
|
-
"value": {"content_types":["tracking"]}
|
|
231
|
+
"value": { "content_types": ["tracking"] }
|
|
207
232
|
}
|
|
208
233
|
}
|
|
209
234
|
}
|
|
@@ -214,9 +239,7 @@
|
|
|
214
239
|
},
|
|
215
240
|
"/NormalizeTrackingData": {
|
|
216
241
|
"post": {
|
|
217
|
-
"tags": [
|
|
218
|
-
"Normalize Inbound Data"
|
|
219
|
-
],
|
|
242
|
+
"tags": ["Normalize Inbound Data"],
|
|
220
243
|
"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",
|
|
221
244
|
"operationId": "NormalizeTrackingData",
|
|
222
245
|
"requestBody": {
|
|
@@ -226,7 +249,22 @@
|
|
|
226
249
|
"schema": {
|
|
227
250
|
"$ref": "#/components/schemas/NormalizeTrackingDataRequest"
|
|
228
251
|
},
|
|
229
|
-
"example": {
|
|
252
|
+
"example": {
|
|
253
|
+
"data": "{\"tracking_number\":\"12345678901234567890\",\"status\":11,\"timestamp\":\"2021-08-11T21:15:00Z\"}",
|
|
254
|
+
"headers": {
|
|
255
|
+
"content-type": ["application/json"],
|
|
256
|
+
"X-Signature": [
|
|
257
|
+
"v1:cedff7d0389299089e4c62c1042ce93059664d455ed0bfdf29cb959a861bda4b",
|
|
258
|
+
"v2:4b3157c730e498cb1126359fa020017e9e7c97b148f2d55da822fdfcd83e4a19"
|
|
259
|
+
]
|
|
260
|
+
},
|
|
261
|
+
"transaction_id": "00000000-0000-0000-0000-000000000000",
|
|
262
|
+
"metadata": {
|
|
263
|
+
"username": "auctane-next-day",
|
|
264
|
+
"password": "password!",
|
|
265
|
+
"meter_number": "8675309"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
230
268
|
}
|
|
231
269
|
}
|
|
232
270
|
},
|
|
@@ -241,7 +279,25 @@
|
|
|
241
279
|
"examples": {
|
|
242
280
|
"Delivered": {
|
|
243
281
|
"summary": "Delivered",
|
|
244
|
-
"value": {
|
|
282
|
+
"value": {
|
|
283
|
+
"tracking_info": [
|
|
284
|
+
{
|
|
285
|
+
"carrier_name": "UPS",
|
|
286
|
+
"tracking_number": "12345678901234567890",
|
|
287
|
+
"standardized_status_code": "DE",
|
|
288
|
+
"carrier_status_code": "11",
|
|
289
|
+
"carrier_status_description": "Delivered",
|
|
290
|
+
"estimated_delivery_datetime": "2021-08-11T00:00:00",
|
|
291
|
+
"actual_delivery_datetime": "2021-08-11T21:15:00Z",
|
|
292
|
+
"service": { "code": "03", "name": "UPS® Ground" },
|
|
293
|
+
"packaging": "package",
|
|
294
|
+
"package_count": 1,
|
|
295
|
+
"shipping_problem": false,
|
|
296
|
+
"carrierEnum": 0
|
|
297
|
+
}
|
|
298
|
+
],
|
|
299
|
+
"update_method": "append"
|
|
300
|
+
}
|
|
245
301
|
}
|
|
246
302
|
}
|
|
247
303
|
}
|
|
@@ -252,9 +308,7 @@
|
|
|
252
308
|
},
|
|
253
309
|
"/CreateNotification": {
|
|
254
310
|
"post": {
|
|
255
|
-
"tags": [
|
|
256
|
-
"Shipment Notifications"
|
|
257
|
-
],
|
|
311
|
+
"tags": ["Shipment Notifications"],
|
|
258
312
|
"operationId": "CreateNotification",
|
|
259
313
|
"requestBody": {
|
|
260
314
|
"content": {
|
|
@@ -281,9 +335,7 @@
|
|
|
281
335
|
},
|
|
282
336
|
"/CancelNotification": {
|
|
283
337
|
"post": {
|
|
284
|
-
"tags": [
|
|
285
|
-
"Shipment Notifications"
|
|
286
|
-
],
|
|
338
|
+
"tags": ["Shipment Notifications"],
|
|
287
339
|
"operationId": "CancelNotification",
|
|
288
340
|
"requestBody": {
|
|
289
341
|
"content": {
|
|
@@ -310,9 +362,7 @@
|
|
|
310
362
|
},
|
|
311
363
|
"/SchedulePickup": {
|
|
312
364
|
"post": {
|
|
313
|
-
"tags": [
|
|
314
|
-
"Scheduled Pickups"
|
|
315
|
-
],
|
|
365
|
+
"tags": ["Scheduled Pickups"],
|
|
316
366
|
"description": "This method is used to schedule a pickup with a carrier.",
|
|
317
367
|
"operationId": "SchedulePickup",
|
|
318
368
|
"requestBody": {
|
|
@@ -341,9 +391,7 @@
|
|
|
341
391
|
},
|
|
342
392
|
"/CancelPickup": {
|
|
343
393
|
"post": {
|
|
344
|
-
"tags": [
|
|
345
|
-
"Scheduled Pickups"
|
|
346
|
-
],
|
|
394
|
+
"tags": ["Scheduled Pickups"],
|
|
347
395
|
"operationId": "CancelPickup",
|
|
348
396
|
"requestBody": {
|
|
349
397
|
"content": {
|
|
@@ -368,11 +416,36 @@
|
|
|
368
416
|
}
|
|
369
417
|
}
|
|
370
418
|
},
|
|
419
|
+
"/ListPickups": {
|
|
420
|
+
"post": {
|
|
421
|
+
"tags": ["List Pickups"],
|
|
422
|
+
"operationId": "ListPickups",
|
|
423
|
+
"requestBody": {
|
|
424
|
+
"content": {
|
|
425
|
+
"application/json": {
|
|
426
|
+
"schema": {
|
|
427
|
+
"$ref": "#/components/schemas/ListPickupsRequest"
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
"responses": {
|
|
433
|
+
"200": {
|
|
434
|
+
"description": "This object model represents the response from a successful list pickups request.",
|
|
435
|
+
"content": {
|
|
436
|
+
"application/json": {
|
|
437
|
+
"schema": {
|
|
438
|
+
"$ref": "#/components/schemas/ListPickupsResponse"
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
},
|
|
371
446
|
"/GetRates": {
|
|
372
447
|
"post": {
|
|
373
|
-
"tags": [
|
|
374
|
-
"Rating"
|
|
375
|
-
],
|
|
448
|
+
"tags": ["Rating"],
|
|
376
449
|
"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.",
|
|
377
450
|
"operationId": "GetRates",
|
|
378
451
|
"requestBody": {
|
|
@@ -401,9 +474,7 @@
|
|
|
401
474
|
},
|
|
402
475
|
"/GetRelayPoints": {
|
|
403
476
|
"post": {
|
|
404
|
-
"tags": [
|
|
405
|
-
"Relay Points"
|
|
406
|
-
],
|
|
477
|
+
"tags": ["Relay Points"],
|
|
407
478
|
"description": "This method gets carrier relay points based on search criteria.",
|
|
408
479
|
"operationId": "GetRelayPoints",
|
|
409
480
|
"parameters": [
|
|
@@ -443,9 +514,7 @@
|
|
|
443
514
|
},
|
|
444
515
|
"/GetServicePoints": {
|
|
445
516
|
"post": {
|
|
446
|
-
"tags": [
|
|
447
|
-
"Service Points"
|
|
448
|
-
],
|
|
517
|
+
"tags": ["Service Points"],
|
|
449
518
|
"description": "This method gets carrier service points based on search criteria.",
|
|
450
519
|
"operationId": "Get Service Points",
|
|
451
520
|
"parameters": [
|
|
@@ -485,9 +554,7 @@
|
|
|
485
554
|
},
|
|
486
555
|
"/GetServicePoint": {
|
|
487
556
|
"post": {
|
|
488
|
-
"tags": [
|
|
489
|
-
"Service Points"
|
|
490
|
-
],
|
|
557
|
+
"tags": ["Service Points"],
|
|
491
558
|
"description": "This method gets a carrier service point by id",
|
|
492
559
|
"operationId": "Get Service Point",
|
|
493
560
|
"parameters": [
|
|
@@ -527,9 +594,7 @@
|
|
|
527
594
|
},
|
|
528
595
|
"/Track": {
|
|
529
596
|
"post": {
|
|
530
|
-
"tags": [
|
|
531
|
-
"Tracking"
|
|
532
|
-
],
|
|
597
|
+
"tags": ["Tracking"],
|
|
533
598
|
"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.",
|
|
534
599
|
"operationId": "Track",
|
|
535
600
|
"requestBody": {
|
|
@@ -539,7 +604,32 @@
|
|
|
539
604
|
"schema": {
|
|
540
605
|
"$ref": "#/components/schemas/TrackingRequest"
|
|
541
606
|
},
|
|
542
|
-
"example": {
|
|
607
|
+
"example": {
|
|
608
|
+
"tracking_number": "12345678901234567890",
|
|
609
|
+
"is_return": false,
|
|
610
|
+
"identifiers": [
|
|
611
|
+
{
|
|
612
|
+
"type": "tracking_number",
|
|
613
|
+
"value": "12345678901234567890"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"type": "carrier_transaction_id",
|
|
617
|
+
"value": "US-12345678901234567890-1"
|
|
618
|
+
}
|
|
619
|
+
],
|
|
620
|
+
"attributes": [
|
|
621
|
+
{
|
|
622
|
+
"type": "marketplace_order_token",
|
|
623
|
+
"value": "123456abcdefg7890"
|
|
624
|
+
}
|
|
625
|
+
],
|
|
626
|
+
"transaction_id": "00000000-0000-0000-0000-000000000000",
|
|
627
|
+
"metadata": {
|
|
628
|
+
"username": "auctane-next-day",
|
|
629
|
+
"password": "password!",
|
|
630
|
+
"meter_number": "8675309"
|
|
631
|
+
}
|
|
632
|
+
}
|
|
543
633
|
}
|
|
544
634
|
}
|
|
545
635
|
},
|
|
@@ -554,15 +644,189 @@
|
|
|
554
644
|
"examples": {
|
|
555
645
|
"Delivered with Event History": {
|
|
556
646
|
"summary": "Delivered with Event History",
|
|
557
|
-
"value": {
|
|
647
|
+
"value": {
|
|
648
|
+
"tracking_info": {
|
|
649
|
+
"carrier_name": "UPS",
|
|
650
|
+
"tracking_number": "12345678901234567890",
|
|
651
|
+
"standardized_status_code": "DE",
|
|
652
|
+
"carrier_status_code": "D",
|
|
653
|
+
"carrier_detail_code": "FS",
|
|
654
|
+
"carrier_status_description": "Delivered",
|
|
655
|
+
"estimated_delivery_datetime": "2021-08-11T00:00:00",
|
|
656
|
+
"actual_delivery_datetime": "2021-08-11T21:15:00Z",
|
|
657
|
+
"weight": 500.0,
|
|
658
|
+
"dimensions": {
|
|
659
|
+
"length": 10.0,
|
|
660
|
+
"width": 10.0,
|
|
661
|
+
"height": 10.0
|
|
662
|
+
},
|
|
663
|
+
"service": { "code": "03", "name": "UPS® Ground" },
|
|
664
|
+
"packaging": "package",
|
|
665
|
+
"package_count": 1,
|
|
666
|
+
"events": [
|
|
667
|
+
{
|
|
668
|
+
"event_datetime": "2021-08-08T21:15:00Z",
|
|
669
|
+
"event_datetime_local": "2021-08-08T16:15:00",
|
|
670
|
+
"event_code": "M",
|
|
671
|
+
"carrier_detail_code": "DP",
|
|
672
|
+
"description": "Order Processed: Ready for UPS",
|
|
673
|
+
"city": "Austin",
|
|
674
|
+
"state": "TX",
|
|
675
|
+
"postal_code": "78756",
|
|
676
|
+
"country": "US",
|
|
677
|
+
"geo": { "lat": 30.31, "long": -97.74 },
|
|
678
|
+
"status_code": "AC"
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"event_datetime": "2021-08-09T09:15:00Z",
|
|
682
|
+
"event_datetime_local": "2021-08-09T04:15:00",
|
|
683
|
+
"event_code": "I",
|
|
684
|
+
"carrier_detail_code": "MY",
|
|
685
|
+
"description": "In Transit",
|
|
686
|
+
"city": "Austin",
|
|
687
|
+
"state": "TX",
|
|
688
|
+
"postal_code": "78756",
|
|
689
|
+
"country": "US",
|
|
690
|
+
"geo": { "lat": 30.2, "long": -97.66 },
|
|
691
|
+
"status_code": "IT"
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
"event_datetime": "2021-08-10T09:15:00Z",
|
|
695
|
+
"event_datetime_local": "2021-08-10T04:15:00",
|
|
696
|
+
"event_code": "I",
|
|
697
|
+
"carrier_detail_code": "DS",
|
|
698
|
+
"description": "On Vehicle for Delivery",
|
|
699
|
+
"city": "Los Angeles",
|
|
700
|
+
"state": "CA",
|
|
701
|
+
"postal_code": "90045",
|
|
702
|
+
"country": "US",
|
|
703
|
+
"geo": { "lat": 33.95, "long": -118.38 },
|
|
704
|
+
"status_code": "IT"
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"event_datetime": "2021-08-10T15:15:00Z",
|
|
708
|
+
"event_datetime_local": "2021-08-10T10:15:00",
|
|
709
|
+
"event_code": "I",
|
|
710
|
+
"carrier_detail_code": "OF",
|
|
711
|
+
"description": "On Vehicle for Delivery Today",
|
|
712
|
+
"city": "Los Angeles",
|
|
713
|
+
"state": "CA",
|
|
714
|
+
"postal_code": "90045",
|
|
715
|
+
"country": "US",
|
|
716
|
+
"geo": { "lat": 33.95, "long": -118.38 },
|
|
717
|
+
"status_code": "IT"
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"event_datetime": "2021-08-10T21:15:00Z",
|
|
721
|
+
"event_datetime_local": "2021-08-10T16:15:00",
|
|
722
|
+
"event_code": "I",
|
|
723
|
+
"carrier_detail_code": "QS",
|
|
724
|
+
"description": "First Attempt Made",
|
|
725
|
+
"city": "El Segundo",
|
|
726
|
+
"state": "CA",
|
|
727
|
+
"postal_code": "90245",
|
|
728
|
+
"country": "US",
|
|
729
|
+
"geo": { "lat": 33.95, "long": -118.38 },
|
|
730
|
+
"status_code": "AT"
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"event_datetime": "2021-08-11T03:15:00Z",
|
|
734
|
+
"event_datetime_local": "2021-08-10T22:15:00",
|
|
735
|
+
"event_code": "I",
|
|
736
|
+
"carrier_detail_code": "OF",
|
|
737
|
+
"description": "On Vehicle for Delivery Today",
|
|
738
|
+
"city": "Los Angeles",
|
|
739
|
+
"state": "CA",
|
|
740
|
+
"postal_code": "90045",
|
|
741
|
+
"country": "US",
|
|
742
|
+
"geo": { "lat": 33.95, "long": -118.38 },
|
|
743
|
+
"status_code": "IT"
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"event_datetime": "2021-08-11T21:15:00Z",
|
|
747
|
+
"event_datetime_local": "2021-08-11T16:15:00",
|
|
748
|
+
"event_code": "D",
|
|
749
|
+
"carrier_detail_code": "FS",
|
|
750
|
+
"description": "Delivered",
|
|
751
|
+
"city": "El Segundo",
|
|
752
|
+
"state": "CA",
|
|
753
|
+
"postal_code": "90245",
|
|
754
|
+
"country": "US",
|
|
755
|
+
"geo": { "lat": 33.95, "long": -118.38 },
|
|
756
|
+
"status_code": "DE"
|
|
757
|
+
}
|
|
758
|
+
],
|
|
759
|
+
"shipping_problem": false,
|
|
760
|
+
"carrierEnum": 0
|
|
761
|
+
}
|
|
762
|
+
}
|
|
558
763
|
},
|
|
559
764
|
"Not Yet in System": {
|
|
560
765
|
"summary": "Not Yet in System",
|
|
561
|
-
"value": {
|
|
766
|
+
"value": {
|
|
767
|
+
"tracking_info": {
|
|
768
|
+
"carrier_name": "UPS",
|
|
769
|
+
"tracking_number": "12345678901234567890",
|
|
770
|
+
"standardized_status_code": "NY",
|
|
771
|
+
"events": [],
|
|
772
|
+
"shipping_problem": false,
|
|
773
|
+
"carrierEnum": 0
|
|
774
|
+
}
|
|
775
|
+
}
|
|
562
776
|
},
|
|
563
777
|
"Fatal Exception": {
|
|
564
778
|
"summary": "Fatal Exception",
|
|
565
|
-
"value": {
|
|
779
|
+
"value": {
|
|
780
|
+
"tracking_info": {
|
|
781
|
+
"carrier_name": "UPS",
|
|
782
|
+
"tracking_number": "12345678901234567890",
|
|
783
|
+
"standardized_status_code": "EX",
|
|
784
|
+
"carrier_status_code": "X",
|
|
785
|
+
"carrier_detail_code": "KR",
|
|
786
|
+
"carrier_status_description": "Delivery Refused",
|
|
787
|
+
"estimated_delivery_datetime": "2021-08-11T00:00:00",
|
|
788
|
+
"actual_delivery_datetime": "2021-08-11T21:15:00Z",
|
|
789
|
+
"weight": 500.0,
|
|
790
|
+
"dimensions": {
|
|
791
|
+
"length": 10.0,
|
|
792
|
+
"width": 10.0,
|
|
793
|
+
"height": 10.0
|
|
794
|
+
},
|
|
795
|
+
"service": { "code": "03", "name": "UPS® Ground" },
|
|
796
|
+
"packaging": "package",
|
|
797
|
+
"package_count": 1,
|
|
798
|
+
"events": [
|
|
799
|
+
{
|
|
800
|
+
"event_datetime": "2021-08-09T09:15:00Z",
|
|
801
|
+
"event_datetime_local": "2021-08-09T04:15:00",
|
|
802
|
+
"event_code": "I",
|
|
803
|
+
"carrier_detail_code": "MY",
|
|
804
|
+
"description": "In Transit",
|
|
805
|
+
"city": "Austin",
|
|
806
|
+
"state": "TX",
|
|
807
|
+
"postal_code": "78756",
|
|
808
|
+
"country": "US",
|
|
809
|
+
"geo": { "lat": 30.2, "long": -97.66 },
|
|
810
|
+
"status_code": "IT"
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
"event_datetime": "2021-08-11T21:15:00Z",
|
|
814
|
+
"event_datetime_local": "2021-08-11T16:15:00",
|
|
815
|
+
"event_code": "X",
|
|
816
|
+
"carrier_detail_code": "KR",
|
|
817
|
+
"description": "Delivery Refused",
|
|
818
|
+
"city": "El Segundo",
|
|
819
|
+
"state": "CA",
|
|
820
|
+
"postal_code": "90245",
|
|
821
|
+
"country": "US",
|
|
822
|
+
"geo": { "lat": 33.95, "long": -118.38 },
|
|
823
|
+
"status_code": "EX"
|
|
824
|
+
}
|
|
825
|
+
],
|
|
826
|
+
"shipping_problem": false,
|
|
827
|
+
"carrierEnum": 0
|
|
828
|
+
}
|
|
829
|
+
}
|
|
566
830
|
}
|
|
567
831
|
}
|
|
568
832
|
}
|
|
@@ -573,9 +837,7 @@
|
|
|
573
837
|
},
|
|
574
838
|
"/ImportTrackingEvents": {
|
|
575
839
|
"post": {
|
|
576
|
-
"tags": [
|
|
577
|
-
"Tracking"
|
|
578
|
-
],
|
|
840
|
+
"tags": ["Tracking"],
|
|
579
841
|
"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.",
|
|
580
842
|
"operationId": "ImportTrackingEvents",
|
|
581
843
|
"requestBody": {
|
|
@@ -607,9 +869,7 @@
|
|
|
607
869
|
},
|
|
608
870
|
"/UpdateSettings": {
|
|
609
871
|
"post": {
|
|
610
|
-
"tags": [
|
|
611
|
-
"Account Setup"
|
|
612
|
-
],
|
|
872
|
+
"tags": ["Account Setup"],
|
|
613
873
|
"description": "This method is used to update carrier settings.",
|
|
614
874
|
"operationId": "Update Settings",
|
|
615
875
|
"requestBody": {
|
|
@@ -638,9 +898,7 @@
|
|
|
638
898
|
},
|
|
639
899
|
"/ValidateShipment": {
|
|
640
900
|
"post": {
|
|
641
|
-
"tags": [
|
|
642
|
-
"Validations"
|
|
643
|
-
],
|
|
901
|
+
"tags": ["Validations"],
|
|
644
902
|
"description": "This method validates a shipment against carrier constraints for selected service.",
|
|
645
903
|
"operationId": "ValidateShipment",
|
|
646
904
|
"requestBody": {
|
|
@@ -671,18 +929,12 @@
|
|
|
671
929
|
"components": {
|
|
672
930
|
"schemas": {
|
|
673
931
|
"AccessibilityTypes": {
|
|
674
|
-
"enum": [
|
|
675
|
-
"accessible",
|
|
676
|
-
"inaccessible"
|
|
677
|
-
],
|
|
932
|
+
"enum": ["accessible", "inaccessible"],
|
|
678
933
|
"type": "string",
|
|
679
934
|
"description": "Specifies if the product is accessible during delivery,\r\naccessible\r\ninaccessible"
|
|
680
935
|
},
|
|
681
936
|
"AddressBase": {
|
|
682
|
-
"required": [
|
|
683
|
-
"postal_code",
|
|
684
|
-
"country_code"
|
|
685
|
-
],
|
|
937
|
+
"required": ["postal_code", "country_code"],
|
|
686
938
|
"type": "object",
|
|
687
939
|
"properties": {
|
|
688
940
|
"address_lines": {
|
|
@@ -717,21 +969,12 @@
|
|
|
717
969
|
"additionalProperties": false
|
|
718
970
|
},
|
|
719
971
|
"AddressResidentialIndicator": {
|
|
720
|
-
"enum": [
|
|
721
|
-
"unknown",
|
|
722
|
-
"yes",
|
|
723
|
-
"no",
|
|
724
|
-
"commercial",
|
|
725
|
-
"residential"
|
|
726
|
-
],
|
|
972
|
+
"enum": ["unknown", "yes", "no", "commercial", "residential"],
|
|
727
973
|
"type": "string",
|
|
728
974
|
"description": "'Commercial' is no longer used, please use 'No'. <br />'Residential' is no longer used, please use 'Yes'."
|
|
729
975
|
},
|
|
730
976
|
"AddressWithContact": {
|
|
731
|
-
"required": [
|
|
732
|
-
"postal_code",
|
|
733
|
-
"country_code"
|
|
734
|
-
],
|
|
977
|
+
"required": ["postal_code", "country_code"],
|
|
735
978
|
"type": "object",
|
|
736
979
|
"allOf": [
|
|
737
980
|
{
|
|
@@ -809,10 +1052,7 @@
|
|
|
809
1052
|
"description": "Describes whether or not the shipment is requested to be delivered on a Saturday."
|
|
810
1053
|
},
|
|
811
1054
|
"tip": {
|
|
812
|
-
"required": [
|
|
813
|
-
"currency",
|
|
814
|
-
"amount"
|
|
815
|
-
],
|
|
1055
|
+
"required": ["currency", "amount"],
|
|
816
1056
|
"type": "object",
|
|
817
1057
|
"properties": {
|
|
818
1058
|
"amount": {
|
|
@@ -869,7 +1109,7 @@
|
|
|
869
1109
|
"$ref": "#/components/schemas/TransportMeanEnum"
|
|
870
1110
|
}
|
|
871
1111
|
},
|
|
872
|
-
"additionalProperties": {
|
|
1112
|
+
"additionalProperties": {},
|
|
873
1113
|
"description": "This is a schemaless object. It is for open ended customizations unique to particular carriers. The documented\r\nkeys are some common options shared by many carriers, but are not definitive. Advanced options you support will\r\nbe defined in ShipEngine. If the field is absent it should be interpreted as the default value for any\r\napplicable options, e.g. false for booleans."
|
|
874
1114
|
},
|
|
875
1115
|
"Authorization": {
|
|
@@ -893,9 +1133,7 @@
|
|
|
893
1133
|
"additionalProperties": false
|
|
894
1134
|
},
|
|
895
1135
|
"BaseRequest": {
|
|
896
|
-
"required": [
|
|
897
|
-
"transaction_id"
|
|
898
|
-
],
|
|
1136
|
+
"required": ["transaction_id"],
|
|
899
1137
|
"type": "object",
|
|
900
1138
|
"properties": {
|
|
901
1139
|
"transaction_id": {
|
|
@@ -935,10 +1173,7 @@
|
|
|
935
1173
|
"additionalProperties": false
|
|
936
1174
|
},
|
|
937
1175
|
"BillTo": {
|
|
938
|
-
"required": [
|
|
939
|
-
"postal_code",
|
|
940
|
-
"country_code"
|
|
941
|
-
],
|
|
1176
|
+
"required": ["postal_code", "country_code"],
|
|
942
1177
|
"type": "object",
|
|
943
1178
|
"allOf": [
|
|
944
1179
|
{
|
|
@@ -959,11 +1194,7 @@
|
|
|
959
1194
|
"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."
|
|
960
1195
|
},
|
|
961
1196
|
"BillToParty": {
|
|
962
|
-
"enum": [
|
|
963
|
-
"shipper",
|
|
964
|
-
"recipient",
|
|
965
|
-
"third_party_account"
|
|
966
|
-
],
|
|
1197
|
+
"enum": ["shipper", "recipient", "third_party_account"],
|
|
967
1198
|
"type": "string",
|
|
968
1199
|
"description": "The type of party responsible for a given category of charges associated with a shipment, such as shipping charges or import duties."
|
|
969
1200
|
},
|
|
@@ -993,10 +1224,7 @@
|
|
|
993
1224
|
"type": "string"
|
|
994
1225
|
},
|
|
995
1226
|
"BillingLineItem": {
|
|
996
|
-
"required": [
|
|
997
|
-
"billing_category",
|
|
998
|
-
"amount"
|
|
999
|
-
],
|
|
1227
|
+
"required": ["billing_category", "amount"],
|
|
1000
1228
|
"type": "object",
|
|
1001
1229
|
"properties": {
|
|
1002
1230
|
"billing_category": {
|
|
@@ -1018,10 +1246,7 @@
|
|
|
1018
1246
|
"nullable": true
|
|
1019
1247
|
},
|
|
1020
1248
|
"amount": {
|
|
1021
|
-
"required": [
|
|
1022
|
-
"currency",
|
|
1023
|
-
"amount"
|
|
1024
|
-
],
|
|
1249
|
+
"required": ["currency", "amount"],
|
|
1025
1250
|
"type": "object",
|
|
1026
1251
|
"properties": {
|
|
1027
1252
|
"amount": {
|
|
@@ -1043,9 +1268,7 @@
|
|
|
1043
1268
|
"additionalProperties": false
|
|
1044
1269
|
},
|
|
1045
1270
|
"CancelNotificationRequest": {
|
|
1046
|
-
"required": [
|
|
1047
|
-
"transaction_id"
|
|
1048
|
-
],
|
|
1271
|
+
"required": ["transaction_id"],
|
|
1049
1272
|
"type": "object",
|
|
1050
1273
|
"allOf": [
|
|
1051
1274
|
{
|
|
@@ -1091,10 +1314,7 @@
|
|
|
1091
1314
|
"description": "The response to the cancellation of a pending shipment notification."
|
|
1092
1315
|
},
|
|
1093
1316
|
"CancelPickupRequest": {
|
|
1094
|
-
"required": [
|
|
1095
|
-
"pickup_windows",
|
|
1096
|
-
"transaction_id"
|
|
1097
|
-
],
|
|
1317
|
+
"required": ["pickup_windows", "transaction_id"],
|
|
1098
1318
|
"type": "object",
|
|
1099
1319
|
"allOf": [
|
|
1100
1320
|
{
|
|
@@ -1139,9 +1359,7 @@
|
|
|
1139
1359
|
"description": "A request to cancel a previously scheduled pickup"
|
|
1140
1360
|
},
|
|
1141
1361
|
"CancelPickupResponse": {
|
|
1142
|
-
"required": [
|
|
1143
|
-
"successful"
|
|
1144
|
-
],
|
|
1362
|
+
"required": ["successful"],
|
|
1145
1363
|
"type": "object",
|
|
1146
1364
|
"allOf": [
|
|
1147
1365
|
{
|
|
@@ -1178,9 +1396,7 @@
|
|
|
1178
1396
|
"description": "This model represents a response for a successful cancel pickup request."
|
|
1179
1397
|
},
|
|
1180
1398
|
"CancellationDetails": {
|
|
1181
|
-
"required": [
|
|
1182
|
-
"reason"
|
|
1183
|
-
],
|
|
1399
|
+
"required": ["reason"],
|
|
1184
1400
|
"type": "object",
|
|
1185
1401
|
"properties": {
|
|
1186
1402
|
"reason": {
|
|
@@ -1230,25 +1446,16 @@
|
|
|
1230
1446
|
"additionalProperties": false
|
|
1231
1447
|
},
|
|
1232
1448
|
"CodPaymentType": {
|
|
1233
|
-
"enum": [
|
|
1234
|
-
"any",
|
|
1235
|
-
"cash",
|
|
1236
|
-
"guaranteed_funds"
|
|
1237
|
-
],
|
|
1449
|
+
"enum": ["any", "cash", "guaranteed_funds"],
|
|
1238
1450
|
"type": "string",
|
|
1239
1451
|
"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."
|
|
1240
1452
|
},
|
|
1241
1453
|
"CollectOnDelivery": {
|
|
1242
|
-
"required": [
|
|
1243
|
-
"payment_amount"
|
|
1244
|
-
],
|
|
1454
|
+
"required": ["payment_amount"],
|
|
1245
1455
|
"type": "object",
|
|
1246
1456
|
"properties": {
|
|
1247
1457
|
"payment_amount": {
|
|
1248
|
-
"required": [
|
|
1249
|
-
"currency",
|
|
1250
|
-
"amount"
|
|
1251
|
-
],
|
|
1458
|
+
"required": ["currency", "amount"],
|
|
1252
1459
|
"type": "object",
|
|
1253
1460
|
"properties": {
|
|
1254
1461
|
"amount": {
|
|
@@ -1411,7 +1618,7 @@
|
|
|
1411
1618
|
"dangerous_goods_declaration": {
|
|
1412
1619
|
"$ref": "#/components/schemas/DangerousGoodsDeclaration"
|
|
1413
1620
|
}
|
|
1414
|
-
},
|
|
1621
|
+
},
|
|
1415
1622
|
"additionalProperties": false
|
|
1416
1623
|
},
|
|
1417
1624
|
"CreateLabelResponse": {
|
|
@@ -1512,9 +1719,7 @@
|
|
|
1512
1719
|
"description": "This model represents the response from a successful create label request."
|
|
1513
1720
|
},
|
|
1514
1721
|
"CreateManifestRequest": {
|
|
1515
|
-
"required": [
|
|
1516
|
-
"transaction_id"
|
|
1517
|
-
],
|
|
1722
|
+
"required": ["transaction_id"],
|
|
1518
1723
|
"type": "object",
|
|
1519
1724
|
"allOf": [
|
|
1520
1725
|
{
|
|
@@ -1560,9 +1765,7 @@
|
|
|
1560
1765
|
"description": "This model represents the request payload needed to manifest with a shipping provider."
|
|
1561
1766
|
},
|
|
1562
1767
|
"CreateManifestResponse": {
|
|
1563
|
-
"required": [
|
|
1564
|
-
"manifests"
|
|
1565
|
-
],
|
|
1768
|
+
"required": ["manifests"],
|
|
1566
1769
|
"type": "object",
|
|
1567
1770
|
"allOf": [
|
|
1568
1771
|
{
|
|
@@ -1625,9 +1828,7 @@
|
|
|
1625
1828
|
"description": "This model represents the successful response for a create manifest request."
|
|
1626
1829
|
},
|
|
1627
1830
|
"CreateNotificationRequest": {
|
|
1628
|
-
"required": [
|
|
1629
|
-
"transaction_id"
|
|
1630
|
-
],
|
|
1831
|
+
"required": ["transaction_id"],
|
|
1631
1832
|
"type": "object",
|
|
1632
1833
|
"allOf": [
|
|
1633
1834
|
{
|
|
@@ -1674,10 +1875,7 @@
|
|
|
1674
1875
|
"description": "The response to a notification request."
|
|
1675
1876
|
},
|
|
1676
1877
|
"Credentials": {
|
|
1677
|
-
"required": [
|
|
1678
|
-
"username",
|
|
1679
|
-
"password"
|
|
1680
|
-
],
|
|
1878
|
+
"required": ["username", "password"],
|
|
1681
1879
|
"type": "object",
|
|
1682
1880
|
"properties": {
|
|
1683
1881
|
"username": {
|
|
@@ -1696,10 +1894,7 @@
|
|
|
1696
1894
|
"type": "object",
|
|
1697
1895
|
"properties": {
|
|
1698
1896
|
"freight_charge": {
|
|
1699
|
-
"required": [
|
|
1700
|
-
"currency",
|
|
1701
|
-
"amount"
|
|
1702
|
-
],
|
|
1897
|
+
"required": ["currency", "amount"],
|
|
1703
1898
|
"type": "object",
|
|
1704
1899
|
"properties": {
|
|
1705
1900
|
"amount": {
|
|
@@ -1715,10 +1910,7 @@
|
|
|
1715
1910
|
"nullable": true
|
|
1716
1911
|
},
|
|
1717
1912
|
"other_charge": {
|
|
1718
|
-
"required": [
|
|
1719
|
-
"currency",
|
|
1720
|
-
"amount"
|
|
1721
|
-
],
|
|
1913
|
+
"required": ["currency", "amount"],
|
|
1722
1914
|
"type": "object",
|
|
1723
1915
|
"properties": {
|
|
1724
1916
|
"amount": {
|
|
@@ -1739,10 +1931,7 @@
|
|
|
1739
1931
|
"nullable": true
|
|
1740
1932
|
},
|
|
1741
1933
|
"insurance_charge": {
|
|
1742
|
-
"required": [
|
|
1743
|
-
"currency",
|
|
1744
|
-
"amount"
|
|
1745
|
-
],
|
|
1934
|
+
"required": ["currency", "amount"],
|
|
1746
1935
|
"type": "object",
|
|
1747
1936
|
"properties": {
|
|
1748
1937
|
"amount": {
|
|
@@ -1758,10 +1947,7 @@
|
|
|
1758
1947
|
"nullable": true
|
|
1759
1948
|
},
|
|
1760
1949
|
"discount": {
|
|
1761
|
-
"required": [
|
|
1762
|
-
"currency",
|
|
1763
|
-
"amount"
|
|
1764
|
-
],
|
|
1950
|
+
"required": ["currency", "amount"],
|
|
1765
1951
|
"type": "object",
|
|
1766
1952
|
"properties": {
|
|
1767
1953
|
"amount": {
|
|
@@ -1798,10 +1984,7 @@
|
|
|
1798
1984
|
"$ref": "#/components/schemas/CustomsNonDelivery"
|
|
1799
1985
|
},
|
|
1800
1986
|
"buyer_shipping_amount_paid": {
|
|
1801
|
-
"required": [
|
|
1802
|
-
"currency",
|
|
1803
|
-
"amount"
|
|
1804
|
-
],
|
|
1987
|
+
"required": ["currency", "amount"],
|
|
1805
1988
|
"type": "object",
|
|
1806
1989
|
"properties": {
|
|
1807
1990
|
"amount": {
|
|
@@ -1817,10 +2000,7 @@
|
|
|
1817
2000
|
"nullable": true
|
|
1818
2001
|
},
|
|
1819
2002
|
"duties_paid": {
|
|
1820
|
-
"required": [
|
|
1821
|
-
"currency",
|
|
1822
|
-
"amount"
|
|
1823
|
-
],
|
|
2003
|
+
"required": ["currency", "amount"],
|
|
1824
2004
|
"type": "object",
|
|
1825
2005
|
"properties": {
|
|
1826
2006
|
"amount": {
|
|
@@ -1887,10 +2067,7 @@
|
|
|
1887
2067
|
"type": "string"
|
|
1888
2068
|
},
|
|
1889
2069
|
"CustomsNonDelivery": {
|
|
1890
|
-
"enum": [
|
|
1891
|
-
"return_to_sender",
|
|
1892
|
-
"treat_as_abandoned"
|
|
1893
|
-
],
|
|
2070
|
+
"enum": ["return_to_sender", "treat_as_abandoned"],
|
|
1894
2071
|
"type": "string",
|
|
1895
2072
|
"description": "What to do if the shipment is undeliverable."
|
|
1896
2073
|
},
|
|
@@ -2039,7 +2216,7 @@
|
|
|
2039
2216
|
"properties": {
|
|
2040
2217
|
"regulation_set": {
|
|
2041
2218
|
"type": "string",
|
|
2042
|
-
"description": "Name of the regulatory authority
|
|
2219
|
+
"description": "Name of the regulatory authority",
|
|
2043
2220
|
"nullable": true
|
|
2044
2221
|
},
|
|
2045
2222
|
"emergency_contact": {
|
|
@@ -2050,7 +2227,7 @@
|
|
|
2050
2227
|
},
|
|
2051
2228
|
"additional_handling_information": {
|
|
2052
2229
|
"type": "string",
|
|
2053
|
-
"description": "
|
|
2230
|
+
"description": "Any supplementary instructions or special provisions related to the handling of the dangerous goods shipment, such as competent authority approvals or specific handling requirements.",
|
|
2054
2231
|
"nullable": true
|
|
2055
2232
|
}
|
|
2056
2233
|
},
|
|
@@ -2063,12 +2240,11 @@
|
|
|
2063
2240
|
"type": {
|
|
2064
2241
|
"type": "string",
|
|
2065
2242
|
"description": "The type of inner packaging used.",
|
|
2066
|
-
"nullable": true
|
|
2067
|
-
"example": "Glass Bottle, Plastic Jar, Metal Can"
|
|
2243
|
+
"nullable": true
|
|
2068
2244
|
},
|
|
2069
2245
|
"quantity": {
|
|
2070
2246
|
"type": "number",
|
|
2071
|
-
"description": "
|
|
2247
|
+
"description": "The number of individual inner packagings contained within the outer package for this specific dangerous good.",
|
|
2072
2248
|
"format": "double",
|
|
2073
2249
|
"nullable": true
|
|
2074
2250
|
}
|
|
@@ -2079,7 +2255,7 @@
|
|
|
2079
2255
|
"DangerousGoodsPackageInfo": {
|
|
2080
2256
|
"type": "object",
|
|
2081
2257
|
"properties": {
|
|
2082
|
-
|
|
2258
|
+
"transport_mean": {
|
|
2083
2259
|
"$ref": "#/components/schemas/TransportMeanEnum"
|
|
2084
2260
|
},
|
|
2085
2261
|
"accessibility": {
|
|
@@ -2099,18 +2275,18 @@
|
|
|
2099
2275
|
},
|
|
2100
2276
|
"q_value": {
|
|
2101
2277
|
"type": "number",
|
|
2102
|
-
"description": "The
|
|
2278
|
+
"description": "The \"Q\" value, a calculated value used in certain dangerous goods regulations (e.g., IATA) to determine if a package is compliant with quantity limits in mixed packing scenarios. Can be null if not applicable.",
|
|
2279
|
+
"format": "double",
|
|
2103
2280
|
"nullable": true
|
|
2104
2281
|
},
|
|
2105
2282
|
"outer_packaging_type": {
|
|
2106
2283
|
"type": "string",
|
|
2107
2284
|
"description": "The type of outer packaging used for the dangerous goods package, typically represented by a UN packaging code.",
|
|
2108
|
-
"nullable": true
|
|
2109
|
-
"example": "'4G' for fiberboard box, '1A2' for steel drum"
|
|
2285
|
+
"nullable": true
|
|
2110
2286
|
},
|
|
2111
2287
|
"regulation_level": {
|
|
2112
2288
|
"$ref": "#/components/schemas/RegulationLevelEnum"
|
|
2113
|
-
}
|
|
2289
|
+
}
|
|
2114
2290
|
},
|
|
2115
2291
|
"additionalProperties": false,
|
|
2116
2292
|
"description": "An object containing information specific to the dangerous goods aspects of an individual package."
|
|
@@ -2153,10 +2329,7 @@
|
|
|
2153
2329
|
"description": "This model represents the dimensions for a package represented in its original unit, inches, and centimeters."
|
|
2154
2330
|
},
|
|
2155
2331
|
"DimensionUnit": {
|
|
2156
|
-
"enum": [
|
|
2157
|
-
"inches",
|
|
2158
|
-
"centimeters"
|
|
2159
|
-
],
|
|
2332
|
+
"enum": ["inches", "centimeters"],
|
|
2160
2333
|
"type": "string",
|
|
2161
2334
|
"description": "This model represents the supported units for dimensions."
|
|
2162
2335
|
},
|
|
@@ -2186,18 +2359,11 @@
|
|
|
2186
2359
|
"description": "This model represents the measurements for dimensions."
|
|
2187
2360
|
},
|
|
2188
2361
|
"DisplayScheme": {
|
|
2189
|
-
"enum": [
|
|
2190
|
-
"label",
|
|
2191
|
-
"paperless_label"
|
|
2192
|
-
],
|
|
2362
|
+
"enum": ["label", "paperless_label"],
|
|
2193
2363
|
"type": "string"
|
|
2194
2364
|
},
|
|
2195
2365
|
"Document": {
|
|
2196
|
-
"required": [
|
|
2197
|
-
"type",
|
|
2198
|
-
"data",
|
|
2199
|
-
"format"
|
|
2200
|
-
],
|
|
2366
|
+
"required": ["type", "data", "format"],
|
|
2201
2367
|
"type": "object",
|
|
2202
2368
|
"properties": {
|
|
2203
2369
|
"type": {
|
|
@@ -2221,11 +2387,7 @@
|
|
|
2221
2387
|
"description": "Container for a document."
|
|
2222
2388
|
},
|
|
2223
2389
|
"DocumentFormat": {
|
|
2224
|
-
"enum": [
|
|
2225
|
-
"PDF",
|
|
2226
|
-
"ZPL",
|
|
2227
|
-
"PNG"
|
|
2228
|
-
],
|
|
2390
|
+
"enum": ["PDF", "ZPL", "PNG"],
|
|
2229
2391
|
"type": "string"
|
|
2230
2392
|
},
|
|
2231
2393
|
"DocumentType": {
|
|
@@ -2242,10 +2404,7 @@
|
|
|
2242
2404
|
"type": "object",
|
|
2243
2405
|
"properties": {
|
|
2244
2406
|
"taxes": {
|
|
2245
|
-
"required": [
|
|
2246
|
-
"currency",
|
|
2247
|
-
"amount"
|
|
2248
|
-
],
|
|
2407
|
+
"required": ["currency", "amount"],
|
|
2249
2408
|
"type": "object",
|
|
2250
2409
|
"properties": {
|
|
2251
2410
|
"amount": {
|
|
@@ -2261,10 +2420,7 @@
|
|
|
2261
2420
|
"nullable": true
|
|
2262
2421
|
},
|
|
2263
2422
|
"duties": {
|
|
2264
|
-
"required": [
|
|
2265
|
-
"currency",
|
|
2266
|
-
"amount"
|
|
2267
|
-
],
|
|
2423
|
+
"required": ["currency", "amount"],
|
|
2268
2424
|
"type": "object",
|
|
2269
2425
|
"properties": {
|
|
2270
2426
|
"amount": {
|
|
@@ -2371,16 +2527,12 @@
|
|
|
2371
2527
|
"description": "Geolocation additional information for an address."
|
|
2372
2528
|
},
|
|
2373
2529
|
"GeolocationType": {
|
|
2374
|
-
"enum": [
|
|
2375
|
-
"what3words"
|
|
2376
|
-
],
|
|
2530
|
+
"enum": ["what3words"],
|
|
2377
2531
|
"type": "string",
|
|
2378
2532
|
"description": "Specifies the supported geolocation types."
|
|
2379
2533
|
},
|
|
2380
2534
|
"GetManifestRequest": {
|
|
2381
|
-
"required": [
|
|
2382
|
-
"transaction_id"
|
|
2383
|
-
],
|
|
2535
|
+
"required": ["transaction_id"],
|
|
2384
2536
|
"type": "object",
|
|
2385
2537
|
"allOf": [
|
|
2386
2538
|
{
|
|
@@ -2580,9 +2732,7 @@
|
|
|
2580
2732
|
"description": "This model represents the payload sent to get relay points based on the provided search criteria."
|
|
2581
2733
|
},
|
|
2582
2734
|
"GetRelayPointsResponse": {
|
|
2583
|
-
"required": [
|
|
2584
|
-
"relay_points"
|
|
2585
|
-
],
|
|
2735
|
+
"required": ["relay_points"],
|
|
2586
2736
|
"type": "object",
|
|
2587
2737
|
"properties": {
|
|
2588
2738
|
"relay_points": {
|
|
@@ -2597,9 +2747,7 @@
|
|
|
2597
2747
|
"description": "Basic structure for a response to get relay points"
|
|
2598
2748
|
},
|
|
2599
2749
|
"GetServicePointRequest": {
|
|
2600
|
-
"required": [
|
|
2601
|
-
"transaction_id"
|
|
2602
|
-
],
|
|
2750
|
+
"required": ["transaction_id"],
|
|
2603
2751
|
"type": "object",
|
|
2604
2752
|
"allOf": [
|
|
2605
2753
|
{
|
|
@@ -2635,9 +2783,7 @@
|
|
|
2635
2783
|
"additionalProperties": false
|
|
2636
2784
|
},
|
|
2637
2785
|
"GetServicePointsRequest": {
|
|
2638
|
-
"required": [
|
|
2639
|
-
"transaction_id"
|
|
2640
|
-
],
|
|
2786
|
+
"required": ["transaction_id"],
|
|
2641
2787
|
"type": "object",
|
|
2642
2788
|
"allOf": [
|
|
2643
2789
|
{
|
|
@@ -2705,10 +2851,7 @@
|
|
|
2705
2851
|
"additionalProperties": false
|
|
2706
2852
|
},
|
|
2707
2853
|
"Identifier": {
|
|
2708
|
-
"required": [
|
|
2709
|
-
"type",
|
|
2710
|
-
"value"
|
|
2711
|
-
],
|
|
2854
|
+
"required": ["type", "value"],
|
|
2712
2855
|
"type": "object",
|
|
2713
2856
|
"properties": {
|
|
2714
2857
|
"type": {
|
|
@@ -2726,9 +2869,7 @@
|
|
|
2726
2869
|
"description": "A key value pair, allowing custom properties to be stored."
|
|
2727
2870
|
},
|
|
2728
2871
|
"ImportTrackingEventsRequest": {
|
|
2729
|
-
"required": [
|
|
2730
|
-
"transaction_id"
|
|
2731
|
-
],
|
|
2872
|
+
"required": ["transaction_id"],
|
|
2732
2873
|
"type": "object",
|
|
2733
2874
|
"allOf": [
|
|
2734
2875
|
{
|
|
@@ -2832,9 +2973,7 @@
|
|
|
2832
2973
|
"description": "Basic structure for a Importer Record"
|
|
2833
2974
|
},
|
|
2834
2975
|
"InboundDataContentTypes": {
|
|
2835
|
-
"enum": [
|
|
2836
|
-
"tracking"
|
|
2837
|
-
],
|
|
2976
|
+
"enum": ["tracking"],
|
|
2838
2977
|
"type": "string"
|
|
2839
2978
|
},
|
|
2840
2979
|
"InsuranceProviders": {
|
|
@@ -2859,12 +2998,7 @@
|
|
|
2859
2998
|
"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."
|
|
2860
2999
|
},
|
|
2861
3000
|
"LabelLayouts": {
|
|
2862
|
-
"enum": [
|
|
2863
|
-
"4x6",
|
|
2864
|
-
"letter",
|
|
2865
|
-
"A4",
|
|
2866
|
-
"A6"
|
|
2867
|
-
],
|
|
3001
|
+
"enum": ["4x6", "letter", "A4", "A6"],
|
|
2868
3002
|
"type": "string"
|
|
2869
3003
|
},
|
|
2870
3004
|
"LabelMessage": {
|
|
@@ -2974,10 +3108,7 @@
|
|
|
2974
3108
|
"$ref": "#/components/schemas/CustomsNonDelivery"
|
|
2975
3109
|
},
|
|
2976
3110
|
"buyer_shipping_amount_paid": {
|
|
2977
|
-
"required": [
|
|
2978
|
-
"currency",
|
|
2979
|
-
"amount"
|
|
2980
|
-
],
|
|
3111
|
+
"required": ["currency", "amount"],
|
|
2981
3112
|
"type": "object",
|
|
2982
3113
|
"properties": {
|
|
2983
3114
|
"amount": {
|
|
@@ -2993,10 +3124,7 @@
|
|
|
2993
3124
|
"nullable": true
|
|
2994
3125
|
},
|
|
2995
3126
|
"duties_paid": {
|
|
2996
|
-
"required": [
|
|
2997
|
-
"currency",
|
|
2998
|
-
"amount"
|
|
2999
|
-
],
|
|
3127
|
+
"required": ["currency", "amount"],
|
|
3000
3128
|
"type": "object",
|
|
3001
3129
|
"properties": {
|
|
3002
3130
|
"amount": {
|
|
@@ -3079,11 +3207,6 @@
|
|
|
3079
3207
|
"description": "Shipment ship date time.",
|
|
3080
3208
|
"format": "date-time"
|
|
3081
3209
|
},
|
|
3082
|
-
"reference": {
|
|
3083
|
-
"type": "string",
|
|
3084
|
-
"description": "Shipment reference number.",
|
|
3085
|
-
"nullable": true
|
|
3086
|
-
},
|
|
3087
3210
|
"customs": {
|
|
3088
3211
|
"$ref": "#/components/schemas/ManifestCustoms"
|
|
3089
3212
|
}
|
|
@@ -3091,27 +3214,15 @@
|
|
|
3091
3214
|
"additionalProperties": false
|
|
3092
3215
|
},
|
|
3093
3216
|
"ManifestStatus": {
|
|
3094
|
-
"enum": [
|
|
3095
|
-
"unknown",
|
|
3096
|
-
"in_progress",
|
|
3097
|
-
"completed",
|
|
3098
|
-
"failed"
|
|
3099
|
-
],
|
|
3217
|
+
"enum": ["unknown", "in_progress", "completed", "failed"],
|
|
3100
3218
|
"type": "string"
|
|
3101
3219
|
},
|
|
3102
3220
|
"MovementIndicator": {
|
|
3103
|
-
"enum": [
|
|
3104
|
-
"b2c",
|
|
3105
|
-
"b2b",
|
|
3106
|
-
"c2c",
|
|
3107
|
-
"c2b"
|
|
3108
|
-
],
|
|
3221
|
+
"enum": ["b2c", "b2b", "c2c", "c2b"],
|
|
3109
3222
|
"type": "string"
|
|
3110
3223
|
},
|
|
3111
3224
|
"NormalizeTrackingDataRequest": {
|
|
3112
|
-
"required": [
|
|
3113
|
-
"transaction_id"
|
|
3114
|
-
],
|
|
3225
|
+
"required": ["transaction_id"],
|
|
3115
3226
|
"type": "object",
|
|
3116
3227
|
"allOf": [
|
|
3117
3228
|
{
|
|
@@ -3208,9 +3319,7 @@
|
|
|
3208
3319
|
"description": "The times each day that the relay point is open, for example: \"11:00-13:00, 14:30-19:30\""
|
|
3209
3320
|
},
|
|
3210
3321
|
"Package": {
|
|
3211
|
-
"required": [
|
|
3212
|
-
"insured_value"
|
|
3213
|
-
],
|
|
3322
|
+
"required": ["insured_value"],
|
|
3214
3323
|
"type": "object",
|
|
3215
3324
|
"properties": {
|
|
3216
3325
|
"package_code": {
|
|
@@ -3230,10 +3339,7 @@
|
|
|
3230
3339
|
"$ref": "#/components/schemas/WeightDetails"
|
|
3231
3340
|
},
|
|
3232
3341
|
"insured_value": {
|
|
3233
|
-
"required": [
|
|
3234
|
-
"currency",
|
|
3235
|
-
"amount"
|
|
3236
|
-
],
|
|
3342
|
+
"required": ["currency", "amount"],
|
|
3237
3343
|
"type": "object",
|
|
3238
3344
|
"properties": {
|
|
3239
3345
|
"amount": {
|
|
@@ -3260,27 +3366,18 @@
|
|
|
3260
3366
|
"nullable": true
|
|
3261
3367
|
},
|
|
3262
3368
|
"dangerous_goods_package_info": {
|
|
3263
|
-
|
|
3369
|
+
"$ref": "#/components/schemas/DangerousGoodsPackageInfo"
|
|
3264
3370
|
}
|
|
3265
3371
|
},
|
|
3266
3372
|
"additionalProperties": false,
|
|
3267
3373
|
"description": "This model represents an individual package that is part of a shipment."
|
|
3268
3374
|
},
|
|
3269
3375
|
"PackageInstructionSectionEnum": {
|
|
3270
|
-
"enum": [
|
|
3271
|
-
"section_1",
|
|
3272
|
-
"section_2",
|
|
3273
|
-
"section_1A",
|
|
3274
|
-
"section_1B"
|
|
3275
|
-
],
|
|
3376
|
+
"enum": ["section_1", "section_2", "section_1A", "section_1B"],
|
|
3276
3377
|
"type": "string"
|
|
3277
3378
|
},
|
|
3278
3379
|
"PackagingGroupEnum": {
|
|
3279
|
-
"enum": [
|
|
3280
|
-
"i",
|
|
3281
|
-
"ii",
|
|
3282
|
-
"iii"
|
|
3283
|
-
],
|
|
3380
|
+
"enum": ["i", "ii", "iii"],
|
|
3284
3381
|
"type": "string"
|
|
3285
3382
|
},
|
|
3286
3383
|
"PaperlessDetails": {
|
|
@@ -3327,11 +3424,7 @@
|
|
|
3327
3424
|
"description": "This model contains the confirmation information for a scheduled pickup."
|
|
3328
3425
|
},
|
|
3329
3426
|
"PickupContactDetails": {
|
|
3330
|
-
"required": [
|
|
3331
|
-
"first_name",
|
|
3332
|
-
"email",
|
|
3333
|
-
"phone_number"
|
|
3334
|
-
],
|
|
3427
|
+
"required": ["first_name", "email", "phone_number"],
|
|
3335
3428
|
"type": "object",
|
|
3336
3429
|
"properties": {
|
|
3337
3430
|
"first_name": {
|
|
@@ -3409,12 +3502,7 @@
|
|
|
3409
3502
|
"description": "Contains information regarding the service code for the pickup request and the packages that will be picked up"
|
|
3410
3503
|
},
|
|
3411
3504
|
"PickupWindow": {
|
|
3412
|
-
"required": [
|
|
3413
|
-
"time_zone_iana",
|
|
3414
|
-
"pickup_date",
|
|
3415
|
-
"start_time",
|
|
3416
|
-
"end_time"
|
|
3417
|
-
],
|
|
3505
|
+
"required": ["time_zone_iana", "pickup_date", "start_time", "end_time"],
|
|
3418
3506
|
"type": "object",
|
|
3419
3507
|
"properties": {
|
|
3420
3508
|
"time_zone_iana": {
|
|
@@ -3448,9 +3536,7 @@
|
|
|
3448
3536
|
"description": "This model represents a window of time a pickup could be made."
|
|
3449
3537
|
},
|
|
3450
3538
|
"Products": {
|
|
3451
|
-
"required": [
|
|
3452
|
-
"value"
|
|
3453
|
-
],
|
|
3539
|
+
"required": ["value"],
|
|
3454
3540
|
"type": "object",
|
|
3455
3541
|
"properties": {
|
|
3456
3542
|
"description": {
|
|
@@ -3464,10 +3550,7 @@
|
|
|
3464
3550
|
"format": "int32"
|
|
3465
3551
|
},
|
|
3466
3552
|
"value": {
|
|
3467
|
-
"required": [
|
|
3468
|
-
"currency",
|
|
3469
|
-
"amount"
|
|
3470
|
-
],
|
|
3553
|
+
"required": ["currency", "amount"],
|
|
3471
3554
|
"type": "object",
|
|
3472
3555
|
"properties": {
|
|
3473
3556
|
"amount": {
|
|
@@ -3533,14 +3616,11 @@
|
|
|
3533
3616
|
"nullable": true
|
|
3534
3617
|
}
|
|
3535
3618
|
},
|
|
3536
|
-
"additionalProperties": {
|
|
3619
|
+
"additionalProperties": {},
|
|
3537
3620
|
"description": "This model represents the product information for a single item."
|
|
3538
3621
|
},
|
|
3539
3622
|
"PudoLocation": {
|
|
3540
|
-
"required": [
|
|
3541
|
-
"postal_code",
|
|
3542
|
-
"country_code"
|
|
3543
|
-
],
|
|
3623
|
+
"required": ["postal_code", "country_code"],
|
|
3544
3624
|
"type": "object",
|
|
3545
3625
|
"allOf": [
|
|
3546
3626
|
{
|
|
@@ -3650,9 +3730,7 @@
|
|
|
3650
3730
|
"description": "This model represents a rate for a given service code."
|
|
3651
3731
|
},
|
|
3652
3732
|
"RawExternalSource": {
|
|
3653
|
-
"required": [
|
|
3654
|
-
"marketplace_code"
|
|
3655
|
-
],
|
|
3733
|
+
"required": ["marketplace_code"],
|
|
3656
3734
|
"type": "object",
|
|
3657
3735
|
"properties": {
|
|
3658
3736
|
"marketplace_code": {
|
|
@@ -3665,10 +3743,7 @@
|
|
|
3665
3743
|
"description": "This model represents a raw external source of information."
|
|
3666
3744
|
},
|
|
3667
3745
|
"RegisterRequest": {
|
|
3668
|
-
"required": [
|
|
3669
|
-
"registration_info",
|
|
3670
|
-
"transaction_id"
|
|
3671
|
-
],
|
|
3746
|
+
"required": ["registration_info", "transaction_id"],
|
|
3672
3747
|
"type": "object",
|
|
3673
3748
|
"allOf": [
|
|
3674
3749
|
{
|
|
@@ -3690,10 +3765,7 @@
|
|
|
3690
3765
|
"description": "This model represents the body of a request used to register a new user within ShipEngine."
|
|
3691
3766
|
},
|
|
3692
3767
|
"RegisterResponse": {
|
|
3693
|
-
"required": [
|
|
3694
|
-
"credentials",
|
|
3695
|
-
"metadata"
|
|
3696
|
-
],
|
|
3768
|
+
"required": ["credentials", "metadata"],
|
|
3697
3769
|
"type": "object",
|
|
3698
3770
|
"properties": {
|
|
3699
3771
|
"credentials": {
|
|
@@ -3806,10 +3878,7 @@
|
|
|
3806
3878
|
"description": "The address information corresponding to a specific relay point"
|
|
3807
3879
|
},
|
|
3808
3880
|
"RelayPointDetails": {
|
|
3809
|
-
"required": [
|
|
3810
|
-
"ship_to",
|
|
3811
|
-
"ship_from"
|
|
3812
|
-
],
|
|
3881
|
+
"required": ["ship_to", "ship_from"],
|
|
3813
3882
|
"type": "object",
|
|
3814
3883
|
"properties": {
|
|
3815
3884
|
"ship_to": {
|
|
@@ -3840,9 +3909,7 @@
|
|
|
3840
3909
|
"description": "Used for generic downloads, containing the resource itself or a link to where it can be found"
|
|
3841
3910
|
},
|
|
3842
3911
|
"ReturnLabelDetails": {
|
|
3843
|
-
"required": [
|
|
3844
|
-
"rma_number"
|
|
3845
|
-
],
|
|
3912
|
+
"required": ["rma_number"],
|
|
3846
3913
|
"type": "object",
|
|
3847
3914
|
"properties": {
|
|
3848
3915
|
"rma_number": {
|
|
@@ -3854,11 +3921,76 @@
|
|
|
3854
3921
|
"additionalProperties": false,
|
|
3855
3922
|
"description": "Return Label Information (Added 1.13)"
|
|
3856
3923
|
},
|
|
3857
|
-
"
|
|
3858
|
-
"required": [
|
|
3859
|
-
|
|
3860
|
-
|
|
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
|
+
}
|
|
3861
3989
|
],
|
|
3990
|
+
"additionalProperties": false
|
|
3991
|
+
},
|
|
3992
|
+
"SchedulePickupRequest": {
|
|
3993
|
+
"required": ["requested_pickup_window", "transaction_id"],
|
|
3862
3994
|
"type": "object",
|
|
3863
3995
|
"allOf": [
|
|
3864
3996
|
{
|
|
@@ -3883,9 +4015,7 @@
|
|
|
3883
4015
|
"description": "A request to schedule a pickup with a carrier"
|
|
3884
4016
|
},
|
|
3885
4017
|
"SchedulePickupResponse": {
|
|
3886
|
-
"required": [
|
|
3887
|
-
"pickup_windows"
|
|
3888
|
-
],
|
|
4018
|
+
"required": ["pickup_windows"],
|
|
3889
4019
|
"type": "object",
|
|
3890
4020
|
"allOf": [
|
|
3891
4021
|
{
|
|
@@ -3958,10 +4088,7 @@
|
|
|
3958
4088
|
"additionalProperties": false
|
|
3959
4089
|
},
|
|
3960
4090
|
"SearchRadiusUnit": {
|
|
3961
|
-
"enum": [
|
|
3962
|
-
"miles",
|
|
3963
|
-
"kilometers"
|
|
3964
|
-
],
|
|
4091
|
+
"enum": ["miles", "kilometers"],
|
|
3965
4092
|
"type": "string"
|
|
3966
4093
|
},
|
|
3967
4094
|
"Service": {
|
|
@@ -4022,10 +4149,7 @@
|
|
|
4022
4149
|
"additionalProperties": false
|
|
4023
4150
|
},
|
|
4024
4151
|
"ServicePointAddress": {
|
|
4025
|
-
"required": [
|
|
4026
|
-
"postal_code",
|
|
4027
|
-
"country_code"
|
|
4028
|
-
],
|
|
4152
|
+
"required": ["postal_code", "country_code"],
|
|
4029
4153
|
"type": "object",
|
|
4030
4154
|
"allOf": [
|
|
4031
4155
|
{
|
|
@@ -4050,17 +4174,11 @@
|
|
|
4050
4174
|
"type": "string"
|
|
4051
4175
|
},
|
|
4052
4176
|
"ServicePointLocationType": {
|
|
4053
|
-
"enum": [
|
|
4054
|
-
"pudo",
|
|
4055
|
-
"locker"
|
|
4056
|
-
],
|
|
4177
|
+
"enum": ["pudo", "locker"],
|
|
4057
4178
|
"type": "string"
|
|
4058
4179
|
},
|
|
4059
4180
|
"ServicePointResponseAddress": {
|
|
4060
|
-
"required": [
|
|
4061
|
-
"postal_code",
|
|
4062
|
-
"country_code"
|
|
4063
|
-
],
|
|
4181
|
+
"required": ["postal_code", "country_code"],
|
|
4064
4182
|
"type": "object",
|
|
4065
4183
|
"allOf": [
|
|
4066
4184
|
{
|
|
@@ -4104,10 +4222,7 @@
|
|
|
4104
4222
|
"additionalProperties": false
|
|
4105
4223
|
},
|
|
4106
4224
|
"ShipFrom": {
|
|
4107
|
-
"required": [
|
|
4108
|
-
"postal_code",
|
|
4109
|
-
"country_code"
|
|
4110
|
-
],
|
|
4225
|
+
"required": ["postal_code", "country_code"],
|
|
4111
4226
|
"type": "object",
|
|
4112
4227
|
"allOf": [
|
|
4113
4228
|
{
|
|
@@ -4128,10 +4243,7 @@
|
|
|
4128
4243
|
"description": "The shipment sender's address. It may or may not have been validated."
|
|
4129
4244
|
},
|
|
4130
4245
|
"ShipFromDisplay": {
|
|
4131
|
-
"required": [
|
|
4132
|
-
"postal_code",
|
|
4133
|
-
"country_code"
|
|
4134
|
-
],
|
|
4246
|
+
"required": ["postal_code", "country_code"],
|
|
4135
4247
|
"type": "object",
|
|
4136
4248
|
"allOf": [
|
|
4137
4249
|
{
|
|
@@ -4142,10 +4254,7 @@
|
|
|
4142
4254
|
"description": "The address that should be displayed as the return address, only if the shipping provider supports\r\nthis functionality."
|
|
4143
4255
|
},
|
|
4144
4256
|
"ShipTo": {
|
|
4145
|
-
"required": [
|
|
4146
|
-
"postal_code",
|
|
4147
|
-
"country_code"
|
|
4148
|
-
],
|
|
4257
|
+
"required": ["postal_code", "country_code"],
|
|
4149
4258
|
"type": "object",
|
|
4150
4259
|
"allOf": [
|
|
4151
4260
|
{
|
|
@@ -4240,10 +4349,7 @@
|
|
|
4240
4349
|
"$ref": "#/components/schemas/Customs"
|
|
4241
4350
|
},
|
|
4242
4351
|
"insured_value": {
|
|
4243
|
-
"required": [
|
|
4244
|
-
"currency",
|
|
4245
|
-
"amount"
|
|
4246
|
-
],
|
|
4352
|
+
"required": ["currency", "amount"],
|
|
4247
4353
|
"type": "object",
|
|
4248
4354
|
"properties": {
|
|
4249
4355
|
"amount": {
|
|
@@ -4271,9 +4377,7 @@
|
|
|
4271
4377
|
"description": "This is the model for a package that has had a label generated for it"
|
|
4272
4378
|
},
|
|
4273
4379
|
"ShippedProducts": {
|
|
4274
|
-
"required": [
|
|
4275
|
-
"value"
|
|
4276
|
-
],
|
|
4380
|
+
"required": ["value"],
|
|
4277
4381
|
"type": "object",
|
|
4278
4382
|
"properties": {
|
|
4279
4383
|
"description": {
|
|
@@ -4287,10 +4391,7 @@
|
|
|
4287
4391
|
"format": "int32"
|
|
4288
4392
|
},
|
|
4289
4393
|
"value": {
|
|
4290
|
-
"required": [
|
|
4291
|
-
"currency",
|
|
4292
|
-
"amount"
|
|
4293
|
-
],
|
|
4394
|
+
"required": ["currency", "amount"],
|
|
4294
4395
|
"type": "object",
|
|
4295
4396
|
"properties": {
|
|
4296
4397
|
"amount": {
|
|
@@ -4353,7 +4454,7 @@
|
|
|
4353
4454
|
"nullable": true
|
|
4354
4455
|
}
|
|
4355
4456
|
},
|
|
4356
|
-
"additionalProperties": {
|
|
4457
|
+
"additionalProperties": {},
|
|
4357
4458
|
"description": "This model represents the product of a package that has had a label generated for it"
|
|
4358
4459
|
},
|
|
4359
4460
|
"ShippedShipment": {
|
|
@@ -4396,6 +4497,11 @@
|
|
|
4396
4497
|
},
|
|
4397
4498
|
"dropoff_location": {
|
|
4398
4499
|
"$ref": "#/components/schemas/PudoLocation"
|
|
4500
|
+
},
|
|
4501
|
+
"reference": {
|
|
4502
|
+
"type": "string",
|
|
4503
|
+
"description": "User specified free form string to identify shipment in their own system",
|
|
4504
|
+
"nullable": true
|
|
4399
4505
|
}
|
|
4400
4506
|
},
|
|
4401
4507
|
"additionalProperties": false,
|
|
@@ -4450,16 +4556,7 @@
|
|
|
4450
4556
|
"additionalProperties": false
|
|
4451
4557
|
},
|
|
4452
4558
|
"StandardizedStatusCodes": {
|
|
4453
|
-
"enum": [
|
|
4454
|
-
"UN",
|
|
4455
|
-
"AC",
|
|
4456
|
-
"IT",
|
|
4457
|
-
"DE",
|
|
4458
|
-
"EX",
|
|
4459
|
-
"AT",
|
|
4460
|
-
"NY",
|
|
4461
|
-
"SP"
|
|
4462
|
-
],
|
|
4559
|
+
"enum": ["UN", "AC", "IT", "DE", "EX", "AT", "NY", "SP"],
|
|
4463
4560
|
"type": "string",
|
|
4464
4561
|
"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"
|
|
4465
4562
|
},
|
|
@@ -4612,9 +4709,7 @@
|
|
|
4612
4709
|
"description": "Entity representing a Tax Identification number, type, and country of registration."
|
|
4613
4710
|
},
|
|
4614
4711
|
"TaxType": {
|
|
4615
|
-
"enum": [
|
|
4616
|
-
"vat"
|
|
4617
|
-
],
|
|
4712
|
+
"enum": ["vat"],
|
|
4618
4713
|
"type": "string"
|
|
4619
4714
|
},
|
|
4620
4715
|
"TermsOfTradeCode": {
|
|
@@ -4741,10 +4836,7 @@
|
|
|
4741
4836
|
"description": "This model represents a tracking event for a shipment."
|
|
4742
4837
|
},
|
|
4743
4838
|
"TrackingAttribute": {
|
|
4744
|
-
"required": [
|
|
4745
|
-
"type",
|
|
4746
|
-
"value"
|
|
4747
|
-
],
|
|
4839
|
+
"required": ["type", "value"],
|
|
4748
4840
|
"type": "object",
|
|
4749
4841
|
"properties": {
|
|
4750
4842
|
"type": {
|
|
@@ -4882,9 +4974,7 @@
|
|
|
4882
4974
|
"description": "This model represents tracking information for a shipment."
|
|
4883
4975
|
},
|
|
4884
4976
|
"TrackingRequest": {
|
|
4885
|
-
"required": [
|
|
4886
|
-
"transaction_id"
|
|
4887
|
-
],
|
|
4977
|
+
"required": ["transaction_id"],
|
|
4888
4978
|
"type": "object",
|
|
4889
4979
|
"allOf": [
|
|
4890
4980
|
{
|
|
@@ -4913,9 +5003,7 @@
|
|
|
4913
5003
|
"description": "This model represents the payload that is sent to request tracking information."
|
|
4914
5004
|
},
|
|
4915
5005
|
"TrackingResponse": {
|
|
4916
|
-
"required": [
|
|
4917
|
-
"tracking_info"
|
|
4918
|
-
],
|
|
5006
|
+
"required": ["tracking_info"],
|
|
4919
5007
|
"type": "object",
|
|
4920
5008
|
"allOf": [
|
|
4921
5009
|
{
|
|
@@ -4985,17 +5073,11 @@
|
|
|
4985
5073
|
"type": "string"
|
|
4986
5074
|
},
|
|
4987
5075
|
"UpdateMethods": {
|
|
4988
|
-
"enum": [
|
|
4989
|
-
"append",
|
|
4990
|
-
"replace"
|
|
4991
|
-
],
|
|
5076
|
+
"enum": ["append", "replace"],
|
|
4992
5077
|
"type": "string"
|
|
4993
5078
|
},
|
|
4994
5079
|
"UpdateSettingsRequest": {
|
|
4995
|
-
"required": [
|
|
4996
|
-
"update_settings",
|
|
4997
|
-
"transaction_id"
|
|
4998
|
-
],
|
|
5080
|
+
"required": ["update_settings", "transaction_id"],
|
|
4999
5081
|
"type": "object",
|
|
5000
5082
|
"allOf": [
|
|
5001
5083
|
{
|
|
@@ -5027,9 +5109,7 @@
|
|
|
5027
5109
|
"description": "This model represents the successful response for updating carrier settings request."
|
|
5028
5110
|
},
|
|
5029
5111
|
"ValidateInboundDataRequest": {
|
|
5030
|
-
"required": [
|
|
5031
|
-
"transaction_id"
|
|
5032
|
-
],
|
|
5112
|
+
"required": ["transaction_id"],
|
|
5033
5113
|
"type": "object",
|
|
5034
5114
|
"allOf": [
|
|
5035
5115
|
{
|
|
@@ -5158,10 +5238,7 @@
|
|
|
5158
5238
|
"description": "A list of standard validation error identifiers for errors the module can return"
|
|
5159
5239
|
},
|
|
5160
5240
|
"VoidLabelsRequest": {
|
|
5161
|
-
"required": [
|
|
5162
|
-
"void_requests",
|
|
5163
|
-
"transaction_id"
|
|
5164
|
-
],
|
|
5241
|
+
"required": ["void_requests", "transaction_id"],
|
|
5165
5242
|
"type": "object",
|
|
5166
5243
|
"allOf": [
|
|
5167
5244
|
{
|
|
@@ -5182,9 +5259,7 @@
|
|
|
5182
5259
|
"description": "This model represents the payload sent to void a set of labels."
|
|
5183
5260
|
},
|
|
5184
5261
|
"VoidLabelsResponse": {
|
|
5185
|
-
"required": [
|
|
5186
|
-
"void_responses"
|
|
5187
|
-
],
|
|
5262
|
+
"required": ["void_responses"],
|
|
5188
5263
|
"type": "object",
|
|
5189
5264
|
"allOf": [
|
|
5190
5265
|
{
|
|
@@ -5205,10 +5280,7 @@
|
|
|
5205
5280
|
"description": "This model represents the successful attempt to void a set of labels."
|
|
5206
5281
|
},
|
|
5207
5282
|
"VoidRequest": {
|
|
5208
|
-
"required": [
|
|
5209
|
-
"void_request_id",
|
|
5210
|
-
"ship_from"
|
|
5211
|
-
],
|
|
5283
|
+
"required": ["void_request_id", "ship_from"],
|
|
5212
5284
|
"type": "object",
|
|
5213
5285
|
"allOf": [
|
|
5214
5286
|
{
|
|
@@ -5223,20 +5295,13 @@
|
|
|
5223
5295
|
},
|
|
5224
5296
|
"ship_from": {
|
|
5225
5297
|
"$ref": "#/components/schemas/ShipFrom"
|
|
5226
|
-
},
|
|
5227
|
-
"reference": {
|
|
5228
|
-
"type": "string",
|
|
5229
|
-
"description": "A user specified free form string to identify this shipment in their own system.\r\nMight be used instead of tracking number/alternative_identifiers\r\nAdded in 1.25.2",
|
|
5230
|
-
"nullable": true
|
|
5231
5298
|
}
|
|
5232
5299
|
},
|
|
5233
5300
|
"additionalProperties": false,
|
|
5234
5301
|
"description": "A request to void a particular label."
|
|
5235
5302
|
},
|
|
5236
5303
|
"VoidResponse": {
|
|
5237
|
-
"required": [
|
|
5238
|
-
"void_request_id"
|
|
5239
|
-
],
|
|
5304
|
+
"required": ["void_request_id"],
|
|
5240
5305
|
"type": "object",
|
|
5241
5306
|
"properties": {
|
|
5242
5307
|
"void_request_id": {
|
|
@@ -5350,12 +5415,7 @@
|
|
|
5350
5415
|
"description": "This model represents the weight of a package in its original unit, ounces, and grams."
|
|
5351
5416
|
},
|
|
5352
5417
|
"WeightUnit": {
|
|
5353
|
-
"enum": [
|
|
5354
|
-
"grams",
|
|
5355
|
-
"ounces",
|
|
5356
|
-
"kilograms",
|
|
5357
|
-
"pounds"
|
|
5358
|
-
],
|
|
5418
|
+
"enum": ["grams", "ounces", "kilograms", "pounds"],
|
|
5359
5419
|
"type": "string",
|
|
5360
5420
|
"description": "This model describes the possible units of weight."
|
|
5361
5421
|
},
|
|
@@ -5421,4 +5481,4 @@
|
|
|
5421
5481
|
"description": "Given inbound data, such as a webhook with tracking updates, return normalized information."
|
|
5422
5482
|
}
|
|
5423
5483
|
]
|
|
5424
|
-
}
|
|
5484
|
+
}
|