@shipengine/connect-carrier-api 2.4.3 → 2.4.4
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/spec.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "ShipEngine Connect Carrier API",
|
|
5
5
|
"description": "This API specification describes the canonical ShipEngine Carrier API connector module. A module which implements one or more endpoints from this specification can be integrated with the ShipEngine Carrier Platform.",
|
|
6
|
-
"version": "1.15.
|
|
6
|
+
"version": "1.15.1"
|
|
7
7
|
},
|
|
8
8
|
"paths": {
|
|
9
9
|
"/Register": {
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"tags": [
|
|
12
12
|
"Account Setup"
|
|
13
13
|
],
|
|
14
|
-
"description": "This method is used to authenticate with your application. It is responsible for verifying the supplied
|
|
14
|
+
"description": "This method is used to authenticate with your application. It is responsible for verifying the supplied\r\nuser credentials and establishing or renewing a connection. The authentication information will be\r\nstored in the metadata object and will be included in all request bodies. All applications must\r\nimplement the Register method.",
|
|
15
15
|
"operationId": "Register",
|
|
16
16
|
"parameters": [
|
|
17
17
|
{
|
|
18
18
|
"name": "ShipStation-TransactionID",
|
|
19
19
|
"in": "header",
|
|
20
|
-
"description": "Uniquely identifies the current transaction. If the transaction is retried
|
|
20
|
+
"description": "Uniquely identifies the current transaction. If the transaction is retried,\r\n then this transaction_id will remain the same. You can use this to detect and prevent duplicate\r\n operations.",
|
|
21
21
|
"schema": {
|
|
22
22
|
"type": "string",
|
|
23
23
|
"format": "uuid"
|
|
@@ -25,25 +25,13 @@
|
|
|
25
25
|
}
|
|
26
26
|
],
|
|
27
27
|
"requestBody": {
|
|
28
|
-
"description": "An object containing the authentication information gathered using the
|
|
28
|
+
"description": "An object containing the authentication information gathered using the\r\n connection form you created for your application. It will contain whatever fields you defined in this form.\r\n Your method must then use this data to perform authentication with your backend service.",
|
|
29
29
|
"content": {
|
|
30
30
|
"application/json": {
|
|
31
31
|
"schema": {
|
|
32
32
|
"$ref": "#/components/schemas/ExampleRegisterRequest"
|
|
33
33
|
},
|
|
34
|
-
"example": {
|
|
35
|
-
"registration_info": {
|
|
36
|
-
"username": "auctane-next-day",
|
|
37
|
-
"password": "password!",
|
|
38
|
-
"meter_number": "8675309"
|
|
39
|
-
},
|
|
40
|
-
"transaction_id": "00000000-0000-0000-0000-000000000000",
|
|
41
|
-
"metadata": {
|
|
42
|
-
"username": "auctane-next-day",
|
|
43
|
-
"password": "password!",
|
|
44
|
-
"meter_number": "8675309"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
34
|
+
"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"}}
|
|
47
35
|
}
|
|
48
36
|
}
|
|
49
37
|
},
|
|
@@ -98,17 +86,7 @@
|
|
|
98
86
|
"schema": {
|
|
99
87
|
"$ref": "#/components/schemas/RegisterResponse"
|
|
100
88
|
},
|
|
101
|
-
"example": {
|
|
102
|
-
"credentials": {
|
|
103
|
-
"username": "auctane-next-day",
|
|
104
|
-
"password": "password!"
|
|
105
|
-
},
|
|
106
|
-
"metadata": {
|
|
107
|
-
"username": "auctane-next-day",
|
|
108
|
-
"password": "password!",
|
|
109
|
-
"meter_number": "8675309"
|
|
110
|
-
}
|
|
111
|
-
}
|
|
89
|
+
"example": {"credentials":{"username":"auctane-next-day","password":"password!"},"metadata":{"username":"auctane-next-day","password":"password!","meter_number":"8675309"}}
|
|
112
90
|
}
|
|
113
91
|
}
|
|
114
92
|
}
|
|
@@ -290,7 +268,7 @@
|
|
|
290
268
|
"tags": [
|
|
291
269
|
"Manifesting"
|
|
292
270
|
],
|
|
293
|
-
"description": "This method creates an end-of-day manifest and should be implemented by carrier apps that support
|
|
271
|
+
"description": "This method creates an end-of-day manifest and should be implemented by carrier apps that support\r\nend-of-day manifesting.",
|
|
294
272
|
"operationId": "Create Manifest",
|
|
295
273
|
"parameters": [
|
|
296
274
|
{
|
|
@@ -375,7 +353,7 @@
|
|
|
375
353
|
"tags": [
|
|
376
354
|
"Manifesting"
|
|
377
355
|
],
|
|
378
|
-
"description": "This method retrieves the end-of-day manifest created by an earlier create manifest call
|
|
356
|
+
"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.",
|
|
379
357
|
"operationId": "Get Manifest",
|
|
380
358
|
"parameters": [
|
|
381
359
|
{
|
|
@@ -460,13 +438,13 @@
|
|
|
460
438
|
"tags": [
|
|
461
439
|
"Normalize Inbound Data"
|
|
462
440
|
],
|
|
463
|
-
"description": "This method validates and then returns the type of information contained in the inbound data
|
|
441
|
+
"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",
|
|
464
442
|
"operationId": "Validate Inbound Data",
|
|
465
443
|
"parameters": [
|
|
466
444
|
{
|
|
467
445
|
"name": "ShipStation-TransactionID",
|
|
468
446
|
"in": "header",
|
|
469
|
-
"description": "Unique transaction ID, use this transaction ID in your logs to correlate a
|
|
447
|
+
"description": "Unique transaction ID, use this transaction ID in your logs to correlate a\r\n request together.",
|
|
470
448
|
"schema": {
|
|
471
449
|
"type": "string",
|
|
472
450
|
"format": "uuid"
|
|
@@ -480,24 +458,7 @@
|
|
|
480
458
|
"schema": {
|
|
481
459
|
"$ref": "#/components/schemas/ValidateInboundDataRequest"
|
|
482
460
|
},
|
|
483
|
-
"example": {
|
|
484
|
-
"data": "{\"tracking_number\":\"12345678901234567890\",\"status\":11,\"timestamp\":\"2021-08-11T21:15:00Z\"}",
|
|
485
|
-
"headers": {
|
|
486
|
-
"content-type": [
|
|
487
|
-
"application/json"
|
|
488
|
-
],
|
|
489
|
-
"X-Signature": [
|
|
490
|
-
"v1:cedff7d0389299089e4c62c1042ce93059664d455ed0bfdf29cb959a861bda4b",
|
|
491
|
-
"v2:4b3157c730e498cb1126359fa020017e9e7c97b148f2d55da822fdfcd83e4a19"
|
|
492
|
-
]
|
|
493
|
-
},
|
|
494
|
-
"transaction_id": "00000000-0000-0000-0000-000000000000",
|
|
495
|
-
"metadata": {
|
|
496
|
-
"username": "auctane-next-day",
|
|
497
|
-
"password": "password!",
|
|
498
|
-
"meter_number": "8675309"
|
|
499
|
-
}
|
|
500
|
-
}
|
|
461
|
+
"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"}}
|
|
501
462
|
}
|
|
502
463
|
}
|
|
503
464
|
},
|
|
@@ -555,11 +516,7 @@
|
|
|
555
516
|
"examples": {
|
|
556
517
|
"Tracking": {
|
|
557
518
|
"summary": "Tracking",
|
|
558
|
-
"value": {
|
|
559
|
-
"content_types": [
|
|
560
|
-
"tracking"
|
|
561
|
-
]
|
|
562
|
-
}
|
|
519
|
+
"value": {"content_types":["tracking"]}
|
|
563
520
|
}
|
|
564
521
|
}
|
|
565
522
|
}
|
|
@@ -573,13 +530,13 @@
|
|
|
573
530
|
"tags": [
|
|
574
531
|
"Normalize Inbound Data"
|
|
575
532
|
],
|
|
576
|
-
"description": "This method returns normalized tracking information for one or more shipments based on data send by the carrier
|
|
533
|
+
"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",
|
|
577
534
|
"operationId": "Normalize Tracking Data",
|
|
578
535
|
"parameters": [
|
|
579
536
|
{
|
|
580
537
|
"name": "ShipStation-TransactionID",
|
|
581
538
|
"in": "header",
|
|
582
|
-
"description": "Unique transaction ID, use this transaction ID in your logs to correlate a
|
|
539
|
+
"description": "Unique transaction ID, use this transaction ID in your logs to correlate a\r\n request together.",
|
|
583
540
|
"schema": {
|
|
584
541
|
"type": "string",
|
|
585
542
|
"format": "uuid"
|
|
@@ -593,24 +550,7 @@
|
|
|
593
550
|
"schema": {
|
|
594
551
|
"$ref": "#/components/schemas/NormalizeTrackingDataRequest"
|
|
595
552
|
},
|
|
596
|
-
"example": {
|
|
597
|
-
"data": "{\"tracking_number\":\"12345678901234567890\",\"status\":11,\"timestamp\":\"2021-08-11T21:15:00Z\"}",
|
|
598
|
-
"headers": {
|
|
599
|
-
"content-type": [
|
|
600
|
-
"application/json"
|
|
601
|
-
],
|
|
602
|
-
"X-Signature": [
|
|
603
|
-
"v1:cedff7d0389299089e4c62c1042ce93059664d455ed0bfdf29cb959a861bda4b",
|
|
604
|
-
"v2:4b3157c730e498cb1126359fa020017e9e7c97b148f2d55da822fdfcd83e4a19"
|
|
605
|
-
]
|
|
606
|
-
},
|
|
607
|
-
"transaction_id": "00000000-0000-0000-0000-000000000000",
|
|
608
|
-
"metadata": {
|
|
609
|
-
"username": "auctane-next-day",
|
|
610
|
-
"password": "password!",
|
|
611
|
-
"meter_number": "8675309"
|
|
612
|
-
}
|
|
613
|
-
}
|
|
553
|
+
"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"}}
|
|
614
554
|
}
|
|
615
555
|
}
|
|
616
556
|
},
|
|
@@ -668,28 +608,7 @@
|
|
|
668
608
|
"examples": {
|
|
669
609
|
"Delivered": {
|
|
670
610
|
"summary": "Delivered",
|
|
671
|
-
"value": {
|
|
672
|
-
"tracking_info": [
|
|
673
|
-
{
|
|
674
|
-
"carrier_name": "UPS",
|
|
675
|
-
"tracking_number": "12345678901234567890",
|
|
676
|
-
"standardized_status_code": "DE",
|
|
677
|
-
"carrier_status_code": "11",
|
|
678
|
-
"carrier_status_description": "Delivered",
|
|
679
|
-
"estimated_delivery_datetime": "2021-08-11T00:00:00",
|
|
680
|
-
"actual_delivery_datetime": "2021-08-11T21:15:00Z",
|
|
681
|
-
"service": {
|
|
682
|
-
"code": "03",
|
|
683
|
-
"name": "UPS® Ground"
|
|
684
|
-
},
|
|
685
|
-
"packaging": "package",
|
|
686
|
-
"package_count": 1,
|
|
687
|
-
"shipping_problem": false,
|
|
688
|
-
"carrierEnum": 0
|
|
689
|
-
}
|
|
690
|
-
],
|
|
691
|
-
"update_method": "append"
|
|
692
|
-
}
|
|
611
|
+
"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"}
|
|
693
612
|
}
|
|
694
613
|
}
|
|
695
614
|
}
|
|
@@ -1034,7 +953,7 @@
|
|
|
1034
953
|
"tags": [
|
|
1035
954
|
"Rating"
|
|
1036
955
|
],
|
|
1037
|
-
"description": "This method calculates the shipping costs for a shipment, or multiple permutations of a shipment, to allow
|
|
956
|
+
"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.",
|
|
1038
957
|
"operationId": "Get Rates",
|
|
1039
958
|
"parameters": [
|
|
1040
959
|
{
|
|
@@ -1204,13 +1123,13 @@
|
|
|
1204
1123
|
"tags": [
|
|
1205
1124
|
"Tracking"
|
|
1206
1125
|
],
|
|
1207
|
-
"description": "This method returns tracking information for a shipment, including each of the tracking events that
|
|
1126
|
+
"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.",
|
|
1208
1127
|
"operationId": "Track a Shipment",
|
|
1209
1128
|
"parameters": [
|
|
1210
1129
|
{
|
|
1211
1130
|
"name": "ShipStation-TransactionID",
|
|
1212
1131
|
"in": "header",
|
|
1213
|
-
"description": "Unique transaction ID, use this transaction ID in your logs to correlate a
|
|
1132
|
+
"description": "Unique transaction ID, use this transaction ID in your logs to correlate a\r\n request together.",
|
|
1214
1133
|
"schema": {
|
|
1215
1134
|
"type": "string",
|
|
1216
1135
|
"format": "uuid"
|
|
@@ -1224,32 +1143,7 @@
|
|
|
1224
1143
|
"schema": {
|
|
1225
1144
|
"$ref": "#/components/schemas/TrackingRequest"
|
|
1226
1145
|
},
|
|
1227
|
-
"example": {
|
|
1228
|
-
"tracking_number": "12345678901234567890",
|
|
1229
|
-
"is_return": false,
|
|
1230
|
-
"identifiers": [
|
|
1231
|
-
{
|
|
1232
|
-
"type": "tracking_number",
|
|
1233
|
-
"value": "12345678901234567890"
|
|
1234
|
-
},
|
|
1235
|
-
{
|
|
1236
|
-
"type": "carrier_transaction_id",
|
|
1237
|
-
"value": "US-12345678901234567890-1"
|
|
1238
|
-
}
|
|
1239
|
-
],
|
|
1240
|
-
"attributes": [
|
|
1241
|
-
{
|
|
1242
|
-
"type": "marketplace_order_token",
|
|
1243
|
-
"value": "123456abcdefg7890"
|
|
1244
|
-
}
|
|
1245
|
-
],
|
|
1246
|
-
"transaction_id": "00000000-0000-0000-0000-000000000000",
|
|
1247
|
-
"metadata": {
|
|
1248
|
-
"username": "auctane-next-day",
|
|
1249
|
-
"password": "password!",
|
|
1250
|
-
"meter_number": "8675309"
|
|
1251
|
-
}
|
|
1252
|
-
}
|
|
1146
|
+
"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"}}
|
|
1253
1147
|
}
|
|
1254
1148
|
}
|
|
1255
1149
|
},
|
|
@@ -1307,211 +1201,15 @@
|
|
|
1307
1201
|
"examples": {
|
|
1308
1202
|
"Delivered with Event History": {
|
|
1309
1203
|
"summary": "Delivered with Event History",
|
|
1310
|
-
"value": {
|
|
1311
|
-
"tracking_info": {
|
|
1312
|
-
"carrier_name": "UPS",
|
|
1313
|
-
"tracking_number": "12345678901234567890",
|
|
1314
|
-
"standardized_status_code": "DE",
|
|
1315
|
-
"carrier_status_code": "11",
|
|
1316
|
-
"carrier_status_description": "Delivered",
|
|
1317
|
-
"estimated_delivery_datetime": "2021-08-11T00:00:00",
|
|
1318
|
-
"actual_delivery_datetime": "2021-08-11T21:15:00Z",
|
|
1319
|
-
"weight": 500.0,
|
|
1320
|
-
"dimensions": {
|
|
1321
|
-
"length": 10.0,
|
|
1322
|
-
"width": 10.0,
|
|
1323
|
-
"height": 10.0
|
|
1324
|
-
},
|
|
1325
|
-
"service": {
|
|
1326
|
-
"code": "03",
|
|
1327
|
-
"name": "UPS® Ground"
|
|
1328
|
-
},
|
|
1329
|
-
"packaging": "package",
|
|
1330
|
-
"package_count": 1,
|
|
1331
|
-
"events": [
|
|
1332
|
-
{
|
|
1333
|
-
"event_datetime": "2021-08-08T21:15:00Z",
|
|
1334
|
-
"event_datetime_local": "2021-08-08T16:15:00",
|
|
1335
|
-
"event_code": "3",
|
|
1336
|
-
"description": "Order Processed: Ready for UPS",
|
|
1337
|
-
"city": "Austin",
|
|
1338
|
-
"state": "TX",
|
|
1339
|
-
"postal_code": "78756",
|
|
1340
|
-
"country": "US",
|
|
1341
|
-
"geo": {
|
|
1342
|
-
"lat": 30.31,
|
|
1343
|
-
"long": -97.74
|
|
1344
|
-
},
|
|
1345
|
-
"status_code": "AC"
|
|
1346
|
-
},
|
|
1347
|
-
{
|
|
1348
|
-
"event_datetime": "2021-08-09T09:15:00Z",
|
|
1349
|
-
"event_datetime_local": "2021-08-09T04:15:00",
|
|
1350
|
-
"event_code": "5",
|
|
1351
|
-
"description": "In Transit",
|
|
1352
|
-
"city": "Austin",
|
|
1353
|
-
"state": "TX",
|
|
1354
|
-
"postal_code": "78756",
|
|
1355
|
-
"country": "US",
|
|
1356
|
-
"geo": {
|
|
1357
|
-
"lat": 30.2,
|
|
1358
|
-
"long": -97.66
|
|
1359
|
-
},
|
|
1360
|
-
"status_code": "IT"
|
|
1361
|
-
},
|
|
1362
|
-
{
|
|
1363
|
-
"event_datetime": "2021-08-10T09:15:00Z",
|
|
1364
|
-
"event_datetime_local": "2021-08-10T04:15:00",
|
|
1365
|
-
"event_code": "6",
|
|
1366
|
-
"description": "On Vehicle for Delivery",
|
|
1367
|
-
"city": "Los Angeles",
|
|
1368
|
-
"state": "CA",
|
|
1369
|
-
"postal_code": "90045",
|
|
1370
|
-
"country": "US",
|
|
1371
|
-
"geo": {
|
|
1372
|
-
"lat": 33.95,
|
|
1373
|
-
"long": -118.38
|
|
1374
|
-
},
|
|
1375
|
-
"status_code": "IT"
|
|
1376
|
-
},
|
|
1377
|
-
{
|
|
1378
|
-
"event_datetime": "2021-08-10T15:15:00Z",
|
|
1379
|
-
"event_datetime_local": "2021-08-10T10:15:00",
|
|
1380
|
-
"event_code": "21",
|
|
1381
|
-
"description": "On Vehicle for Delivery Today",
|
|
1382
|
-
"city": "Los Angeles",
|
|
1383
|
-
"state": "CA",
|
|
1384
|
-
"postal_code": "90045",
|
|
1385
|
-
"country": "US",
|
|
1386
|
-
"geo": {
|
|
1387
|
-
"lat": 33.95,
|
|
1388
|
-
"long": -118.38
|
|
1389
|
-
},
|
|
1390
|
-
"status_code": "IT"
|
|
1391
|
-
},
|
|
1392
|
-
{
|
|
1393
|
-
"event_datetime": "2021-08-10T21:15:00Z",
|
|
1394
|
-
"event_datetime_local": "2021-08-10T16:15:00",
|
|
1395
|
-
"event_code": "22",
|
|
1396
|
-
"description": "First Attempt Made",
|
|
1397
|
-
"city": "El Segundo",
|
|
1398
|
-
"state": "CA",
|
|
1399
|
-
"postal_code": "90245",
|
|
1400
|
-
"country": "US",
|
|
1401
|
-
"geo": {
|
|
1402
|
-
"lat": 33.95,
|
|
1403
|
-
"long": -118.38
|
|
1404
|
-
},
|
|
1405
|
-
"status_code": "AT"
|
|
1406
|
-
},
|
|
1407
|
-
{
|
|
1408
|
-
"event_datetime": "2021-08-11T03:15:00Z",
|
|
1409
|
-
"event_datetime_local": "2021-08-10T22:15:00",
|
|
1410
|
-
"event_code": "21",
|
|
1411
|
-
"description": "On Vehicle for Delivery Today",
|
|
1412
|
-
"city": "Los Angeles",
|
|
1413
|
-
"state": "CA",
|
|
1414
|
-
"postal_code": "90045",
|
|
1415
|
-
"country": "US",
|
|
1416
|
-
"geo": {
|
|
1417
|
-
"lat": 33.95,
|
|
1418
|
-
"long": -118.38
|
|
1419
|
-
},
|
|
1420
|
-
"status_code": "IT"
|
|
1421
|
-
},
|
|
1422
|
-
{
|
|
1423
|
-
"event_datetime": "2021-08-11T21:15:00Z",
|
|
1424
|
-
"event_datetime_local": "2021-08-11T16:15:00",
|
|
1425
|
-
"event_code": "11",
|
|
1426
|
-
"description": "Delivered",
|
|
1427
|
-
"city": "El Segundo",
|
|
1428
|
-
"state": "CA",
|
|
1429
|
-
"postal_code": "90245",
|
|
1430
|
-
"country": "US",
|
|
1431
|
-
"geo": {
|
|
1432
|
-
"lat": 33.95,
|
|
1433
|
-
"long": -118.38
|
|
1434
|
-
},
|
|
1435
|
-
"status_code": "DE"
|
|
1436
|
-
}
|
|
1437
|
-
],
|
|
1438
|
-
"shipping_problem": false,
|
|
1439
|
-
"carrierEnum": 0
|
|
1440
|
-
}
|
|
1441
|
-
}
|
|
1204
|
+
"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","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":"3","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":"5","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":"6","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":"21","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":"22","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":"21","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":"11","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}}
|
|
1442
1205
|
},
|
|
1443
1206
|
"Not Yet in System": {
|
|
1444
1207
|
"summary": "Not Yet in System",
|
|
1445
|
-
"value": {
|
|
1446
|
-
"tracking_info": {
|
|
1447
|
-
"carrier_name": "UPS",
|
|
1448
|
-
"tracking_number": "12345678901234567890",
|
|
1449
|
-
"standardized_status_code": "NY",
|
|
1450
|
-
"events": [],
|
|
1451
|
-
"shipping_problem": false,
|
|
1452
|
-
"carrierEnum": 0
|
|
1453
|
-
}
|
|
1454
|
-
}
|
|
1208
|
+
"value": {"tracking_info":{"carrier_name":"UPS","tracking_number":"12345678901234567890","standardized_status_code":"NY","events":[],"shipping_problem":false,"carrierEnum":0}}
|
|
1455
1209
|
},
|
|
1456
1210
|
"Fatal Exception": {
|
|
1457
1211
|
"summary": "Fatal Exception",
|
|
1458
|
-
"value": {
|
|
1459
|
-
"tracking_info": {
|
|
1460
|
-
"carrier_name": "UPS",
|
|
1461
|
-
"tracking_number": "12345678901234567890",
|
|
1462
|
-
"standardized_status_code": "EX",
|
|
1463
|
-
"carrier_status_code": "64",
|
|
1464
|
-
"carrier_status_description": "Delivery Refused",
|
|
1465
|
-
"estimated_delivery_datetime": "2021-08-11T00:00:00",
|
|
1466
|
-
"actual_delivery_datetime": "2021-08-11T21:15:00Z",
|
|
1467
|
-
"weight": 500.0,
|
|
1468
|
-
"dimensions": {
|
|
1469
|
-
"length": 10.0,
|
|
1470
|
-
"width": 10.0,
|
|
1471
|
-
"height": 10.0
|
|
1472
|
-
},
|
|
1473
|
-
"service": {
|
|
1474
|
-
"code": "03",
|
|
1475
|
-
"name": "UPS® Ground"
|
|
1476
|
-
},
|
|
1477
|
-
"packaging": "package",
|
|
1478
|
-
"package_count": 1,
|
|
1479
|
-
"events": [
|
|
1480
|
-
{
|
|
1481
|
-
"event_datetime": "2021-08-09T09:15:00Z",
|
|
1482
|
-
"event_datetime_local": "2021-08-09T04:15:00",
|
|
1483
|
-
"event_code": "5",
|
|
1484
|
-
"description": "In Transit",
|
|
1485
|
-
"city": "Austin",
|
|
1486
|
-
"state": "TX",
|
|
1487
|
-
"postal_code": "78756",
|
|
1488
|
-
"country": "US",
|
|
1489
|
-
"geo": {
|
|
1490
|
-
"lat": 30.2,
|
|
1491
|
-
"long": -97.66
|
|
1492
|
-
},
|
|
1493
|
-
"status_code": "IT"
|
|
1494
|
-
},
|
|
1495
|
-
{
|
|
1496
|
-
"event_datetime": "2021-08-11T21:15:00Z",
|
|
1497
|
-
"event_datetime_local": "2021-08-11T16:15:00",
|
|
1498
|
-
"event_code": "59",
|
|
1499
|
-
"description": "Delivery Refused",
|
|
1500
|
-
"city": "El Segundo",
|
|
1501
|
-
"state": "CA",
|
|
1502
|
-
"postal_code": "90245",
|
|
1503
|
-
"country": "US",
|
|
1504
|
-
"geo": {
|
|
1505
|
-
"lat": 33.95,
|
|
1506
|
-
"long": -118.38
|
|
1507
|
-
},
|
|
1508
|
-
"status_code": "EX"
|
|
1509
|
-
}
|
|
1510
|
-
],
|
|
1511
|
-
"shipping_problem": false,
|
|
1512
|
-
"carrierEnum": 0
|
|
1513
|
-
}
|
|
1514
|
-
}
|
|
1212
|
+
"value": {"tracking_info":{"carrier_name":"UPS","tracking_number":"12345678901234567890","standardized_status_code":"EX","carrier_status_code":"64","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":"5","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":"59","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}}
|
|
1515
1213
|
}
|
|
1516
1214
|
}
|
|
1517
1215
|
}
|
|
@@ -1647,8 +1345,8 @@
|
|
|
1647
1345
|
"nullable": true
|
|
1648
1346
|
}
|
|
1649
1347
|
},
|
|
1650
|
-
"additionalProperties": {},
|
|
1651
|
-
"description": "This is a schemaless object. It is for open ended customizations unique to particular carriers. The documented
|
|
1348
|
+
"additionalProperties": { },
|
|
1349
|
+
"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."
|
|
1652
1350
|
},
|
|
1653
1351
|
"Authorization": {
|
|
1654
1352
|
"type": "object",
|
|
@@ -1692,7 +1390,7 @@
|
|
|
1692
1390
|
},
|
|
1693
1391
|
"metadata": {
|
|
1694
1392
|
"type": "object",
|
|
1695
|
-
"additionalProperties": {},
|
|
1393
|
+
"additionalProperties": { },
|
|
1696
1394
|
"nullable": true
|
|
1697
1395
|
}
|
|
1698
1396
|
},
|
|
@@ -1703,8 +1401,8 @@
|
|
|
1703
1401
|
"properties": {
|
|
1704
1402
|
"metadata": {
|
|
1705
1403
|
"type": "object",
|
|
1706
|
-
"additionalProperties": {},
|
|
1707
|
-
"description": "This is an optional schemaless object that you may return with a successful response. Anything returned
|
|
1404
|
+
"additionalProperties": { },
|
|
1405
|
+
"description": "This is an optional schemaless object that you may return with a successful response. Anything returned\r\nunder this key will be included in all future requests. For example, you may store additional static\r\nproperties about the end user or their connection to the carrier. The maximum storage size\r\nfor data under this key is 4KB.",
|
|
1708
1406
|
"nullable": true
|
|
1709
1407
|
}
|
|
1710
1408
|
},
|
|
@@ -1784,12 +1482,12 @@
|
|
|
1784
1482
|
},
|
|
1785
1483
|
"account_number": {
|
|
1786
1484
|
"type": "string",
|
|
1787
|
-
"description": "Specified if there is an account number associated with the Bill To Party, and the Bill To Party is
|
|
1485
|
+
"description": "Specified if there is an account number associated with the Bill To Party, and the Bill To Party is\r\nnot the account holder.",
|
|
1788
1486
|
"nullable": true
|
|
1789
1487
|
}
|
|
1790
1488
|
},
|
|
1791
1489
|
"additionalProperties": false,
|
|
1792
|
-
"description": "Bill to is a generic object used for billing a part of the shipment, duties, taxes, or otherwise to a party
|
|
1490
|
+
"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.AddressBase since address fields are often required when associating billing to\r\nanother account. Additionally, this allows for a contact to be specified, if necessary."
|
|
1793
1491
|
},
|
|
1794
1492
|
"BillToParty": {
|
|
1795
1493
|
"enum": [
|
|
@@ -1864,7 +1562,7 @@
|
|
|
1864
1562
|
"properties": {
|
|
1865
1563
|
"message": {
|
|
1866
1564
|
"type": "string",
|
|
1867
|
-
"description": "User facing text describing the cancellation process. May be left
|
|
1565
|
+
"description": "User facing text describing the cancellation process. May be left \r\nblank to present a default value.",
|
|
1868
1566
|
"nullable": true
|
|
1869
1567
|
},
|
|
1870
1568
|
"errors": {
|
|
@@ -1872,7 +1570,7 @@
|
|
|
1872
1570
|
"items": {
|
|
1873
1571
|
"type": "string"
|
|
1874
1572
|
},
|
|
1875
|
-
"description": "A list of errors preventing this notification from being cancelled
|
|
1573
|
+
"description": "A list of errors preventing this notification from being cancelled.\r\nIf no errors are returned the void is considered successful. If \r\nany errors are returned the void is considered failed.",
|
|
1876
1574
|
"nullable": true
|
|
1877
1575
|
}
|
|
1878
1576
|
},
|
|
@@ -1977,12 +1675,12 @@
|
|
|
1977
1675
|
"properties": {
|
|
1978
1676
|
"service_code": {
|
|
1979
1677
|
"type": "string",
|
|
1980
|
-
"description": "The service code uniquely identifies a shipping service that you offer. Which service codes can be passed
|
|
1678
|
+
"description": "The service code uniquely identifies a shipping service that you offer. Which service codes can be passed\r\nto you will be configured in ShipEngine.",
|
|
1981
1679
|
"nullable": true
|
|
1982
1680
|
},
|
|
1983
1681
|
"ship_datetime": {
|
|
1984
1682
|
"type": "string",
|
|
1985
|
-
"description": "When the package is expected to ship. Not guaranteed to be in the future. Formatted per the
|
|
1683
|
+
"description": "When the package is expected to ship. Not guaranteed to be in the future. Formatted per the\r\nhttps://tools.ietf.org/html/rfc3339 spec. Will always be in UTC.",
|
|
1986
1684
|
"format": "date-time"
|
|
1987
1685
|
},
|
|
1988
1686
|
"confirmation": {
|
|
@@ -1996,7 +1694,7 @@
|
|
|
1996
1694
|
},
|
|
1997
1695
|
"is_test_label": {
|
|
1998
1696
|
"type": "boolean",
|
|
1999
|
-
"description": "Whether this request is the result of a test. When true the request must not result in any financial charges
|
|
1697
|
+
"description": "Whether this request is the result of a test. When true the request must not result in any financial charges\r\nto any party. If the field is absent it should be interpreted as false"
|
|
2000
1698
|
},
|
|
2001
1699
|
"advanced_options": {
|
|
2002
1700
|
"$ref": "#/components/schemas/AdvancedOptions"
|
|
@@ -2006,7 +1704,7 @@
|
|
|
2006
1704
|
},
|
|
2007
1705
|
"is_return_label": {
|
|
2008
1706
|
"type": "boolean",
|
|
2009
|
-
"description": "Whether this label is to return a previously shipped package. If the field is absent it should be
|
|
1707
|
+
"description": "Whether this label is to return a previously shipped package. If the field is absent it should be\r\ninterpreted as false."
|
|
2010
1708
|
},
|
|
2011
1709
|
"packages": {
|
|
2012
1710
|
"type": "array",
|
|
@@ -2033,7 +1731,7 @@
|
|
|
2033
1731
|
},
|
|
2034
1732
|
"next_day": {
|
|
2035
1733
|
"type": "boolean",
|
|
2036
|
-
"description": "Whether this shipment is expected to use a next day service class. If the field is absent it
|
|
1734
|
+
"description": "Whether this shipment is expected to use a next day service class. If the field is absent it\r\nshould be interpreted as false",
|
|
2037
1735
|
"nullable": true
|
|
2038
1736
|
},
|
|
2039
1737
|
"international": {
|
|
@@ -2057,7 +1755,7 @@
|
|
|
2057
1755
|
"items": {
|
|
2058
1756
|
"$ref": "#/components/schemas/Document"
|
|
2059
1757
|
},
|
|
2060
|
-
"description": "Attachments that may be required to be sent to the carrier, in particular customs documents or
|
|
1758
|
+
"description": "Attachments that may be required to be sent to the carrier, in particular customs documents or\r\ncommercial invoices.",
|
|
2061
1759
|
"nullable": true
|
|
2062
1760
|
},
|
|
2063
1761
|
"bill_shipping_to": {
|
|
@@ -2092,7 +1790,7 @@
|
|
|
2092
1790
|
"items": {
|
|
2093
1791
|
"$ref": "#/components/schemas/Document"
|
|
2094
1792
|
},
|
|
2095
|
-
"description": "Shipment level documents should be used if documents are not returned at a package level
|
|
1793
|
+
"description": "Shipment level documents should be used if documents are not returned at a package level.\r\nDO NOT include duplicate documents intentionally, a document should only be added to the CreateLabelResponse\r\nor to the LabelPackage.",
|
|
2096
1794
|
"nullable": true
|
|
2097
1795
|
},
|
|
2098
1796
|
"packages": {
|
|
@@ -2100,7 +1798,7 @@
|
|
|
2100
1798
|
"items": {
|
|
2101
1799
|
"$ref": "#/components/schemas/LabelPackage"
|
|
2102
1800
|
},
|
|
2103
|
-
"description": "Package information returned for each requested package in the shipment
|
|
1801
|
+
"description": "Package information returned for each requested package in the shipment.\r\nNote: The order of the packages returned should match the order of the packages in the request.",
|
|
2104
1802
|
"nullable": true
|
|
2105
1803
|
},
|
|
2106
1804
|
"billing_line_items": {
|
|
@@ -2113,7 +1811,7 @@
|
|
|
2113
1811
|
},
|
|
2114
1812
|
"tracking_number": {
|
|
2115
1813
|
"type": "string",
|
|
2116
|
-
"description": "The carrier specific tracking identifier for this shipment; if a multi-package shipment, this should be
|
|
1814
|
+
"description": "The carrier specific tracking identifier for this shipment; if a multi-package shipment, this should be\r\nthe lead tracking number.",
|
|
2117
1815
|
"nullable": true
|
|
2118
1816
|
},
|
|
2119
1817
|
"trackable": {
|
|
@@ -2131,7 +1829,7 @@
|
|
|
2131
1829
|
},
|
|
2132
1830
|
"estimated_delivery_datetime": {
|
|
2133
1831
|
"type": "string",
|
|
2134
|
-
"description": "The estimated date and time for when the shipment will be delivered. Formatted per the
|
|
1832
|
+
"description": "The estimated date and time for when the shipment will be delivered. Formatted per the\r\nhttps://tools.ietf.org/html/rfc3339 spec.",
|
|
2135
1833
|
"format": "date-time",
|
|
2136
1834
|
"nullable": true,
|
|
2137
1835
|
"example": "1937-01-01T12:00:27.87+00:20"
|
|
@@ -2183,13 +1881,13 @@
|
|
|
2183
1881
|
},
|
|
2184
1882
|
"open_datetime": {
|
|
2185
1883
|
"type": "string",
|
|
2186
|
-
"description": "The date and time of the earliest shipment being manifested. Formatted per the
|
|
1884
|
+
"description": "The date and time of the earliest shipment being manifested. Formatted per the\r\nhttps://tools.ietf.org/html/rfc3339 spec",
|
|
2187
1885
|
"format": "date-time",
|
|
2188
1886
|
"nullable": true
|
|
2189
1887
|
},
|
|
2190
1888
|
"close_datetime": {
|
|
2191
1889
|
"type": "string",
|
|
2192
|
-
"description": "The date and time of the last shipment being manifested. Formatted per the
|
|
1890
|
+
"description": "The date and time of the last shipment being manifested. Formatted per the\r\nhttps://tools.ietf.org/html/rfc3339 spec",
|
|
2193
1891
|
"format": "date-time"
|
|
2194
1892
|
},
|
|
2195
1893
|
"advanced_options": {
|
|
@@ -2250,8 +1948,8 @@
|
|
|
2250
1948
|
},
|
|
2251
1949
|
"manifest_identifiers": {
|
|
2252
1950
|
"type": "object",
|
|
2253
|
-
"additionalProperties": {},
|
|
2254
|
-
"description": "Carrier information needed to get created manifests
|
|
1951
|
+
"additionalProperties": { },
|
|
1952
|
+
"description": "Carrier information needed to get created manifests.\r\nOnly needed if carrier requires two calls to create and get manifests.",
|
|
2255
1953
|
"nullable": true
|
|
2256
1954
|
}
|
|
2257
1955
|
},
|
|
@@ -2317,7 +2015,7 @@
|
|
|
2317
2015
|
}
|
|
2318
2016
|
},
|
|
2319
2017
|
"additionalProperties": false,
|
|
2320
|
-
"description": "The credentials that will be used to access this carrier's services. These will be sent as a
|
|
2018
|
+
"description": "The credentials that will be used to access this carrier's services. These will be sent as a\r\nBasic Authorization header with all future requests."
|
|
2321
2019
|
},
|
|
2322
2020
|
"Customs": {
|
|
2323
2021
|
"type": "object",
|
|
@@ -2347,7 +2045,7 @@
|
|
|
2347
2045
|
"description": "Alpha-3 currency code complying with ISO 4217."
|
|
2348
2046
|
}
|
|
2349
2047
|
},
|
|
2350
|
-
"description": "Indicates how much the buyer paid for shipping, if any. This amount may be different than the shipping cost billed
|
|
2048
|
+
"description": "Indicates how much the buyer paid for shipping, if any. This amount may be different than the shipping cost billed\r\nto the shipper.",
|
|
2351
2049
|
"nullable": true
|
|
2352
2050
|
},
|
|
2353
2051
|
"duties_paid": {
|
|
@@ -2361,7 +2059,7 @@
|
|
|
2361
2059
|
"description": "Alpha-3 currency code complying with ISO 4217."
|
|
2362
2060
|
}
|
|
2363
2061
|
},
|
|
2364
|
-
"description": "The amount of duties paid by the shipper, if any. This is generally only necessary for DDP
|
|
2062
|
+
"description": "The amount of duties paid by the shipper, if any. This is generally only necessary for DDP\r\n(bill_duties_to_sender) shipments.",
|
|
2365
2063
|
"nullable": true
|
|
2366
2064
|
},
|
|
2367
2065
|
"bill_duties_to": {
|
|
@@ -2385,7 +2083,7 @@
|
|
|
2385
2083
|
"properties": {
|
|
2386
2084
|
"description": {
|
|
2387
2085
|
"type": "string",
|
|
2388
|
-
"description": "A user specified free form string describing this customs item. If the field is absent the user has
|
|
2086
|
+
"description": "A user specified free form string describing this customs item. If the field is absent the user has\r\nnot specified a description.",
|
|
2389
2087
|
"nullable": true
|
|
2390
2088
|
},
|
|
2391
2089
|
"quantity": {
|
|
@@ -2404,7 +2102,7 @@
|
|
|
2404
2102
|
"description": "Alpha-3 currency code complying with ISO 4217."
|
|
2405
2103
|
}
|
|
2406
2104
|
},
|
|
2407
|
-
"description": "The user specified declared customs value of this customs item. Generally, this value needs to be greater
|
|
2105
|
+
"description": "The user specified declared customs value of this customs item. Generally, this value needs to be greater\r\nthan 0 to be accepted through customs.",
|
|
2408
2106
|
"nullable": true
|
|
2409
2107
|
},
|
|
2410
2108
|
"country_of_origin": {
|
|
@@ -2536,7 +2234,7 @@
|
|
|
2536
2234
|
"items": {
|
|
2537
2235
|
"$ref": "#/components/schemas/DocumentType"
|
|
2538
2236
|
},
|
|
2539
|
-
"description": "The document type(s) being returned. In most cases this is just a single document type; however, some
|
|
2237
|
+
"description": "The document type(s) being returned. In most cases this is just a single document type; however, some\r\ncarriers return multiple document types in the same PDF or ZPL.",
|
|
2540
2238
|
"nullable": true
|
|
2541
2239
|
},
|
|
2542
2240
|
"data": {
|
|
@@ -2576,7 +2274,7 @@
|
|
|
2576
2274
|
"items": {
|
|
2577
2275
|
"$ref": "#/components/schemas/DetailedError"
|
|
2578
2276
|
},
|
|
2579
|
-
"description": "A list of detailed errors that occurred for this request
|
|
2277
|
+
"description": "A list of detailed errors that occurred for this request.\r\nRemove all personally identifiable information.",
|
|
2580
2278
|
"nullable": true
|
|
2581
2279
|
}
|
|
2582
2280
|
},
|
|
@@ -2604,7 +2302,7 @@
|
|
|
2604
2302
|
}
|
|
2605
2303
|
],
|
|
2606
2304
|
"additionalProperties": false,
|
|
2607
|
-
"description": "This provides any additional forms that go with the label. For example, customs forms. Exactly one of the
|
|
2305
|
+
"description": "This provides any additional forms that go with the label. For example, customs forms. Exactly one of the\r\nkeys should be populated. Set href is the forms should be downloaded separately. Set data if the\r\nforms are returned directly in the response."
|
|
2608
2306
|
},
|
|
2609
2307
|
"FulfillmentPlanDetails": {
|
|
2610
2308
|
"type": "object",
|
|
@@ -2681,11 +2379,11 @@
|
|
|
2681
2379
|
},
|
|
2682
2380
|
"return_immediately": {
|
|
2683
2381
|
"type": "boolean",
|
|
2684
|
-
"description": "Return immediately after checking status
|
|
2382
|
+
"description": "Return immediately after checking status.\r\nFull manifest creation can take up to 2 minutes.\r\nSet to false to allow additional checks before timeout."
|
|
2685
2383
|
},
|
|
2686
2384
|
"manifest_identifiers": {
|
|
2687
2385
|
"type": "object",
|
|
2688
|
-
"additionalProperties": {},
|
|
2386
|
+
"additionalProperties": { },
|
|
2689
2387
|
"description": "Carrier specific data needed to retrieve Manifest results",
|
|
2690
2388
|
"nullable": true
|
|
2691
2389
|
}
|
|
@@ -2703,12 +2401,12 @@
|
|
|
2703
2401
|
"properties": {
|
|
2704
2402
|
"service_code": {
|
|
2705
2403
|
"type": "string",
|
|
2706
|
-
"description": "If present, a specific service is being requested, and that is the only rate required to fulfill the request
|
|
2404
|
+
"description": "If present, a specific service is being requested, and that is the only rate required to fulfill the request.\r\nThe service code uniquely identifies a shipping service that you offer.\r\nWhich service codes can be passed to you will be configured in ShipEngine.",
|
|
2707
2405
|
"nullable": true
|
|
2708
2406
|
},
|
|
2709
2407
|
"ship_datetime": {
|
|
2710
2408
|
"type": "string",
|
|
2711
|
-
"description": "When the package is expected to ship. Not guaranteed to be in the future. Formatted per the
|
|
2409
|
+
"description": "When the package is expected to ship. Not guaranteed to be in the future. Formatted per the\r\nhttps://tools.ietf.org/html/rfc3339 spec. Will always be in UTC.",
|
|
2712
2410
|
"format": "date-time"
|
|
2713
2411
|
},
|
|
2714
2412
|
"confirmation": {
|
|
@@ -2722,7 +2420,7 @@
|
|
|
2722
2420
|
},
|
|
2723
2421
|
"is_return_label": {
|
|
2724
2422
|
"type": "boolean",
|
|
2725
|
-
"description": "Whether this label is to return a previously shipped package. If the field is absent it should be
|
|
2423
|
+
"description": "Whether this label is to return a previously shipped package. If the field is absent it should be\r\ninterpreted as false."
|
|
2726
2424
|
},
|
|
2727
2425
|
"packages": {
|
|
2728
2426
|
"type": "array",
|
|
@@ -2751,7 +2449,7 @@
|
|
|
2751
2449
|
},
|
|
2752
2450
|
"next_day": {
|
|
2753
2451
|
"type": "boolean",
|
|
2754
|
-
"description": "Whether this shipment is expected to use a next day service class. If the field is absent it
|
|
2452
|
+
"description": "Whether this shipment is expected to use a next day service class. If the field is absent it\r\nshould be interpreted as false",
|
|
2755
2453
|
"nullable": true
|
|
2756
2454
|
},
|
|
2757
2455
|
"fulfillment_plan_details": {
|
|
@@ -2780,7 +2478,7 @@
|
|
|
2780
2478
|
"items": {
|
|
2781
2479
|
"$ref": "#/components/schemas/Rate"
|
|
2782
2480
|
},
|
|
2783
|
-
"description": "A list of rates for shipping services. If you use service codes there may be exactly one rate returned for
|
|
2481
|
+
"description": "A list of rates for shipping services. If you use service codes there may be exactly one rate returned for\r\nthe requested service. If you use service codes there may be more than one rate to provide additional\r\noptions. If you don't use service codes there may be one or more rates. If you don't provide real time\r\nrates you should return a single hard coded zero value rate.",
|
|
2784
2482
|
"nullable": true
|
|
2785
2483
|
}
|
|
2786
2484
|
},
|
|
@@ -2797,7 +2495,12 @@
|
|
|
2797
2495
|
"properties": {
|
|
2798
2496
|
"service_code": {
|
|
2799
2497
|
"type": "string",
|
|
2800
|
-
"description": "The service code uniquely identifies a shipping service that you offer. Which service codes can be passed
|
|
2498
|
+
"description": "The service code uniquely identifies a shipping service that you offer. Which service codes can be passed\r\nto you will be configured in ShipEngine.",
|
|
2499
|
+
"nullable": true
|
|
2500
|
+
},
|
|
2501
|
+
"city_locality": {
|
|
2502
|
+
"type": "string",
|
|
2503
|
+
"description": "The city locality to use when searching for available relay points.",
|
|
2801
2504
|
"nullable": true
|
|
2802
2505
|
},
|
|
2803
2506
|
"postal_code": {
|
|
@@ -2878,7 +2581,7 @@
|
|
|
2878
2581
|
}
|
|
2879
2582
|
],
|
|
2880
2583
|
"additionalProperties": false,
|
|
2881
|
-
"description": "This object provides the requested label that was just created. Exactly one of the keys should be populated
|
|
2584
|
+
"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."
|
|
2882
2585
|
},
|
|
2883
2586
|
"LabelLayouts": {
|
|
2884
2587
|
"enum": [
|
|
@@ -2926,7 +2629,7 @@
|
|
|
2926
2629
|
"items": {
|
|
2927
2630
|
"$ref": "#/components/schemas/Document"
|
|
2928
2631
|
},
|
|
2929
|
-
"description": "Documents associated with this package, if documents are not specified at a package level, use the
|
|
2632
|
+
"description": "Documents associated with this package, if documents are not specified at a package level, use the\r\nDocuments array at the CarrierApi.Common.Response.CreateLabelResponse level.",
|
|
2930
2633
|
"nullable": true
|
|
2931
2634
|
}
|
|
2932
2635
|
},
|
|
@@ -3309,7 +3012,7 @@
|
|
|
3309
3012
|
"properties": {
|
|
3310
3013
|
"service_code": {
|
|
3311
3014
|
"type": "string",
|
|
3312
|
-
"description": "The service code uniquely identifies a shipping service that you offer. Which service codes can be passed
|
|
3015
|
+
"description": "The service code uniquely identifies a shipping service that you offer. Which service codes can be passed\r\nto you will be configured in ShipEngine.\r\nIf this field is missing, the rate will be discarded.",
|
|
3313
3016
|
"nullable": true
|
|
3314
3017
|
},
|
|
3315
3018
|
"package_type": {
|
|
@@ -3319,13 +3022,13 @@
|
|
|
3319
3022
|
},
|
|
3320
3023
|
"ship_datetime": {
|
|
3321
3024
|
"type": "string",
|
|
3322
|
-
"description": "When the package should ship for this rate to be valid. ** This differs from previous documentation
|
|
3025
|
+
"description": "When the package should ship for this rate to be valid. ** This differs from previous documentation\r\nFormatted per the https://tools.ietf.org/html/rfc3339 spec. Must be in UTC.",
|
|
3323
3026
|
"format": "date-time",
|
|
3324
3027
|
"nullable": true
|
|
3325
3028
|
},
|
|
3326
3029
|
"estimated_delivery_datetime": {
|
|
3327
3030
|
"type": "string",
|
|
3328
|
-
"description": "When the package(s) in this shipment are expected to arrive at their destination
|
|
3031
|
+
"description": "When the package(s) in this shipment are expected to arrive at their destination.\r\nFormatted per https://tools.ietf.org/html/rfc3339. Must be in UTC.",
|
|
3329
3032
|
"format": "date-time",
|
|
3330
3033
|
"nullable": true
|
|
3331
3034
|
},
|
|
@@ -3350,7 +3053,7 @@
|
|
|
3350
3053
|
"items": {
|
|
3351
3054
|
"type": "string"
|
|
3352
3055
|
},
|
|
3353
|
-
"description": "A list of discrete warnings. This should be data the end user needs to be aware of
|
|
3056
|
+
"description": "A list of discrete warnings. This should be data the end user needs to be aware of.\r\nThese should not stop the request from succeeding, or a label being purchased with this rate.",
|
|
3354
3057
|
"nullable": true
|
|
3355
3058
|
},
|
|
3356
3059
|
"negotiated_rate": {
|
|
@@ -3400,8 +3103,8 @@
|
|
|
3400
3103
|
"properties": {
|
|
3401
3104
|
"registration_info": {
|
|
3402
3105
|
"type": "object",
|
|
3403
|
-
"additionalProperties": {},
|
|
3404
|
-
"description": "This is a schemaless object used to contain any required fields for validating a users credentials or
|
|
3106
|
+
"additionalProperties": { },
|
|
3107
|
+
"description": "This is a schemaless object used to contain any required fields for validating a users credentials or\r\nregistering a new account. These fields will be custom to the shipping service provider, and will be\r\ncollected via a form and sent over as key value pairs.",
|
|
3405
3108
|
"nullable": true
|
|
3406
3109
|
}
|
|
3407
3110
|
},
|
|
@@ -3416,8 +3119,8 @@
|
|
|
3416
3119
|
},
|
|
3417
3120
|
"metadata": {
|
|
3418
3121
|
"type": "object",
|
|
3419
|
-
"additionalProperties": {},
|
|
3420
|
-
"description": "This is an optional schemaless object that should be returned for persisted auth and user information
|
|
3122
|
+
"additionalProperties": { },
|
|
3123
|
+
"description": "This is an optional schemaless object that should be returned for persisted auth and user information.\r\nAnything returned under this key will be included in all future requests. For example, you may store\r\nadditional static properties about the end user or their connection to the carrier. The maximum\r\nstorage size for data under this key is 4KB.",
|
|
3421
3124
|
"nullable": true
|
|
3422
3125
|
}
|
|
3423
3126
|
},
|
|
@@ -3526,7 +3229,7 @@
|
|
|
3526
3229
|
"properties": {
|
|
3527
3230
|
"rma_number": {
|
|
3528
3231
|
"type": "string",
|
|
3529
|
-
"description": "A return merchandise authorization (RMA) is an associated number assigned to process the return, this
|
|
3232
|
+
"description": "A return merchandise authorization (RMA) is an associated number assigned to process the return, this\r\nnumber is often printed on the label, and used when the original shipper processes the inbound return.",
|
|
3530
3233
|
"nullable": true
|
|
3531
3234
|
}
|
|
3532
3235
|
},
|
|
@@ -3646,7 +3349,7 @@
|
|
|
3646
3349
|
}
|
|
3647
3350
|
],
|
|
3648
3351
|
"additionalProperties": false,
|
|
3649
|
-
"description": "The address that should be displayed as the return address, only if the shipping provider supports
|
|
3352
|
+
"description": "The address that should be displayed as the return address, only if the shipping provider supports\r\nthis functionality."
|
|
3650
3353
|
},
|
|
3651
3354
|
"ShipmentIdentifier": {
|
|
3652
3355
|
"type": "object",
|
|
@@ -3736,7 +3439,7 @@
|
|
|
3736
3439
|
}
|
|
3737
3440
|
},
|
|
3738
3441
|
"additionalProperties": false,
|
|
3739
|
-
"description": "This model represents a shipment that has already been shipped, and contains
|
|
3442
|
+
"description": "This model represents a shipment that has already been shipped, and contains\r\nsummary information about the shipment."
|
|
3740
3443
|
},
|
|
3741
3444
|
"ShipTo": {
|
|
3742
3445
|
"type": "object",
|
|
@@ -3787,7 +3490,7 @@
|
|
|
3787
3490
|
"NY"
|
|
3788
3491
|
],
|
|
3789
3492
|
"type": "string",
|
|
3790
|
-
"description": "This represents the ShipEngine supported status codes for a shipment
|
|
3493
|
+
"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"
|
|
3791
3494
|
},
|
|
3792
3495
|
"TaxIdentificationType": {
|
|
3793
3496
|
"enum": [
|
|
@@ -4131,7 +3834,7 @@
|
|
|
4131
3834
|
}
|
|
4132
3835
|
},
|
|
4133
3836
|
"additionalProperties": false,
|
|
4134
|
-
"description": "This model represents the payload that is sent to validate inbound data requests (e.g. webhooks) and determine
|
|
3837
|
+
"description": "This model represents the payload that is sent to validate inbound data requests (e.g. webhooks) and determine\r\nwhat type information is contained in the data."
|
|
4135
3838
|
},
|
|
4136
3839
|
"ValidateInboundDataResponse": {
|
|
4137
3840
|
"type": "object",
|
|
@@ -4231,7 +3934,7 @@
|
|
|
4231
3934
|
"items": {
|
|
4232
3935
|
"type": "string"
|
|
4233
3936
|
},
|
|
4234
|
-
"description": "A list of errors preventing this label from being voided. If no errors are returned the void is considered
|
|
3937
|
+
"description": "A list of errors preventing this label from being voided. If no errors are returned the void is considered\r\nsuccessful. If any errors are returned the void is considered failed.",
|
|
4235
3938
|
"nullable": true
|
|
4236
3939
|
},
|
|
4237
3940
|
"billing_line_items": {
|
|
@@ -4314,7 +4017,7 @@
|
|
|
4314
4017
|
},
|
|
4315
4018
|
{
|
|
4316
4019
|
"name": "Shipment Notifications",
|
|
4317
|
-
"description": "Shipment notifications were designed to notify a Pickup/Drop Off (PUDO) provider that a parcel is enroute to their location.
|
|
4020
|
+
"description": "Shipment notifications were designed to notify a Pickup/Drop Off (PUDO) provider that a parcel is enroute to their location. These endpoints allow for carrier agnostic PUDO locations to expect and plan for the arrival of the parcel."
|
|
4318
4021
|
},
|
|
4319
4022
|
{
|
|
4320
4023
|
"name": "Normalize Inbound Data",
|