@shipengine/connect-carrier-api 4.16.5 → 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.
Files changed (88) hide show
  1. package/lib/app/carrier-app-definition.d.ts +7 -2
  2. package/lib/app/constants.d.ts +2 -1
  3. package/lib/app/constants.js +1 -0
  4. package/lib/app/constants.js.map +1 -1
  5. package/lib/app/create-endpoint-mapping.js +1 -0
  6. package/lib/app/create-endpoint-mapping.js.map +1 -1
  7. package/lib/models/addresses/pickup-address.d.ts +3 -0
  8. package/lib/models/addresses/pickup-address.js +8 -0
  9. package/lib/models/addresses/pickup-address.js.map +1 -0
  10. package/lib/models/dangerous-good/dangerous-goods-declaration.d.ts +13 -0
  11. package/lib/models/dangerous-good/dangerous-goods-declaration.js +16 -0
  12. package/lib/models/dangerous-good/dangerous-goods-declaration.js.map +1 -0
  13. package/lib/models/dangerous-good/dangerous-goods-inner-packaging.d.ts +7 -0
  14. package/lib/models/dangerous-good/dangerous-goods-inner-packaging.js +12 -0
  15. package/lib/models/dangerous-good/dangerous-goods-inner-packaging.js.map +1 -0
  16. package/lib/models/dangerous-good/dangerous-goods-package-info.d.ts +19 -0
  17. package/lib/models/dangerous-good/dangerous-goods-package-info.js +22 -0
  18. package/lib/models/dangerous-good/dangerous-goods-package-info.js.map +1 -0
  19. package/lib/models/dangerous-good/dangerous-goods.d.ts +5 -0
  20. package/lib/models/dangerous-good/dangerous-goods.js +4 -0
  21. package/lib/models/dangerous-good/dangerous-goods.js.map +1 -1
  22. package/lib/models/labels/void-request.d.ts +0 -2
  23. package/lib/models/labels/void-request.js +0 -2
  24. package/lib/models/labels/void-request.js.map +1 -1
  25. package/lib/models/manifests/manifest-request-shipment.d.ts +0 -1
  26. package/lib/models/manifests/manifest-request-shipment.js +0 -1
  27. package/lib/models/manifests/manifest-request-shipment.js.map +1 -1
  28. package/lib/models/package.d.ts +3 -0
  29. package/lib/models/package.js +2 -0
  30. package/lib/models/package.js.map +1 -1
  31. package/lib/models/pickup/pickup-schema.d.ts +2 -0
  32. package/lib/models/pickup/pickup-schema.js +11 -0
  33. package/lib/models/pickup/pickup-schema.js.map +1 -0
  34. package/lib/models/pickup/pickup.d.ts +5 -0
  35. package/lib/models/pickup/pickup.js +10 -0
  36. package/lib/models/pickup/pickup.js.map +1 -0
  37. package/lib/models/pickup/shipped-shipment.d.ts +2 -0
  38. package/lib/models/pickup/shipped-shipment.js +2 -0
  39. package/lib/models/pickup/shipped-shipment.js.map +1 -1
  40. package/lib/models/tracking/index.d.ts +2 -0
  41. package/lib/models/tracking/index.js +2 -0
  42. package/lib/models/tracking/index.js.map +1 -1
  43. package/lib/requests/create-label-request.d.ts +3 -0
  44. package/lib/requests/create-label-request.js +2 -0
  45. package/lib/requests/create-label-request.js.map +1 -1
  46. package/lib/requests/get-rates-request.d.ts +3 -0
  47. package/lib/requests/get-rates-request.js +2 -0
  48. package/lib/requests/get-rates-request.js.map +1 -1
  49. package/lib/requests/index.d.ts +1 -0
  50. package/lib/requests/index.js +1 -0
  51. package/lib/requests/index.js.map +1 -1
  52. package/lib/requests/list-pickups-request.d.ts +9 -0
  53. package/lib/requests/list-pickups-request.js +12 -0
  54. package/lib/requests/list-pickups-request.js.map +1 -0
  55. package/lib/responses/index.d.ts +2 -0
  56. package/lib/responses/index.js +2 -0
  57. package/lib/responses/index.js.map +1 -1
  58. package/lib/responses/list-pickups-response-schema.d.ts +1 -0
  59. package/lib/responses/list-pickups-response-schema.js +9 -0
  60. package/lib/responses/list-pickups-response-schema.js.map +1 -0
  61. package/lib/responses/list-pickups-response.d.ts +6 -0
  62. package/lib/responses/list-pickups-response.js +10 -0
  63. package/lib/responses/list-pickups-response.js.map +1 -0
  64. package/package.json +1 -1
  65. package/spec.json +588 -429
  66. package/src/app/carrier-app-definition.ts +7 -0
  67. package/src/app/constants.ts +1 -0
  68. package/src/app/create-endpoint-mapping.ts +1 -0
  69. package/src/models/addresses/pickup-address.ts +3 -0
  70. package/src/models/dangerous-good/dangerous-goods-declaration.ts +14 -0
  71. package/src/models/dangerous-good/dangerous-goods-inner-packaging.ts +7 -0
  72. package/src/models/dangerous-good/dangerous-goods-package-info.ts +20 -0
  73. package/src/models/dangerous-good/dangerous-goods.ts +5 -0
  74. package/src/models/labels/void-request.ts +0 -2
  75. package/src/models/manifests/manifest-request-shipment.ts +0 -1
  76. package/src/models/package.ts +3 -0
  77. package/src/models/pickup/pickup-schema.ts +7 -0
  78. package/src/models/pickup/pickup.ts +5 -0
  79. package/src/models/pickup/shipped-shipment.ts +2 -0
  80. package/src/models/tracking/index.ts +2 -0
  81. package/src/requests/create-label-request.ts +3 -0
  82. package/src/requests/get-rates-request.ts +3 -0
  83. package/src/requests/index.ts +1 -0
  84. package/src/requests/list-pickups-request.ts +10 -0
  85. package/src/responses/index.ts +2 -0
  86. package/src/responses/list-pickups-response-schema.ts +6 -0
  87. package/src/responses/list-pickups-response.ts +7 -0
  88. 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.0"
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": {"registration_info":{"username":"auctane-next-day","password":"password!","meter_number":"8675309"},"transaction_id":"00000000-0000-0000-0000-000000000000","metadata":{"username":"auctane-next-day","password":"password!","meter_number":"8675309"}}
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": {"credentials":{"username":"auctane-next-day","password":"password!"},"metadata":{"username":"auctane-next-day","password":"password!","meter_number":"8675309"}}
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": {"data":"{\"tracking_number\":\"12345678901234567890\",\"status\":11,\"timestamp\":\"2021-08-11T21:15:00Z\"}","headers":{"content-type":["application/json"],"X-Signature":["v1:cedff7d0389299089e4c62c1042ce93059664d455ed0bfdf29cb959a861bda4b","v2:4b3157c730e498cb1126359fa020017e9e7c97b148f2d55da822fdfcd83e4a19"]},"transaction_id":"00000000-0000-0000-0000-000000000000","metadata":{"username":"auctane-next-day","password":"password!","meter_number":"8675309"}}
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": {"data":"{\"tracking_number\":\"12345678901234567890\",\"status\":11,\"timestamp\":\"2021-08-11T21:15:00Z\"}","headers":{"content-type":["application/json"],"X-Signature":["v1:cedff7d0389299089e4c62c1042ce93059664d455ed0bfdf29cb959a861bda4b","v2:4b3157c730e498cb1126359fa020017e9e7c97b148f2d55da822fdfcd83e4a19"]},"transaction_id":"00000000-0000-0000-0000-000000000000","metadata":{"username":"auctane-next-day","password":"password!","meter_number":"8675309"}}
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": {"tracking_info":[{"carrier_name":"UPS","tracking_number":"12345678901234567890","standardized_status_code":"DE","carrier_status_code":"11","carrier_status_description":"Delivered","estimated_delivery_datetime":"2021-08-11T00:00:00","actual_delivery_datetime":"2021-08-11T21:15:00Z","service":{"code":"03","name":"UPS® Ground"},"packaging":"package","package_count":1,"shipping_problem":false,"carrierEnum":0}],"update_method":"append"}
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": {"tracking_number":"12345678901234567890","is_return":false,"identifiers":[{"type":"tracking_number","value":"12345678901234567890"},{"type":"carrier_transaction_id","value":"US-12345678901234567890-1"}],"attributes":[{"type":"marketplace_order_token","value":"123456abcdefg7890"}],"transaction_id":"00000000-0000-0000-0000-000000000000","metadata":{"username":"auctane-next-day","password":"password!","meter_number":"8675309"}}
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": {"tracking_info":{"carrier_name":"UPS","tracking_number":"12345678901234567890","standardized_status_code":"DE","carrier_status_code":"D","carrier_detail_code":"FS","carrier_status_description":"Delivered","estimated_delivery_datetime":"2021-08-11T00:00:00","actual_delivery_datetime":"2021-08-11T21:15:00Z","weight":500.0,"dimensions":{"length":10.0,"width":10.0,"height":10.0},"service":{"code":"03","name":"UPS® Ground"},"packaging":"package","package_count":1,"events":[{"event_datetime":"2021-08-08T21:15:00Z","event_datetime_local":"2021-08-08T16:15:00","event_code":"M","carrier_detail_code":"DP","description":"Order Processed: Ready for UPS","city":"Austin","state":"TX","postal_code":"78756","country":"US","geo":{"lat":30.31,"long":-97.74},"status_code":"AC"},{"event_datetime":"2021-08-09T09:15:00Z","event_datetime_local":"2021-08-09T04:15:00","event_code":"I","carrier_detail_code":"MY","description":"In Transit","city":"Austin","state":"TX","postal_code":"78756","country":"US","geo":{"lat":30.2,"long":-97.66},"status_code":"IT"},{"event_datetime":"2021-08-10T09:15:00Z","event_datetime_local":"2021-08-10T04:15:00","event_code":"I","carrier_detail_code":"DS","description":"On Vehicle for Delivery","city":"Los Angeles","state":"CA","postal_code":"90045","country":"US","geo":{"lat":33.95,"long":-118.38},"status_code":"IT"},{"event_datetime":"2021-08-10T15:15:00Z","event_datetime_local":"2021-08-10T10:15:00","event_code":"I","carrier_detail_code":"OF","description":"On Vehicle for Delivery Today","city":"Los Angeles","state":"CA","postal_code":"90045","country":"US","geo":{"lat":33.95,"long":-118.38},"status_code":"IT"},{"event_datetime":"2021-08-10T21:15:00Z","event_datetime_local":"2021-08-10T16:15:00","event_code":"I","carrier_detail_code":"QS","description":"First Attempt Made","city":"El Segundo","state":"CA","postal_code":"90245","country":"US","geo":{"lat":33.95,"long":-118.38},"status_code":"AT"},{"event_datetime":"2021-08-11T03:15:00Z","event_datetime_local":"2021-08-10T22:15:00","event_code":"I","carrier_detail_code":"OF","description":"On Vehicle for Delivery Today","city":"Los Angeles","state":"CA","postal_code":"90045","country":"US","geo":{"lat":33.95,"long":-118.38},"status_code":"IT"},{"event_datetime":"2021-08-11T21:15:00Z","event_datetime_local":"2021-08-11T16:15:00","event_code":"D","carrier_detail_code":"FS","description":"Delivered","city":"El Segundo","state":"CA","postal_code":"90245","country":"US","geo":{"lat":33.95,"long":-118.38},"status_code":"DE"}],"shipping_problem":false,"carrierEnum":0}}
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": {"tracking_info":{"carrier_name":"UPS","tracking_number":"12345678901234567890","standardized_status_code":"NY","events":[],"shipping_problem":false,"carrierEnum":0}}
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": {"tracking_info":{"carrier_name":"UPS","tracking_number":"12345678901234567890","standardized_status_code":"EX","carrier_status_code":"X","carrier_detail_code":"KR","carrier_status_description":"Delivery Refused","estimated_delivery_datetime":"2021-08-11T00:00:00","actual_delivery_datetime":"2021-08-11T21:15:00Z","weight":500.0,"dimensions":{"length":10.0,"width":10.0,"height":10.0},"service":{"code":"03","name":"UPS® Ground"},"packaging":"package","package_count":1,"events":[{"event_datetime":"2021-08-09T09:15:00Z","event_datetime_local":"2021-08-09T04:15:00","event_code":"I","carrier_detail_code":"MY","description":"In Transit","city":"Austin","state":"TX","postal_code":"78756","country":"US","geo":{"lat":30.2,"long":-97.66},"status_code":"IT"},{"event_datetime":"2021-08-11T21:15:00Z","event_datetime_local":"2021-08-11T16:15:00","event_code":"X","carrier_detail_code":"KR","description":"Delivery Refused","city":"El Segundo","state":"CA","postal_code":"90245","country":"US","geo":{"lat":33.95,"long":-118.38},"status_code":"EX"}],"shipping_problem":false,"carrierEnum":0}}
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": {
@@ -1407,6 +1614,9 @@
1407
1614
  },
1408
1615
  "description": "Display schemes that the label will be returned in. Label is returned by default",
1409
1616
  "nullable": true
1617
+ },
1618
+ "dangerous_goods_declaration": {
1619
+ "$ref": "#/components/schemas/DangerousGoodsDeclaration"
1410
1620
  }
1411
1621
  },
1412
1622
  "additionalProperties": false
@@ -1509,9 +1719,7 @@
1509
1719
  "description": "This model represents the response from a successful create label request."
1510
1720
  },
1511
1721
  "CreateManifestRequest": {
1512
- "required": [
1513
- "transaction_id"
1514
- ],
1722
+ "required": ["transaction_id"],
1515
1723
  "type": "object",
1516
1724
  "allOf": [
1517
1725
  {
@@ -1557,9 +1765,7 @@
1557
1765
  "description": "This model represents the request payload needed to manifest with a shipping provider."
1558
1766
  },
1559
1767
  "CreateManifestResponse": {
1560
- "required": [
1561
- "manifests"
1562
- ],
1768
+ "required": ["manifests"],
1563
1769
  "type": "object",
1564
1770
  "allOf": [
1565
1771
  {
@@ -1622,9 +1828,7 @@
1622
1828
  "description": "This model represents the successful response for a create manifest request."
1623
1829
  },
1624
1830
  "CreateNotificationRequest": {
1625
- "required": [
1626
- "transaction_id"
1627
- ],
1831
+ "required": ["transaction_id"],
1628
1832
  "type": "object",
1629
1833
  "allOf": [
1630
1834
  {
@@ -1671,10 +1875,7 @@
1671
1875
  "description": "The response to a notification request."
1672
1876
  },
1673
1877
  "Credentials": {
1674
- "required": [
1675
- "username",
1676
- "password"
1677
- ],
1878
+ "required": ["username", "password"],
1678
1879
  "type": "object",
1679
1880
  "properties": {
1680
1881
  "username": {
@@ -1693,10 +1894,7 @@
1693
1894
  "type": "object",
1694
1895
  "properties": {
1695
1896
  "freight_charge": {
1696
- "required": [
1697
- "currency",
1698
- "amount"
1699
- ],
1897
+ "required": ["currency", "amount"],
1700
1898
  "type": "object",
1701
1899
  "properties": {
1702
1900
  "amount": {
@@ -1712,10 +1910,7 @@
1712
1910
  "nullable": true
1713
1911
  },
1714
1912
  "other_charge": {
1715
- "required": [
1716
- "currency",
1717
- "amount"
1718
- ],
1913
+ "required": ["currency", "amount"],
1719
1914
  "type": "object",
1720
1915
  "properties": {
1721
1916
  "amount": {
@@ -1736,10 +1931,7 @@
1736
1931
  "nullable": true
1737
1932
  },
1738
1933
  "insurance_charge": {
1739
- "required": [
1740
- "currency",
1741
- "amount"
1742
- ],
1934
+ "required": ["currency", "amount"],
1743
1935
  "type": "object",
1744
1936
  "properties": {
1745
1937
  "amount": {
@@ -1755,10 +1947,7 @@
1755
1947
  "nullable": true
1756
1948
  },
1757
1949
  "discount": {
1758
- "required": [
1759
- "currency",
1760
- "amount"
1761
- ],
1950
+ "required": ["currency", "amount"],
1762
1951
  "type": "object",
1763
1952
  "properties": {
1764
1953
  "amount": {
@@ -1795,10 +1984,7 @@
1795
1984
  "$ref": "#/components/schemas/CustomsNonDelivery"
1796
1985
  },
1797
1986
  "buyer_shipping_amount_paid": {
1798
- "required": [
1799
- "currency",
1800
- "amount"
1801
- ],
1987
+ "required": ["currency", "amount"],
1802
1988
  "type": "object",
1803
1989
  "properties": {
1804
1990
  "amount": {
@@ -1814,10 +2000,7 @@
1814
2000
  "nullable": true
1815
2001
  },
1816
2002
  "duties_paid": {
1817
- "required": [
1818
- "currency",
1819
- "amount"
1820
- ],
2003
+ "required": ["currency", "amount"],
1821
2004
  "type": "object",
1822
2005
  "properties": {
1823
2006
  "amount": {
@@ -1884,10 +2067,7 @@
1884
2067
  "type": "string"
1885
2068
  },
1886
2069
  "CustomsNonDelivery": {
1887
- "enum": [
1888
- "return_to_sender",
1889
- "treat_as_abandoned"
1890
- ],
2070
+ "enum": ["return_to_sender", "treat_as_abandoned"],
1891
2071
  "type": "string",
1892
2072
  "description": "What to do if the shipment is undeliverable."
1893
2073
  },
@@ -2000,6 +2180,15 @@
2000
2180
  },
2001
2181
  "accessibility": {
2002
2182
  "$ref": "#/components/schemas/AccessibilityTypes"
2183
+ },
2184
+ "special_provisions": {
2185
+ "type": "string",
2186
+ "description": "A comma-separated list of special provisions that apply to the specific dangerous good as defined by the relevant dangerous goods regulations. These provisions may modify or clarify the general requirements.",
2187
+ "nullable": true,
2188
+ "example": "A88, A183"
2189
+ },
2190
+ "inner_packaging": {
2191
+ "$ref": "#/components/schemas/DangerousGoodsInnerPackaging"
2003
2192
  }
2004
2193
  },
2005
2194
  "additionalProperties": false,
@@ -2022,6 +2211,86 @@
2022
2211
  "additionalProperties": false,
2023
2212
  "description": "This model represents contact information regarding dangerous goods"
2024
2213
  },
2214
+ "DangerousGoodsDeclaration": {
2215
+ "type": "object",
2216
+ "properties": {
2217
+ "regulation_set": {
2218
+ "type": "string",
2219
+ "description": "Name of the regulatory authority",
2220
+ "nullable": true
2221
+ },
2222
+ "emergency_contact": {
2223
+ "$ref": "#/components/schemas/DangerousGoodsContact"
2224
+ },
2225
+ "signatory": {
2226
+ "$ref": "#/components/schemas/Signatory"
2227
+ },
2228
+ "additional_handling_information": {
2229
+ "type": "string",
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.",
2231
+ "nullable": true
2232
+ }
2233
+ },
2234
+ "additionalProperties": false,
2235
+ "description": "An object containing high-level information about the dangerous goods declaration for the entire shipment."
2236
+ },
2237
+ "DangerousGoodsInnerPackaging": {
2238
+ "type": "object",
2239
+ "properties": {
2240
+ "type": {
2241
+ "type": "string",
2242
+ "description": "The type of inner packaging used.",
2243
+ "nullable": true
2244
+ },
2245
+ "quantity": {
2246
+ "type": "number",
2247
+ "description": "The number of individual inner packagings contained within the outer package for this specific dangerous good.",
2248
+ "format": "double",
2249
+ "nullable": true
2250
+ }
2251
+ },
2252
+ "additionalProperties": false,
2253
+ "description": "An object detailing the inner packaging of the dangerous good."
2254
+ },
2255
+ "DangerousGoodsPackageInfo": {
2256
+ "type": "object",
2257
+ "properties": {
2258
+ "transport_mean": {
2259
+ "$ref": "#/components/schemas/TransportMeanEnum"
2260
+ },
2261
+ "accessibility": {
2262
+ "type": "boolean",
2263
+ "description": "Indicates whether the dangerous goods package must be accessible during transit for inspection or handling. True if accessible, false otherwise.",
2264
+ "nullable": true
2265
+ },
2266
+ "is_overpack": {
2267
+ "type": "boolean",
2268
+ "description": "Specifies if the package is an overpack, meaning it contains one or more packages prepared in accordance with dangerous goods regulations. True if it is an overpack, false otherwise.",
2269
+ "nullable": true
2270
+ },
2271
+ "all_packed_in_one": {
2272
+ "type": "boolean",
2273
+ "description": "Indicates whether all dangerous goods in the package are packed in accordance with the same regulations. True if all packed in one, false otherwise.",
2274
+ "nullable": true
2275
+ },
2276
+ "q_value": {
2277
+ "type": "number",
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",
2280
+ "nullable": true
2281
+ },
2282
+ "outer_packaging_type": {
2283
+ "type": "string",
2284
+ "description": "The type of outer packaging used for the dangerous goods package, typically represented by a UN packaging code.",
2285
+ "nullable": true
2286
+ },
2287
+ "regulation_level": {
2288
+ "$ref": "#/components/schemas/RegulationLevelEnum"
2289
+ }
2290
+ },
2291
+ "additionalProperties": false,
2292
+ "description": "An object containing information specific to the dangerous goods aspects of an individual package."
2293
+ },
2025
2294
  "DayOfOperation": {
2026
2295
  "type": "object",
2027
2296
  "properties": {
@@ -2060,10 +2329,7 @@
2060
2329
  "description": "This model represents the dimensions for a package represented in its original unit, inches, and centimeters."
2061
2330
  },
2062
2331
  "DimensionUnit": {
2063
- "enum": [
2064
- "inches",
2065
- "centimeters"
2066
- ],
2332
+ "enum": ["inches", "centimeters"],
2067
2333
  "type": "string",
2068
2334
  "description": "This model represents the supported units for dimensions."
2069
2335
  },
@@ -2093,18 +2359,11 @@
2093
2359
  "description": "This model represents the measurements for dimensions."
2094
2360
  },
2095
2361
  "DisplayScheme": {
2096
- "enum": [
2097
- "label",
2098
- "paperless_label"
2099
- ],
2362
+ "enum": ["label", "paperless_label"],
2100
2363
  "type": "string"
2101
2364
  },
2102
2365
  "Document": {
2103
- "required": [
2104
- "type",
2105
- "data",
2106
- "format"
2107
- ],
2366
+ "required": ["type", "data", "format"],
2108
2367
  "type": "object",
2109
2368
  "properties": {
2110
2369
  "type": {
@@ -2128,11 +2387,7 @@
2128
2387
  "description": "Container for a document."
2129
2388
  },
2130
2389
  "DocumentFormat": {
2131
- "enum": [
2132
- "PDF",
2133
- "ZPL",
2134
- "PNG"
2135
- ],
2390
+ "enum": ["PDF", "ZPL", "PNG"],
2136
2391
  "type": "string"
2137
2392
  },
2138
2393
  "DocumentType": {
@@ -2149,10 +2404,7 @@
2149
2404
  "type": "object",
2150
2405
  "properties": {
2151
2406
  "taxes": {
2152
- "required": [
2153
- "currency",
2154
- "amount"
2155
- ],
2407
+ "required": ["currency", "amount"],
2156
2408
  "type": "object",
2157
2409
  "properties": {
2158
2410
  "amount": {
@@ -2168,10 +2420,7 @@
2168
2420
  "nullable": true
2169
2421
  },
2170
2422
  "duties": {
2171
- "required": [
2172
- "currency",
2173
- "amount"
2174
- ],
2423
+ "required": ["currency", "amount"],
2175
2424
  "type": "object",
2176
2425
  "properties": {
2177
2426
  "amount": {
@@ -2278,16 +2527,12 @@
2278
2527
  "description": "Geolocation additional information for an address."
2279
2528
  },
2280
2529
  "GeolocationType": {
2281
- "enum": [
2282
- "what3words"
2283
- ],
2530
+ "enum": ["what3words"],
2284
2531
  "type": "string",
2285
2532
  "description": "Specifies the supported geolocation types."
2286
2533
  },
2287
2534
  "GetManifestRequest": {
2288
- "required": [
2289
- "transaction_id"
2290
- ],
2535
+ "required": ["transaction_id"],
2291
2536
  "type": "object",
2292
2537
  "allOf": [
2293
2538
  {
@@ -2420,6 +2665,9 @@
2420
2665
  },
2421
2666
  "description": "Display schemes in which the rate will be evaluated. Labels are used by default.",
2422
2667
  "nullable": true
2668
+ },
2669
+ "dangerous_goods_declaration": {
2670
+ "$ref": "#/components/schemas/DangerousGoodsDeclaration"
2423
2671
  }
2424
2672
  },
2425
2673
  "additionalProperties": false,
@@ -2484,9 +2732,7 @@
2484
2732
  "description": "This model represents the payload sent to get relay points based on the provided search criteria."
2485
2733
  },
2486
2734
  "GetRelayPointsResponse": {
2487
- "required": [
2488
- "relay_points"
2489
- ],
2735
+ "required": ["relay_points"],
2490
2736
  "type": "object",
2491
2737
  "properties": {
2492
2738
  "relay_points": {
@@ -2501,9 +2747,7 @@
2501
2747
  "description": "Basic structure for a response to get relay points"
2502
2748
  },
2503
2749
  "GetServicePointRequest": {
2504
- "required": [
2505
- "transaction_id"
2506
- ],
2750
+ "required": ["transaction_id"],
2507
2751
  "type": "object",
2508
2752
  "allOf": [
2509
2753
  {
@@ -2539,9 +2783,7 @@
2539
2783
  "additionalProperties": false
2540
2784
  },
2541
2785
  "GetServicePointsRequest": {
2542
- "required": [
2543
- "transaction_id"
2544
- ],
2786
+ "required": ["transaction_id"],
2545
2787
  "type": "object",
2546
2788
  "allOf": [
2547
2789
  {
@@ -2609,10 +2851,7 @@
2609
2851
  "additionalProperties": false
2610
2852
  },
2611
2853
  "Identifier": {
2612
- "required": [
2613
- "type",
2614
- "value"
2615
- ],
2854
+ "required": ["type", "value"],
2616
2855
  "type": "object",
2617
2856
  "properties": {
2618
2857
  "type": {
@@ -2630,9 +2869,7 @@
2630
2869
  "description": "A key value pair, allowing custom properties to be stored."
2631
2870
  },
2632
2871
  "ImportTrackingEventsRequest": {
2633
- "required": [
2634
- "transaction_id"
2635
- ],
2872
+ "required": ["transaction_id"],
2636
2873
  "type": "object",
2637
2874
  "allOf": [
2638
2875
  {
@@ -2736,9 +2973,7 @@
2736
2973
  "description": "Basic structure for a Importer Record"
2737
2974
  },
2738
2975
  "InboundDataContentTypes": {
2739
- "enum": [
2740
- "tracking"
2741
- ],
2976
+ "enum": ["tracking"],
2742
2977
  "type": "string"
2743
2978
  },
2744
2979
  "InsuranceProviders": {
@@ -2763,12 +2998,7 @@
2763
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."
2764
2999
  },
2765
3000
  "LabelLayouts": {
2766
- "enum": [
2767
- "4x6",
2768
- "letter",
2769
- "A4",
2770
- "A6"
2771
- ],
3001
+ "enum": ["4x6", "letter", "A4", "A6"],
2772
3002
  "type": "string"
2773
3003
  },
2774
3004
  "LabelMessage": {
@@ -2878,10 +3108,7 @@
2878
3108
  "$ref": "#/components/schemas/CustomsNonDelivery"
2879
3109
  },
2880
3110
  "buyer_shipping_amount_paid": {
2881
- "required": [
2882
- "currency",
2883
- "amount"
2884
- ],
3111
+ "required": ["currency", "amount"],
2885
3112
  "type": "object",
2886
3113
  "properties": {
2887
3114
  "amount": {
@@ -2897,10 +3124,7 @@
2897
3124
  "nullable": true
2898
3125
  },
2899
3126
  "duties_paid": {
2900
- "required": [
2901
- "currency",
2902
- "amount"
2903
- ],
3127
+ "required": ["currency", "amount"],
2904
3128
  "type": "object",
2905
3129
  "properties": {
2906
3130
  "amount": {
@@ -2983,11 +3207,6 @@
2983
3207
  "description": "Shipment ship date time.",
2984
3208
  "format": "date-time"
2985
3209
  },
2986
- "reference": {
2987
- "type": "string",
2988
- "description": "Shipment reference number.",
2989
- "nullable": true
2990
- },
2991
3210
  "customs": {
2992
3211
  "$ref": "#/components/schemas/ManifestCustoms"
2993
3212
  }
@@ -2995,27 +3214,15 @@
2995
3214
  "additionalProperties": false
2996
3215
  },
2997
3216
  "ManifestStatus": {
2998
- "enum": [
2999
- "unknown",
3000
- "in_progress",
3001
- "completed",
3002
- "failed"
3003
- ],
3217
+ "enum": ["unknown", "in_progress", "completed", "failed"],
3004
3218
  "type": "string"
3005
3219
  },
3006
3220
  "MovementIndicator": {
3007
- "enum": [
3008
- "b2c",
3009
- "b2b",
3010
- "c2c",
3011
- "c2b"
3012
- ],
3221
+ "enum": ["b2c", "b2b", "c2c", "c2b"],
3013
3222
  "type": "string"
3014
3223
  },
3015
3224
  "NormalizeTrackingDataRequest": {
3016
- "required": [
3017
- "transaction_id"
3018
- ],
3225
+ "required": ["transaction_id"],
3019
3226
  "type": "object",
3020
3227
  "allOf": [
3021
3228
  {
@@ -3112,9 +3319,7 @@
3112
3319
  "description": "The times each day that the relay point is open, for example: \"11:00-13:00, 14:30-19:30\""
3113
3320
  },
3114
3321
  "Package": {
3115
- "required": [
3116
- "insured_value"
3117
- ],
3322
+ "required": ["insured_value"],
3118
3323
  "type": "object",
3119
3324
  "properties": {
3120
3325
  "package_code": {
@@ -3134,10 +3339,7 @@
3134
3339
  "$ref": "#/components/schemas/WeightDetails"
3135
3340
  },
3136
3341
  "insured_value": {
3137
- "required": [
3138
- "currency",
3139
- "amount"
3140
- ],
3342
+ "required": ["currency", "amount"],
3141
3343
  "type": "object",
3142
3344
  "properties": {
3143
3345
  "amount": {
@@ -3162,26 +3364,20 @@
3162
3364
  },
3163
3365
  "description": "List of products associated with this package.",
3164
3366
  "nullable": true
3367
+ },
3368
+ "dangerous_goods_package_info": {
3369
+ "$ref": "#/components/schemas/DangerousGoodsPackageInfo"
3165
3370
  }
3166
3371
  },
3167
3372
  "additionalProperties": false,
3168
3373
  "description": "This model represents an individual package that is part of a shipment."
3169
3374
  },
3170
3375
  "PackageInstructionSectionEnum": {
3171
- "enum": [
3172
- "section_1",
3173
- "section_2",
3174
- "section_1A",
3175
- "section_1B"
3176
- ],
3376
+ "enum": ["section_1", "section_2", "section_1A", "section_1B"],
3177
3377
  "type": "string"
3178
3378
  },
3179
3379
  "PackagingGroupEnum": {
3180
- "enum": [
3181
- "i",
3182
- "ii",
3183
- "iii"
3184
- ],
3380
+ "enum": ["i", "ii", "iii"],
3185
3381
  "type": "string"
3186
3382
  },
3187
3383
  "PaperlessDetails": {
@@ -3228,11 +3424,7 @@
3228
3424
  "description": "This model contains the confirmation information for a scheduled pickup."
3229
3425
  },
3230
3426
  "PickupContactDetails": {
3231
- "required": [
3232
- "first_name",
3233
- "email",
3234
- "phone_number"
3235
- ],
3427
+ "required": ["first_name", "email", "phone_number"],
3236
3428
  "type": "object",
3237
3429
  "properties": {
3238
3430
  "first_name": {
@@ -3310,12 +3502,7 @@
3310
3502
  "description": "Contains information regarding the service code for the pickup request and the packages that will be picked up"
3311
3503
  },
3312
3504
  "PickupWindow": {
3313
- "required": [
3314
- "time_zone_iana",
3315
- "pickup_date",
3316
- "start_time",
3317
- "end_time"
3318
- ],
3505
+ "required": ["time_zone_iana", "pickup_date", "start_time", "end_time"],
3319
3506
  "type": "object",
3320
3507
  "properties": {
3321
3508
  "time_zone_iana": {
@@ -3349,9 +3536,7 @@
3349
3536
  "description": "This model represents a window of time a pickup could be made."
3350
3537
  },
3351
3538
  "Products": {
3352
- "required": [
3353
- "value"
3354
- ],
3539
+ "required": ["value"],
3355
3540
  "type": "object",
3356
3541
  "properties": {
3357
3542
  "description": {
@@ -3365,10 +3550,7 @@
3365
3550
  "format": "int32"
3366
3551
  },
3367
3552
  "value": {
3368
- "required": [
3369
- "currency",
3370
- "amount"
3371
- ],
3553
+ "required": ["currency", "amount"],
3372
3554
  "type": "object",
3373
3555
  "properties": {
3374
3556
  "amount": {
@@ -3434,14 +3616,11 @@
3434
3616
  "nullable": true
3435
3617
  }
3436
3618
  },
3437
- "additionalProperties": { },
3619
+ "additionalProperties": {},
3438
3620
  "description": "This model represents the product information for a single item."
3439
3621
  },
3440
3622
  "PudoLocation": {
3441
- "required": [
3442
- "postal_code",
3443
- "country_code"
3444
- ],
3623
+ "required": ["postal_code", "country_code"],
3445
3624
  "type": "object",
3446
3625
  "allOf": [
3447
3626
  {
@@ -3551,9 +3730,7 @@
3551
3730
  "description": "This model represents a rate for a given service code."
3552
3731
  },
3553
3732
  "RawExternalSource": {
3554
- "required": [
3555
- "marketplace_code"
3556
- ],
3733
+ "required": ["marketplace_code"],
3557
3734
  "type": "object",
3558
3735
  "properties": {
3559
3736
  "marketplace_code": {
@@ -3566,10 +3743,7 @@
3566
3743
  "description": "This model represents a raw external source of information."
3567
3744
  },
3568
3745
  "RegisterRequest": {
3569
- "required": [
3570
- "registration_info",
3571
- "transaction_id"
3572
- ],
3746
+ "required": ["registration_info", "transaction_id"],
3573
3747
  "type": "object",
3574
3748
  "allOf": [
3575
3749
  {
@@ -3591,10 +3765,7 @@
3591
3765
  "description": "This model represents the body of a request used to register a new user within ShipEngine."
3592
3766
  },
3593
3767
  "RegisterResponse": {
3594
- "required": [
3595
- "credentials",
3596
- "metadata"
3597
- ],
3768
+ "required": ["credentials", "metadata"],
3598
3769
  "type": "object",
3599
3770
  "properties": {
3600
3771
  "credentials": {
@@ -3707,10 +3878,7 @@
3707
3878
  "description": "The address information corresponding to a specific relay point"
3708
3879
  },
3709
3880
  "RelayPointDetails": {
3710
- "required": [
3711
- "ship_to",
3712
- "ship_from"
3713
- ],
3881
+ "required": ["ship_to", "ship_from"],
3714
3882
  "type": "object",
3715
3883
  "properties": {
3716
3884
  "ship_to": {
@@ -3741,9 +3909,7 @@
3741
3909
  "description": "Used for generic downloads, containing the resource itself or a link to where it can be found"
3742
3910
  },
3743
3911
  "ReturnLabelDetails": {
3744
- "required": [
3745
- "rma_number"
3746
- ],
3912
+ "required": ["rma_number"],
3747
3913
  "type": "object",
3748
3914
  "properties": {
3749
3915
  "rma_number": {
@@ -3755,11 +3921,76 @@
3755
3921
  "additionalProperties": false,
3756
3922
  "description": "Return Label Information (Added 1.13)"
3757
3923
  },
3758
- "SchedulePickupRequest": {
3759
- "required": [
3760
- "requested_pickup_window",
3761
- "transaction_id"
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
+ }
3762
3989
  ],
3990
+ "additionalProperties": false
3991
+ },
3992
+ "SchedulePickupRequest": {
3993
+ "required": ["requested_pickup_window", "transaction_id"],
3763
3994
  "type": "object",
3764
3995
  "allOf": [
3765
3996
  {
@@ -3784,9 +4015,7 @@
3784
4015
  "description": "A request to schedule a pickup with a carrier"
3785
4016
  },
3786
4017
  "SchedulePickupResponse": {
3787
- "required": [
3788
- "pickup_windows"
3789
- ],
4018
+ "required": ["pickup_windows"],
3790
4019
  "type": "object",
3791
4020
  "allOf": [
3792
4021
  {
@@ -3859,10 +4088,7 @@
3859
4088
  "additionalProperties": false
3860
4089
  },
3861
4090
  "SearchRadiusUnit": {
3862
- "enum": [
3863
- "miles",
3864
- "kilometers"
3865
- ],
4091
+ "enum": ["miles", "kilometers"],
3866
4092
  "type": "string"
3867
4093
  },
3868
4094
  "Service": {
@@ -3923,10 +4149,7 @@
3923
4149
  "additionalProperties": false
3924
4150
  },
3925
4151
  "ServicePointAddress": {
3926
- "required": [
3927
- "postal_code",
3928
- "country_code"
3929
- ],
4152
+ "required": ["postal_code", "country_code"],
3930
4153
  "type": "object",
3931
4154
  "allOf": [
3932
4155
  {
@@ -3951,17 +4174,11 @@
3951
4174
  "type": "string"
3952
4175
  },
3953
4176
  "ServicePointLocationType": {
3954
- "enum": [
3955
- "pudo",
3956
- "locker"
3957
- ],
4177
+ "enum": ["pudo", "locker"],
3958
4178
  "type": "string"
3959
4179
  },
3960
4180
  "ServicePointResponseAddress": {
3961
- "required": [
3962
- "postal_code",
3963
- "country_code"
3964
- ],
4181
+ "required": ["postal_code", "country_code"],
3965
4182
  "type": "object",
3966
4183
  "allOf": [
3967
4184
  {
@@ -4005,10 +4222,7 @@
4005
4222
  "additionalProperties": false
4006
4223
  },
4007
4224
  "ShipFrom": {
4008
- "required": [
4009
- "postal_code",
4010
- "country_code"
4011
- ],
4225
+ "required": ["postal_code", "country_code"],
4012
4226
  "type": "object",
4013
4227
  "allOf": [
4014
4228
  {
@@ -4029,10 +4243,7 @@
4029
4243
  "description": "The shipment sender's address. It may or may not have been validated."
4030
4244
  },
4031
4245
  "ShipFromDisplay": {
4032
- "required": [
4033
- "postal_code",
4034
- "country_code"
4035
- ],
4246
+ "required": ["postal_code", "country_code"],
4036
4247
  "type": "object",
4037
4248
  "allOf": [
4038
4249
  {
@@ -4043,10 +4254,7 @@
4043
4254
  "description": "The address that should be displayed as the return address, only if the shipping provider supports\r\nthis functionality."
4044
4255
  },
4045
4256
  "ShipTo": {
4046
- "required": [
4047
- "postal_code",
4048
- "country_code"
4049
- ],
4257
+ "required": ["postal_code", "country_code"],
4050
4258
  "type": "object",
4051
4259
  "allOf": [
4052
4260
  {
@@ -4141,10 +4349,7 @@
4141
4349
  "$ref": "#/components/schemas/Customs"
4142
4350
  },
4143
4351
  "insured_value": {
4144
- "required": [
4145
- "currency",
4146
- "amount"
4147
- ],
4352
+ "required": ["currency", "amount"],
4148
4353
  "type": "object",
4149
4354
  "properties": {
4150
4355
  "amount": {
@@ -4172,9 +4377,7 @@
4172
4377
  "description": "This is the model for a package that has had a label generated for it"
4173
4378
  },
4174
4379
  "ShippedProducts": {
4175
- "required": [
4176
- "value"
4177
- ],
4380
+ "required": ["value"],
4178
4381
  "type": "object",
4179
4382
  "properties": {
4180
4383
  "description": {
@@ -4188,10 +4391,7 @@
4188
4391
  "format": "int32"
4189
4392
  },
4190
4393
  "value": {
4191
- "required": [
4192
- "currency",
4193
- "amount"
4194
- ],
4394
+ "required": ["currency", "amount"],
4195
4395
  "type": "object",
4196
4396
  "properties": {
4197
4397
  "amount": {
@@ -4254,7 +4454,7 @@
4254
4454
  "nullable": true
4255
4455
  }
4256
4456
  },
4257
- "additionalProperties": { },
4457
+ "additionalProperties": {},
4258
4458
  "description": "This model represents the product of a package that has had a label generated for it"
4259
4459
  },
4260
4460
  "ShippedShipment": {
@@ -4297,6 +4497,11 @@
4297
4497
  },
4298
4498
  "dropoff_location": {
4299
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
4300
4505
  }
4301
4506
  },
4302
4507
  "additionalProperties": false,
@@ -4351,16 +4556,7 @@
4351
4556
  "additionalProperties": false
4352
4557
  },
4353
4558
  "StandardizedStatusCodes": {
4354
- "enum": [
4355
- "UN",
4356
- "AC",
4357
- "IT",
4358
- "DE",
4359
- "EX",
4360
- "AT",
4361
- "NY",
4362
- "SP"
4363
- ],
4559
+ "enum": ["UN", "AC", "IT", "DE", "EX", "AT", "NY", "SP"],
4364
4560
  "type": "string",
4365
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"
4366
4562
  },
@@ -4513,9 +4709,7 @@
4513
4709
  "description": "Entity representing a Tax Identification number, type, and country of registration."
4514
4710
  },
4515
4711
  "TaxType": {
4516
- "enum": [
4517
- "vat"
4518
- ],
4712
+ "enum": ["vat"],
4519
4713
  "type": "string"
4520
4714
  },
4521
4715
  "TermsOfTradeCode": {
@@ -4642,10 +4836,7 @@
4642
4836
  "description": "This model represents a tracking event for a shipment."
4643
4837
  },
4644
4838
  "TrackingAttribute": {
4645
- "required": [
4646
- "type",
4647
- "value"
4648
- ],
4839
+ "required": ["type", "value"],
4649
4840
  "type": "object",
4650
4841
  "properties": {
4651
4842
  "type": {
@@ -4783,9 +4974,7 @@
4783
4974
  "description": "This model represents tracking information for a shipment."
4784
4975
  },
4785
4976
  "TrackingRequest": {
4786
- "required": [
4787
- "transaction_id"
4788
- ],
4977
+ "required": ["transaction_id"],
4789
4978
  "type": "object",
4790
4979
  "allOf": [
4791
4980
  {
@@ -4814,9 +5003,7 @@
4814
5003
  "description": "This model represents the payload that is sent to request tracking information."
4815
5004
  },
4816
5005
  "TrackingResponse": {
4817
- "required": [
4818
- "tracking_info"
4819
- ],
5006
+ "required": ["tracking_info"],
4820
5007
  "type": "object",
4821
5008
  "allOf": [
4822
5009
  {
@@ -4886,17 +5073,11 @@
4886
5073
  "type": "string"
4887
5074
  },
4888
5075
  "UpdateMethods": {
4889
- "enum": [
4890
- "append",
4891
- "replace"
4892
- ],
5076
+ "enum": ["append", "replace"],
4893
5077
  "type": "string"
4894
5078
  },
4895
5079
  "UpdateSettingsRequest": {
4896
- "required": [
4897
- "update_settings",
4898
- "transaction_id"
4899
- ],
5080
+ "required": ["update_settings", "transaction_id"],
4900
5081
  "type": "object",
4901
5082
  "allOf": [
4902
5083
  {
@@ -4928,9 +5109,7 @@
4928
5109
  "description": "This model represents the successful response for updating carrier settings request."
4929
5110
  },
4930
5111
  "ValidateInboundDataRequest": {
4931
- "required": [
4932
- "transaction_id"
4933
- ],
5112
+ "required": ["transaction_id"],
4934
5113
  "type": "object",
4935
5114
  "allOf": [
4936
5115
  {
@@ -5059,10 +5238,7 @@
5059
5238
  "description": "A list of standard validation error identifiers for errors the module can return"
5060
5239
  },
5061
5240
  "VoidLabelsRequest": {
5062
- "required": [
5063
- "void_requests",
5064
- "transaction_id"
5065
- ],
5241
+ "required": ["void_requests", "transaction_id"],
5066
5242
  "type": "object",
5067
5243
  "allOf": [
5068
5244
  {
@@ -5083,9 +5259,7 @@
5083
5259
  "description": "This model represents the payload sent to void a set of labels."
5084
5260
  },
5085
5261
  "VoidLabelsResponse": {
5086
- "required": [
5087
- "void_responses"
5088
- ],
5262
+ "required": ["void_responses"],
5089
5263
  "type": "object",
5090
5264
  "allOf": [
5091
5265
  {
@@ -5106,10 +5280,7 @@
5106
5280
  "description": "This model represents the successful attempt to void a set of labels."
5107
5281
  },
5108
5282
  "VoidRequest": {
5109
- "required": [
5110
- "void_request_id",
5111
- "ship_from"
5112
- ],
5283
+ "required": ["void_request_id", "ship_from"],
5113
5284
  "type": "object",
5114
5285
  "allOf": [
5115
5286
  {
@@ -5124,20 +5295,13 @@
5124
5295
  },
5125
5296
  "ship_from": {
5126
5297
  "$ref": "#/components/schemas/ShipFrom"
5127
- },
5128
- "reference": {
5129
- "type": "string",
5130
- "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",
5131
- "nullable": true
5132
5298
  }
5133
5299
  },
5134
5300
  "additionalProperties": false,
5135
5301
  "description": "A request to void a particular label."
5136
5302
  },
5137
5303
  "VoidResponse": {
5138
- "required": [
5139
- "void_request_id"
5140
- ],
5304
+ "required": ["void_request_id"],
5141
5305
  "type": "object",
5142
5306
  "properties": {
5143
5307
  "void_request_id": {
@@ -5251,12 +5415,7 @@
5251
5415
  "description": "This model represents the weight of a package in its original unit, ounces, and grams."
5252
5416
  },
5253
5417
  "WeightUnit": {
5254
- "enum": [
5255
- "grams",
5256
- "ounces",
5257
- "kilograms",
5258
- "pounds"
5259
- ],
5418
+ "enum": ["grams", "ounces", "kilograms", "pounds"],
5260
5419
  "type": "string",
5261
5420
  "description": "This model describes the possible units of weight."
5262
5421
  },
@@ -5322,4 +5481,4 @@
5322
5481
  "description": "Given inbound data, such as a webhook with tracking updates, return normalized information."
5323
5482
  }
5324
5483
  ]
5325
- }
5484
+ }