@shipengine/connect-carrier-api 2.5.1 → 2.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/app/carrier-app-definition.d.ts +2 -7
- package/lib/app/carrier-app.js +0 -5
- package/lib/app/carrier-app.js.map +1 -1
- package/lib/app/constants.d.ts +0 -1
- package/lib/app/constants.js +0 -1
- package/lib/app/constants.js.map +1 -1
- package/lib/app/internal/carrier-specification.d.ts +1 -1
- package/lib/app/internal/carrier-specification.js +1 -1
- package/lib/app/internal/carrier-specification.js.map +1 -1
- package/lib/app/internal/metadata.js +0 -3
- package/lib/app/internal/metadata.js.map +1 -1
- package/lib/app/metadata/carrier-app-metadata.d.ts +4 -4
- package/lib/app/metadata/carrier.d.ts +18 -1
- package/lib/app/metadata/carrier.js +0 -1
- package/lib/app/metadata/carrier.js.map +1 -1
- package/lib/app/metadata/package-type.d.ts +8 -0
- package/lib/app/metadata/package-type.js.map +1 -1
- package/lib/app/metadata/shipping-service.d.ts +14 -0
- package/lib/app/metadata/shipping-service.js.map +1 -1
- package/lib/models/labels/index.d.ts +0 -3
- package/lib/models/labels/index.js +0 -3
- package/lib/models/labels/index.js.map +1 -1
- package/lib/requests/create-label-request.d.ts +2 -3
- package/lib/requests/create-label-request.js.map +1 -1
- package/lib/requests/index.d.ts +0 -1
- package/lib/requests/index.js +0 -1
- package/lib/requests/index.js.map +1 -1
- package/lib/responses/index.d.ts +0 -1
- package/lib/responses/index.js +0 -1
- package/lib/responses/index.js.map +1 -1
- package/package.json +1 -1
- package/spec.json +215 -803
- package/src/app/carrier-app-definition.ts +0 -9
- package/src/app/carrier-app.ts +0 -7
- package/src/app/constants.ts +0 -1
- package/src/app/internal/carrier-specification.ts +2 -2
- package/src/app/internal/metadata.ts +0 -4
- package/src/app/metadata/carrier-app-metadata.ts +4 -4
- package/src/app/metadata/carrier.ts +18 -2
- package/src/app/metadata/package-type.ts +8 -0
- package/src/app/metadata/shipping-service.ts +14 -0
- package/src/models/labels/index.ts +0 -3
- package/src/requests/create-label-request.ts +1 -4
- package/src/requests/index.ts +0 -1
- package/src/responses/index.ts +0 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/lib/models/labels/label-details.d.ts +0 -36
- package/lib/models/labels/label-details.js +0 -8
- package/lib/models/labels/label-details.js.map +0 -1
- package/lib/models/labels/label-payment-result.d.ts +0 -10
- package/lib/models/labels/label-payment-result.js +0 -17
- package/lib/models/labels/label-payment-result.js.map +0 -1
- package/lib/models/labels/label-request.d.ts +0 -35
- package/lib/models/labels/label-request.js +0 -3
- package/lib/models/labels/label-request.js.map +0 -1
- package/lib/requests/create-label-payment-request.d.ts +0 -6
- package/lib/requests/create-label-payment-request.js +0 -9
- package/lib/requests/create-label-payment-request.js.map +0 -1
- package/lib/responses/create-label-payment-response.d.ts +0 -9
- package/lib/responses/create-label-payment-response.js +0 -16
- package/lib/responses/create-label-payment-response.js.map +0 -1
- package/src/models/labels/label-details.ts +0 -55
- package/src/models/labels/label-payment-result.ts +0 -17
- package/src/models/labels/label-request.ts +0 -53
- package/src/requests/create-label-payment-request.ts +0 -7
- package/src/responses/create-label-payment-response.ts +0 -14
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.16.
|
|
6
|
+
"version": "1.16.2"
|
|
7
7
|
},
|
|
8
8
|
"paths": {
|
|
9
9
|
"/Register": {
|
|
@@ -31,44 +31,11 @@
|
|
|
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
|
},
|
|
50
38
|
"responses": {
|
|
51
|
-
"200": {
|
|
52
|
-
"description": "The Register method returns the result of the carrier's authentication process. This information will be included in the metadata of every subsequent request to your application.",
|
|
53
|
-
"content": {
|
|
54
|
-
"application/json": {
|
|
55
|
-
"schema": {
|
|
56
|
-
"$ref": "#/components/schemas/RegisterResponse"
|
|
57
|
-
},
|
|
58
|
-
"example": {
|
|
59
|
-
"credentials": {
|
|
60
|
-
"username": "auctane-next-day",
|
|
61
|
-
"password": "password!"
|
|
62
|
-
},
|
|
63
|
-
"metadata": {
|
|
64
|
-
"username": "auctane-next-day",
|
|
65
|
-
"password": "password!",
|
|
66
|
-
"meter_number": "8675309"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
39
|
"400": {
|
|
73
40
|
"description": "Can be an internal or external error indicating an issue with the request that must be corrected.",
|
|
74
41
|
"content": {
|
|
@@ -89,9 +56,6 @@
|
|
|
89
56
|
}
|
|
90
57
|
}
|
|
91
58
|
},
|
|
92
|
-
"404": {
|
|
93
|
-
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
94
|
-
},
|
|
95
59
|
"500": {
|
|
96
60
|
"description": "An unexpected error occurred in the carrier app.",
|
|
97
61
|
"content": {
|
|
@@ -111,6 +75,20 @@
|
|
|
111
75
|
}
|
|
112
76
|
}
|
|
113
77
|
}
|
|
78
|
+
},
|
|
79
|
+
"404": {
|
|
80
|
+
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
81
|
+
},
|
|
82
|
+
"200": {
|
|
83
|
+
"description": "The Register method returns the result of the carrier's authentication process. This information will be included in the metadata of every subsequent request to your application.",
|
|
84
|
+
"content": {
|
|
85
|
+
"application/json": {
|
|
86
|
+
"schema": {
|
|
87
|
+
"$ref": "#/components/schemas/RegisterResponse"
|
|
88
|
+
},
|
|
89
|
+
"example": {"credentials":{"username":"auctane-next-day","password":"password!"},"metadata":{"username":"auctane-next-day","password":"password!","meter_number":"8675309"}}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
114
92
|
}
|
|
115
93
|
}
|
|
116
94
|
}
|
|
@@ -144,16 +122,6 @@
|
|
|
144
122
|
}
|
|
145
123
|
},
|
|
146
124
|
"responses": {
|
|
147
|
-
"200": {
|
|
148
|
-
"description": "This object model represents the response from a successful create label request.",
|
|
149
|
-
"content": {
|
|
150
|
-
"application/json": {
|
|
151
|
-
"schema": {
|
|
152
|
-
"$ref": "#/components/schemas/CreateLabelResponse"
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
125
|
"400": {
|
|
158
126
|
"description": "Can be an internal or external error indicating an issue with the request that must be corrected.",
|
|
159
127
|
"content": {
|
|
@@ -174,9 +142,6 @@
|
|
|
174
142
|
}
|
|
175
143
|
}
|
|
176
144
|
},
|
|
177
|
-
"404": {
|
|
178
|
-
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
179
|
-
},
|
|
180
145
|
"500": {
|
|
181
146
|
"description": "An unexpected error occurred in the carrier app.",
|
|
182
147
|
"content": {
|
|
@@ -196,88 +161,16 @@
|
|
|
196
161
|
}
|
|
197
162
|
}
|
|
198
163
|
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
},
|
|
203
|
-
"/CreateLabelPayment": {
|
|
204
|
-
"post": {
|
|
205
|
-
"tags": [
|
|
206
|
-
"Labels"
|
|
207
|
-
],
|
|
208
|
-
"description": "This method creates a label payment before creating the label itself. This may be necessary in situations\r\nwhere labels must be paid for prior to creating them. Accepts an array of label payments, which may contain\r\none or many items, depending on whether we are purchasing a single label or processing a batch. In that\r\nscenario this method will be called once before making all the individual `CreateLabel` calls for the batch.\r\nIn order for this method to be called the carrier must have the `RequiresLabelPayment` flag.",
|
|
209
|
-
"operationId": "Create Label Payment",
|
|
210
|
-
"parameters": [
|
|
211
|
-
{
|
|
212
|
-
"name": "ShipStation-TransactionID",
|
|
213
|
-
"in": "header",
|
|
214
|
-
"description": "The transaction ID uniquely represents this request.",
|
|
215
|
-
"schema": {
|
|
216
|
-
"type": "string",
|
|
217
|
-
"format": "uuid"
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
],
|
|
221
|
-
"requestBody": {
|
|
222
|
-
"description": "An object containing information about the labels that require payments.",
|
|
223
|
-
"content": {
|
|
224
|
-
"application/json": {
|
|
225
|
-
"schema": {
|
|
226
|
-
"$ref": "#/components/schemas/CreateLabelPaymentRequest"
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
"responses": {
|
|
232
|
-
"200": {
|
|
233
|
-
"description": "This object model represents the response from a successful create label payment request.",
|
|
234
|
-
"content": {
|
|
235
|
-
"application/json": {
|
|
236
|
-
"schema": {
|
|
237
|
-
"$ref": "#/components/schemas/CreateLabelPaymentResponse"
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
},
|
|
242
|
-
"400": {
|
|
243
|
-
"description": "Can be an internal or external error indicating an issue with the request that must be corrected.",
|
|
244
|
-
"content": {
|
|
245
|
-
"application/json": {
|
|
246
|
-
"schema": {
|
|
247
|
-
"$ref": "#/components/schemas/BadRequestResponse"
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
},
|
|
252
|
-
"401": {
|
|
253
|
-
"description": "Use this to indicate an authentication or authorization error.",
|
|
254
|
-
"content": {
|
|
255
|
-
"application/json": {
|
|
256
|
-
"schema": {
|
|
257
|
-
"$ref": "#/components/schemas/UnauthorizedResponse"
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
164
|
},
|
|
262
165
|
"404": {
|
|
263
166
|
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
264
167
|
},
|
|
265
|
-
"
|
|
266
|
-
"description": "
|
|
267
|
-
"content": {
|
|
268
|
-
"application/json": {
|
|
269
|
-
"schema": {
|
|
270
|
-
"$ref": "#/components/schemas/InternalServerErrorResponse"
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
"520": {
|
|
276
|
-
"description": "Use this when an error is the result of calling an external service, such as an API. This indicates that the error came from a downstream service rather than directly in your app.",
|
|
168
|
+
"200": {
|
|
169
|
+
"description": "This object model represents the response from a successful create label request.",
|
|
277
170
|
"content": {
|
|
278
171
|
"application/json": {
|
|
279
172
|
"schema": {
|
|
280
|
-
"$ref": "#/components/schemas/
|
|
173
|
+
"$ref": "#/components/schemas/CreateLabelResponse"
|
|
281
174
|
}
|
|
282
175
|
}
|
|
283
176
|
}
|
|
@@ -314,16 +207,6 @@
|
|
|
314
207
|
}
|
|
315
208
|
},
|
|
316
209
|
"responses": {
|
|
317
|
-
"200": {
|
|
318
|
-
"description": "This object model represents the response from a successful void labels request.",
|
|
319
|
-
"content": {
|
|
320
|
-
"application/json": {
|
|
321
|
-
"schema": {
|
|
322
|
-
"$ref": "#/components/schemas/VoidLabelsResponse"
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
},
|
|
327
210
|
"400": {
|
|
328
211
|
"description": "Can be an internal or external error indicating an issue with the request that must be corrected.",
|
|
329
212
|
"content": {
|
|
@@ -344,9 +227,6 @@
|
|
|
344
227
|
}
|
|
345
228
|
}
|
|
346
229
|
},
|
|
347
|
-
"404": {
|
|
348
|
-
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
349
|
-
},
|
|
350
230
|
"500": {
|
|
351
231
|
"description": "An unexpected error occurred in the carrier app.",
|
|
352
232
|
"content": {
|
|
@@ -366,6 +246,19 @@
|
|
|
366
246
|
}
|
|
367
247
|
}
|
|
368
248
|
}
|
|
249
|
+
},
|
|
250
|
+
"404": {
|
|
251
|
+
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
252
|
+
},
|
|
253
|
+
"200": {
|
|
254
|
+
"description": "This object model represents the response from a successful void labels request.",
|
|
255
|
+
"content": {
|
|
256
|
+
"application/json": {
|
|
257
|
+
"schema": {
|
|
258
|
+
"$ref": "#/components/schemas/VoidLabelsResponse"
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
369
262
|
}
|
|
370
263
|
}
|
|
371
264
|
}
|
|
@@ -399,16 +292,6 @@
|
|
|
399
292
|
}
|
|
400
293
|
},
|
|
401
294
|
"responses": {
|
|
402
|
-
"200": {
|
|
403
|
-
"description": "This object model represents the response from a successful create manifest request.",
|
|
404
|
-
"content": {
|
|
405
|
-
"application/json": {
|
|
406
|
-
"schema": {
|
|
407
|
-
"$ref": "#/components/schemas/CreateManifestResponse"
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
},
|
|
412
295
|
"400": {
|
|
413
296
|
"description": "Can be an internal or external error indicating an issue with the request that must be corrected.",
|
|
414
297
|
"content": {
|
|
@@ -429,9 +312,6 @@
|
|
|
429
312
|
}
|
|
430
313
|
}
|
|
431
314
|
},
|
|
432
|
-
"404": {
|
|
433
|
-
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
434
|
-
},
|
|
435
315
|
"500": {
|
|
436
316
|
"description": "An unexpected error occurred in the carrier app.",
|
|
437
317
|
"content": {
|
|
@@ -451,6 +331,19 @@
|
|
|
451
331
|
}
|
|
452
332
|
}
|
|
453
333
|
}
|
|
334
|
+
},
|
|
335
|
+
"404": {
|
|
336
|
+
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
337
|
+
},
|
|
338
|
+
"200": {
|
|
339
|
+
"description": "This object model represents the response from a successful create manifest request.",
|
|
340
|
+
"content": {
|
|
341
|
+
"application/json": {
|
|
342
|
+
"schema": {
|
|
343
|
+
"$ref": "#/components/schemas/CreateManifestResponse"
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
454
347
|
}
|
|
455
348
|
}
|
|
456
349
|
}
|
|
@@ -484,16 +377,6 @@
|
|
|
484
377
|
}
|
|
485
378
|
},
|
|
486
379
|
"responses": {
|
|
487
|
-
"200": {
|
|
488
|
-
"description": "This object model represents the response from a successful create manifest request.",
|
|
489
|
-
"content": {
|
|
490
|
-
"application/json": {
|
|
491
|
-
"schema": {
|
|
492
|
-
"$ref": "#/components/schemas/CreateManifestResponse"
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
},
|
|
497
380
|
"400": {
|
|
498
381
|
"description": "Can be an internal or external error indicating an issue with the request that must be corrected.",
|
|
499
382
|
"content": {
|
|
@@ -514,9 +397,6 @@
|
|
|
514
397
|
}
|
|
515
398
|
}
|
|
516
399
|
},
|
|
517
|
-
"404": {
|
|
518
|
-
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
519
|
-
},
|
|
520
400
|
"500": {
|
|
521
401
|
"description": "An unexpected error occurred in the carrier app.",
|
|
522
402
|
"content": {
|
|
@@ -536,6 +416,19 @@
|
|
|
536
416
|
}
|
|
537
417
|
}
|
|
538
418
|
}
|
|
419
|
+
},
|
|
420
|
+
"404": {
|
|
421
|
+
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
422
|
+
},
|
|
423
|
+
"200": {
|
|
424
|
+
"description": "This object model represents the response from a successful create manifest request.",
|
|
425
|
+
"content": {
|
|
426
|
+
"application/json": {
|
|
427
|
+
"schema": {
|
|
428
|
+
"$ref": "#/components/schemas/CreateManifestResponse"
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
}
|
|
539
432
|
}
|
|
540
433
|
}
|
|
541
434
|
}
|
|
@@ -565,48 +458,11 @@
|
|
|
565
458
|
"schema": {
|
|
566
459
|
"$ref": "#/components/schemas/ValidateInboundDataRequest"
|
|
567
460
|
},
|
|
568
|
-
"example": {
|
|
569
|
-
"data": "{\"tracking_number\":\"12345678901234567890\",\"status\":11,\"timestamp\":\"2021-08-11T21:15:00Z\"}",
|
|
570
|
-
"headers": {
|
|
571
|
-
"content-type": [
|
|
572
|
-
"application/json"
|
|
573
|
-
],
|
|
574
|
-
"X-Signature": [
|
|
575
|
-
"v1:cedff7d0389299089e4c62c1042ce93059664d455ed0bfdf29cb959a861bda4b",
|
|
576
|
-
"v2:4b3157c730e498cb1126359fa020017e9e7c97b148f2d55da822fdfcd83e4a19"
|
|
577
|
-
]
|
|
578
|
-
},
|
|
579
|
-
"transaction_id": "00000000-0000-0000-0000-000000000000",
|
|
580
|
-
"metadata": {
|
|
581
|
-
"username": "auctane-next-day",
|
|
582
|
-
"password": "password!",
|
|
583
|
-
"meter_number": "8675309"
|
|
584
|
-
}
|
|
585
|
-
}
|
|
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"}}
|
|
586
462
|
}
|
|
587
463
|
}
|
|
588
464
|
},
|
|
589
465
|
"responses": {
|
|
590
|
-
"200": {
|
|
591
|
-
"description": "An object with a list of information contained in the inbound data.",
|
|
592
|
-
"content": {
|
|
593
|
-
"application/json": {
|
|
594
|
-
"schema": {
|
|
595
|
-
"$ref": "#/components/schemas/ValidateInboundDataResponse"
|
|
596
|
-
},
|
|
597
|
-
"examples": {
|
|
598
|
-
"Tracking": {
|
|
599
|
-
"summary": "Tracking",
|
|
600
|
-
"value": {
|
|
601
|
-
"content_types": [
|
|
602
|
-
"tracking"
|
|
603
|
-
]
|
|
604
|
-
}
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
},
|
|
610
466
|
"400": {
|
|
611
467
|
"description": "Can be an internal or external error indicating an issue with the request that must be corrected.",
|
|
612
468
|
"content": {
|
|
@@ -627,9 +483,6 @@
|
|
|
627
483
|
}
|
|
628
484
|
}
|
|
629
485
|
},
|
|
630
|
-
"404": {
|
|
631
|
-
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
632
|
-
},
|
|
633
486
|
"500": {
|
|
634
487
|
"description": "An unexpected error occurred in the carrier app.",
|
|
635
488
|
"content": {
|
|
@@ -649,6 +502,25 @@
|
|
|
649
502
|
}
|
|
650
503
|
}
|
|
651
504
|
}
|
|
505
|
+
},
|
|
506
|
+
"404": {
|
|
507
|
+
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
508
|
+
},
|
|
509
|
+
"200": {
|
|
510
|
+
"description": "An object with a list of information contained in the inbound data.",
|
|
511
|
+
"content": {
|
|
512
|
+
"application/json": {
|
|
513
|
+
"schema": {
|
|
514
|
+
"$ref": "#/components/schemas/ValidateInboundDataResponse"
|
|
515
|
+
},
|
|
516
|
+
"examples": {
|
|
517
|
+
"Tracking": {
|
|
518
|
+
"summary": "Tracking",
|
|
519
|
+
"value": {"content_types":["tracking"]}
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
}
|
|
652
524
|
}
|
|
653
525
|
}
|
|
654
526
|
}
|
|
@@ -678,65 +550,11 @@
|
|
|
678
550
|
"schema": {
|
|
679
551
|
"$ref": "#/components/schemas/NormalizeTrackingDataRequest"
|
|
680
552
|
},
|
|
681
|
-
"example": {
|
|
682
|
-
"data": "{\"tracking_number\":\"12345678901234567890\",\"status\":11,\"timestamp\":\"2021-08-11T21:15:00Z\"}",
|
|
683
|
-
"headers": {
|
|
684
|
-
"content-type": [
|
|
685
|
-
"application/json"
|
|
686
|
-
],
|
|
687
|
-
"X-Signature": [
|
|
688
|
-
"v1:cedff7d0389299089e4c62c1042ce93059664d455ed0bfdf29cb959a861bda4b",
|
|
689
|
-
"v2:4b3157c730e498cb1126359fa020017e9e7c97b148f2d55da822fdfcd83e4a19"
|
|
690
|
-
]
|
|
691
|
-
},
|
|
692
|
-
"transaction_id": "00000000-0000-0000-0000-000000000000",
|
|
693
|
-
"metadata": {
|
|
694
|
-
"username": "auctane-next-day",
|
|
695
|
-
"password": "password!",
|
|
696
|
-
"meter_number": "8675309"
|
|
697
|
-
}
|
|
698
|
-
}
|
|
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"}}
|
|
699
554
|
}
|
|
700
555
|
}
|
|
701
556
|
},
|
|
702
557
|
"responses": {
|
|
703
|
-
"200": {
|
|
704
|
-
"description": "An object with tracking information for one or more shipments.",
|
|
705
|
-
"content": {
|
|
706
|
-
"application/json": {
|
|
707
|
-
"schema": {
|
|
708
|
-
"$ref": "#/components/schemas/NormalizeTrackingDataResponse"
|
|
709
|
-
},
|
|
710
|
-
"examples": {
|
|
711
|
-
"Delivered": {
|
|
712
|
-
"summary": "Delivered",
|
|
713
|
-
"value": {
|
|
714
|
-
"tracking_info": [
|
|
715
|
-
{
|
|
716
|
-
"carrier_name": "UPS",
|
|
717
|
-
"tracking_number": "12345678901234567890",
|
|
718
|
-
"standardized_status_code": "DE",
|
|
719
|
-
"carrier_status_code": "11",
|
|
720
|
-
"carrier_status_description": "Delivered",
|
|
721
|
-
"estimated_delivery_datetime": "2021-08-11T00:00:00",
|
|
722
|
-
"actual_delivery_datetime": "2021-08-11T21:15:00Z",
|
|
723
|
-
"service": {
|
|
724
|
-
"code": "03",
|
|
725
|
-
"name": "UPS® Ground"
|
|
726
|
-
},
|
|
727
|
-
"packaging": "package",
|
|
728
|
-
"package_count": 1,
|
|
729
|
-
"shipping_problem": false,
|
|
730
|
-
"carrierEnum": 0
|
|
731
|
-
}
|
|
732
|
-
],
|
|
733
|
-
"update_method": "append"
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
},
|
|
740
558
|
"400": {
|
|
741
559
|
"description": "Can be an internal or external error indicating an issue with the request that must be corrected.",
|
|
742
560
|
"content": {
|
|
@@ -757,9 +575,6 @@
|
|
|
757
575
|
}
|
|
758
576
|
}
|
|
759
577
|
},
|
|
760
|
-
"404": {
|
|
761
|
-
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
762
|
-
},
|
|
763
578
|
"500": {
|
|
764
579
|
"description": "An unexpected error occurred in the carrier app.",
|
|
765
580
|
"content": {
|
|
@@ -779,6 +594,25 @@
|
|
|
779
594
|
}
|
|
780
595
|
}
|
|
781
596
|
}
|
|
597
|
+
},
|
|
598
|
+
"404": {
|
|
599
|
+
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
600
|
+
},
|
|
601
|
+
"200": {
|
|
602
|
+
"description": "An object with tracking information for one or more shipments.",
|
|
603
|
+
"content": {
|
|
604
|
+
"application/json": {
|
|
605
|
+
"schema": {
|
|
606
|
+
"$ref": "#/components/schemas/NormalizeTrackingDataResponse"
|
|
607
|
+
},
|
|
608
|
+
"examples": {
|
|
609
|
+
"Delivered": {
|
|
610
|
+
"summary": "Delivered",
|
|
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"}
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
}
|
|
782
616
|
}
|
|
783
617
|
}
|
|
784
618
|
}
|
|
@@ -809,16 +643,6 @@
|
|
|
809
643
|
}
|
|
810
644
|
},
|
|
811
645
|
"responses": {
|
|
812
|
-
"200": {
|
|
813
|
-
"description": "This object model represents the response from a successful create notification request.",
|
|
814
|
-
"content": {
|
|
815
|
-
"application/json": {
|
|
816
|
-
"schema": {
|
|
817
|
-
"$ref": "#/components/schemas/CreateNotificationResponse"
|
|
818
|
-
}
|
|
819
|
-
}
|
|
820
|
-
}
|
|
821
|
-
},
|
|
822
646
|
"400": {
|
|
823
647
|
"description": "Can be an internal or external error indicating an issue with the request that must be corrected.",
|
|
824
648
|
"content": {
|
|
@@ -839,9 +663,6 @@
|
|
|
839
663
|
}
|
|
840
664
|
}
|
|
841
665
|
},
|
|
842
|
-
"404": {
|
|
843
|
-
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
844
|
-
},
|
|
845
666
|
"500": {
|
|
846
667
|
"description": "An unexpected error occurred in the carrier app.",
|
|
847
668
|
"content": {
|
|
@@ -861,6 +682,19 @@
|
|
|
861
682
|
}
|
|
862
683
|
}
|
|
863
684
|
}
|
|
685
|
+
},
|
|
686
|
+
"404": {
|
|
687
|
+
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
688
|
+
},
|
|
689
|
+
"200": {
|
|
690
|
+
"description": "This object model represents the response from a successful create notification request.",
|
|
691
|
+
"content": {
|
|
692
|
+
"application/json": {
|
|
693
|
+
"schema": {
|
|
694
|
+
"$ref": "#/components/schemas/CreateNotificationResponse"
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
}
|
|
864
698
|
}
|
|
865
699
|
}
|
|
866
700
|
}
|
|
@@ -891,16 +725,6 @@
|
|
|
891
725
|
}
|
|
892
726
|
},
|
|
893
727
|
"responses": {
|
|
894
|
-
"200": {
|
|
895
|
-
"description": "This object model represents the response from a successful cancel notification request.",
|
|
896
|
-
"content": {
|
|
897
|
-
"application/json": {
|
|
898
|
-
"schema": {
|
|
899
|
-
"$ref": "#/components/schemas/CancelNotificationResponse"
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
},
|
|
904
728
|
"400": {
|
|
905
729
|
"description": "Can be an internal or external error indicating an issue with the request that must be corrected.",
|
|
906
730
|
"content": {
|
|
@@ -921,9 +745,6 @@
|
|
|
921
745
|
}
|
|
922
746
|
}
|
|
923
747
|
},
|
|
924
|
-
"404": {
|
|
925
|
-
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
926
|
-
},
|
|
927
748
|
"500": {
|
|
928
749
|
"description": "An unexpected error occurred in the carrier app.",
|
|
929
750
|
"content": {
|
|
@@ -943,6 +764,19 @@
|
|
|
943
764
|
}
|
|
944
765
|
}
|
|
945
766
|
}
|
|
767
|
+
},
|
|
768
|
+
"404": {
|
|
769
|
+
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
770
|
+
},
|
|
771
|
+
"200": {
|
|
772
|
+
"description": "This object model represents the response from a successful cancel notification request.",
|
|
773
|
+
"content": {
|
|
774
|
+
"application/json": {
|
|
775
|
+
"schema": {
|
|
776
|
+
"$ref": "#/components/schemas/CancelNotificationResponse"
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
}
|
|
946
780
|
}
|
|
947
781
|
}
|
|
948
782
|
}
|
|
@@ -976,16 +810,6 @@
|
|
|
976
810
|
}
|
|
977
811
|
},
|
|
978
812
|
"responses": {
|
|
979
|
-
"200": {
|
|
980
|
-
"description": "This object model represents the response from a successful schedule pickup request.",
|
|
981
|
-
"content": {
|
|
982
|
-
"application/json": {
|
|
983
|
-
"schema": {
|
|
984
|
-
"$ref": "#/components/schemas/SchedulePickupResponse"
|
|
985
|
-
}
|
|
986
|
-
}
|
|
987
|
-
}
|
|
988
|
-
},
|
|
989
813
|
"400": {
|
|
990
814
|
"description": "Can be an internal or external error indicating an issue with the request that must be corrected.",
|
|
991
815
|
"content": {
|
|
@@ -1006,9 +830,6 @@
|
|
|
1006
830
|
}
|
|
1007
831
|
}
|
|
1008
832
|
},
|
|
1009
|
-
"404": {
|
|
1010
|
-
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
1011
|
-
},
|
|
1012
833
|
"500": {
|
|
1013
834
|
"description": "An unexpected error occurred in the carrier app.",
|
|
1014
835
|
"content": {
|
|
@@ -1028,6 +849,19 @@
|
|
|
1028
849
|
}
|
|
1029
850
|
}
|
|
1030
851
|
}
|
|
852
|
+
},
|
|
853
|
+
"404": {
|
|
854
|
+
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
855
|
+
},
|
|
856
|
+
"200": {
|
|
857
|
+
"description": "This object model represents the response from a successful schedule pickup request.",
|
|
858
|
+
"content": {
|
|
859
|
+
"application/json": {
|
|
860
|
+
"schema": {
|
|
861
|
+
"$ref": "#/components/schemas/SchedulePickupResponse"
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
}
|
|
1031
865
|
}
|
|
1032
866
|
}
|
|
1033
867
|
}
|
|
@@ -1058,16 +892,6 @@
|
|
|
1058
892
|
}
|
|
1059
893
|
},
|
|
1060
894
|
"responses": {
|
|
1061
|
-
"200": {
|
|
1062
|
-
"description": "This object model represents the response from a successful cancel pickup request.",
|
|
1063
|
-
"content": {
|
|
1064
|
-
"application/json": {
|
|
1065
|
-
"schema": {
|
|
1066
|
-
"$ref": "#/components/schemas/CancelPickupResponse"
|
|
1067
|
-
}
|
|
1068
|
-
}
|
|
1069
|
-
}
|
|
1070
|
-
},
|
|
1071
895
|
"400": {
|
|
1072
896
|
"description": "Can be an internal or external error indicating an issue with the request that must be corrected.",
|
|
1073
897
|
"content": {
|
|
@@ -1088,9 +912,6 @@
|
|
|
1088
912
|
}
|
|
1089
913
|
}
|
|
1090
914
|
},
|
|
1091
|
-
"404": {
|
|
1092
|
-
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
1093
|
-
},
|
|
1094
915
|
"500": {
|
|
1095
916
|
"description": "An unexpected error occurred in the carrier app.",
|
|
1096
917
|
"content": {
|
|
@@ -1110,6 +931,19 @@
|
|
|
1110
931
|
}
|
|
1111
932
|
}
|
|
1112
933
|
}
|
|
934
|
+
},
|
|
935
|
+
"404": {
|
|
936
|
+
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
937
|
+
},
|
|
938
|
+
"200": {
|
|
939
|
+
"description": "This object model represents the response from a successful cancel pickup request.",
|
|
940
|
+
"content": {
|
|
941
|
+
"application/json": {
|
|
942
|
+
"schema": {
|
|
943
|
+
"$ref": "#/components/schemas/CancelPickupResponse"
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
}
|
|
1113
947
|
}
|
|
1114
948
|
}
|
|
1115
949
|
}
|
|
@@ -1143,16 +977,6 @@
|
|
|
1143
977
|
}
|
|
1144
978
|
},
|
|
1145
979
|
"responses": {
|
|
1146
|
-
"200": {
|
|
1147
|
-
"description": "This object model represents the response from a successful get rates request.",
|
|
1148
|
-
"content": {
|
|
1149
|
-
"application/json": {
|
|
1150
|
-
"schema": {
|
|
1151
|
-
"$ref": "#/components/schemas/GetRatesResponse"
|
|
1152
|
-
}
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
1155
|
-
},
|
|
1156
980
|
"400": {
|
|
1157
981
|
"description": "Can be an internal or external error indicating an issue with the request that must be corrected.",
|
|
1158
982
|
"content": {
|
|
@@ -1173,9 +997,6 @@
|
|
|
1173
997
|
}
|
|
1174
998
|
}
|
|
1175
999
|
},
|
|
1176
|
-
"404": {
|
|
1177
|
-
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
1178
|
-
},
|
|
1179
1000
|
"500": {
|
|
1180
1001
|
"description": "An unexpected error occurred in the carrier app.",
|
|
1181
1002
|
"content": {
|
|
@@ -1195,6 +1016,19 @@
|
|
|
1195
1016
|
}
|
|
1196
1017
|
}
|
|
1197
1018
|
}
|
|
1019
|
+
},
|
|
1020
|
+
"404": {
|
|
1021
|
+
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
1022
|
+
},
|
|
1023
|
+
"200": {
|
|
1024
|
+
"description": "This object model represents the response from a successful get rates request.",
|
|
1025
|
+
"content": {
|
|
1026
|
+
"application/json": {
|
|
1027
|
+
"schema": {
|
|
1028
|
+
"$ref": "#/components/schemas/GetRatesResponse"
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1198
1032
|
}
|
|
1199
1033
|
}
|
|
1200
1034
|
}
|
|
@@ -1225,19 +1059,9 @@
|
|
|
1225
1059
|
"$ref": "#/components/schemas/GetRelayPointsRequest"
|
|
1226
1060
|
}
|
|
1227
1061
|
}
|
|
1228
|
-
}
|
|
1229
|
-
},
|
|
1230
|
-
"responses": {
|
|
1231
|
-
"200": {
|
|
1232
|
-
"description": "This object model represents the response from a successful get relay points request.",
|
|
1233
|
-
"content": {
|
|
1234
|
-
"application/json": {
|
|
1235
|
-
"schema": {
|
|
1236
|
-
"$ref": "#/components/schemas/GetRelayPointsResponse"
|
|
1237
|
-
}
|
|
1238
|
-
}
|
|
1239
|
-
}
|
|
1240
|
-
},
|
|
1062
|
+
}
|
|
1063
|
+
},
|
|
1064
|
+
"responses": {
|
|
1241
1065
|
"400": {
|
|
1242
1066
|
"description": "Can be an internal or external error indicating an issue with the request that must be corrected.",
|
|
1243
1067
|
"content": {
|
|
@@ -1258,9 +1082,6 @@
|
|
|
1258
1082
|
}
|
|
1259
1083
|
}
|
|
1260
1084
|
},
|
|
1261
|
-
"404": {
|
|
1262
|
-
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
1263
|
-
},
|
|
1264
1085
|
"500": {
|
|
1265
1086
|
"description": "An unexpected error occurred in the carrier app.",
|
|
1266
1087
|
"content": {
|
|
@@ -1280,6 +1101,19 @@
|
|
|
1280
1101
|
}
|
|
1281
1102
|
}
|
|
1282
1103
|
}
|
|
1104
|
+
},
|
|
1105
|
+
"404": {
|
|
1106
|
+
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
1107
|
+
},
|
|
1108
|
+
"200": {
|
|
1109
|
+
"description": "This object model represents the response from a successful get relay points request.",
|
|
1110
|
+
"content": {
|
|
1111
|
+
"application/json": {
|
|
1112
|
+
"schema": {
|
|
1113
|
+
"$ref": "#/components/schemas/GetRelayPointsResponse"
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1283
1117
|
}
|
|
1284
1118
|
}
|
|
1285
1119
|
}
|
|
@@ -1309,256 +1143,11 @@
|
|
|
1309
1143
|
"schema": {
|
|
1310
1144
|
"$ref": "#/components/schemas/TrackingRequest"
|
|
1311
1145
|
},
|
|
1312
|
-
"example": {
|
|
1313
|
-
"tracking_number": "12345678901234567890",
|
|
1314
|
-
"is_return": false,
|
|
1315
|
-
"identifiers": [
|
|
1316
|
-
{
|
|
1317
|
-
"type": "tracking_number",
|
|
1318
|
-
"value": "12345678901234567890"
|
|
1319
|
-
},
|
|
1320
|
-
{
|
|
1321
|
-
"type": "carrier_transaction_id",
|
|
1322
|
-
"value": "US-12345678901234567890-1"
|
|
1323
|
-
}
|
|
1324
|
-
],
|
|
1325
|
-
"attributes": [
|
|
1326
|
-
{
|
|
1327
|
-
"type": "marketplace_order_token",
|
|
1328
|
-
"value": "123456abcdefg7890"
|
|
1329
|
-
}
|
|
1330
|
-
],
|
|
1331
|
-
"transaction_id": "00000000-0000-0000-0000-000000000000",
|
|
1332
|
-
"metadata": {
|
|
1333
|
-
"username": "auctane-next-day",
|
|
1334
|
-
"password": "password!",
|
|
1335
|
-
"meter_number": "8675309"
|
|
1336
|
-
}
|
|
1337
|
-
}
|
|
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"}}
|
|
1338
1147
|
}
|
|
1339
1148
|
}
|
|
1340
1149
|
},
|
|
1341
1150
|
"responses": {
|
|
1342
|
-
"200": {
|
|
1343
|
-
"description": "An object with tracking information for the specified shipment.",
|
|
1344
|
-
"content": {
|
|
1345
|
-
"application/json": {
|
|
1346
|
-
"schema": {
|
|
1347
|
-
"$ref": "#/components/schemas/TrackingResponse"
|
|
1348
|
-
},
|
|
1349
|
-
"examples": {
|
|
1350
|
-
"Delivered with Event History": {
|
|
1351
|
-
"summary": "Delivered with Event History",
|
|
1352
|
-
"value": {
|
|
1353
|
-
"tracking_info": {
|
|
1354
|
-
"carrier_name": "UPS",
|
|
1355
|
-
"tracking_number": "12345678901234567890",
|
|
1356
|
-
"standardized_status_code": "DE",
|
|
1357
|
-
"carrier_status_code": "11",
|
|
1358
|
-
"carrier_status_description": "Delivered",
|
|
1359
|
-
"estimated_delivery_datetime": "2021-08-11T00:00:00",
|
|
1360
|
-
"actual_delivery_datetime": "2021-08-11T21:15:00Z",
|
|
1361
|
-
"weight": 500,
|
|
1362
|
-
"dimensions": {
|
|
1363
|
-
"length": 10,
|
|
1364
|
-
"width": 10,
|
|
1365
|
-
"height": 10
|
|
1366
|
-
},
|
|
1367
|
-
"service": {
|
|
1368
|
-
"code": "03",
|
|
1369
|
-
"name": "UPS® Ground"
|
|
1370
|
-
},
|
|
1371
|
-
"packaging": "package",
|
|
1372
|
-
"package_count": 1,
|
|
1373
|
-
"events": [
|
|
1374
|
-
{
|
|
1375
|
-
"event_datetime": "2021-08-08T21:15:00Z",
|
|
1376
|
-
"event_datetime_local": "2021-08-08T16:15:00",
|
|
1377
|
-
"event_code": "3",
|
|
1378
|
-
"description": "Order Processed: Ready for UPS",
|
|
1379
|
-
"city": "Austin",
|
|
1380
|
-
"state": "TX",
|
|
1381
|
-
"postal_code": "78756",
|
|
1382
|
-
"country": "US",
|
|
1383
|
-
"geo": {
|
|
1384
|
-
"lat": 30.31,
|
|
1385
|
-
"long": -97.74
|
|
1386
|
-
},
|
|
1387
|
-
"status_code": "AC"
|
|
1388
|
-
},
|
|
1389
|
-
{
|
|
1390
|
-
"event_datetime": "2021-08-09T09:15:00Z",
|
|
1391
|
-
"event_datetime_local": "2021-08-09T04:15:00",
|
|
1392
|
-
"event_code": "5",
|
|
1393
|
-
"description": "In Transit",
|
|
1394
|
-
"city": "Austin",
|
|
1395
|
-
"state": "TX",
|
|
1396
|
-
"postal_code": "78756",
|
|
1397
|
-
"country": "US",
|
|
1398
|
-
"geo": {
|
|
1399
|
-
"lat": 30.2,
|
|
1400
|
-
"long": -97.66
|
|
1401
|
-
},
|
|
1402
|
-
"status_code": "IT"
|
|
1403
|
-
},
|
|
1404
|
-
{
|
|
1405
|
-
"event_datetime": "2021-08-10T09:15:00Z",
|
|
1406
|
-
"event_datetime_local": "2021-08-10T04:15:00",
|
|
1407
|
-
"event_code": "6",
|
|
1408
|
-
"description": "On Vehicle for Delivery",
|
|
1409
|
-
"city": "Los Angeles",
|
|
1410
|
-
"state": "CA",
|
|
1411
|
-
"postal_code": "90045",
|
|
1412
|
-
"country": "US",
|
|
1413
|
-
"geo": {
|
|
1414
|
-
"lat": 33.95,
|
|
1415
|
-
"long": -118.38
|
|
1416
|
-
},
|
|
1417
|
-
"status_code": "IT"
|
|
1418
|
-
},
|
|
1419
|
-
{
|
|
1420
|
-
"event_datetime": "2021-08-10T15:15:00Z",
|
|
1421
|
-
"event_datetime_local": "2021-08-10T10:15:00",
|
|
1422
|
-
"event_code": "21",
|
|
1423
|
-
"description": "On Vehicle for Delivery Today",
|
|
1424
|
-
"city": "Los Angeles",
|
|
1425
|
-
"state": "CA",
|
|
1426
|
-
"postal_code": "90045",
|
|
1427
|
-
"country": "US",
|
|
1428
|
-
"geo": {
|
|
1429
|
-
"lat": 33.95,
|
|
1430
|
-
"long": -118.38
|
|
1431
|
-
},
|
|
1432
|
-
"status_code": "IT"
|
|
1433
|
-
},
|
|
1434
|
-
{
|
|
1435
|
-
"event_datetime": "2021-08-10T21:15:00Z",
|
|
1436
|
-
"event_datetime_local": "2021-08-10T16:15:00",
|
|
1437
|
-
"event_code": "22",
|
|
1438
|
-
"description": "First Attempt Made",
|
|
1439
|
-
"city": "El Segundo",
|
|
1440
|
-
"state": "CA",
|
|
1441
|
-
"postal_code": "90245",
|
|
1442
|
-
"country": "US",
|
|
1443
|
-
"geo": {
|
|
1444
|
-
"lat": 33.95,
|
|
1445
|
-
"long": -118.38
|
|
1446
|
-
},
|
|
1447
|
-
"status_code": "AT"
|
|
1448
|
-
},
|
|
1449
|
-
{
|
|
1450
|
-
"event_datetime": "2021-08-11T03:15:00Z",
|
|
1451
|
-
"event_datetime_local": "2021-08-10T22:15:00",
|
|
1452
|
-
"event_code": "21",
|
|
1453
|
-
"description": "On Vehicle for Delivery Today",
|
|
1454
|
-
"city": "Los Angeles",
|
|
1455
|
-
"state": "CA",
|
|
1456
|
-
"postal_code": "90045",
|
|
1457
|
-
"country": "US",
|
|
1458
|
-
"geo": {
|
|
1459
|
-
"lat": 33.95,
|
|
1460
|
-
"long": -118.38
|
|
1461
|
-
},
|
|
1462
|
-
"status_code": "IT"
|
|
1463
|
-
},
|
|
1464
|
-
{
|
|
1465
|
-
"event_datetime": "2021-08-11T21:15:00Z",
|
|
1466
|
-
"event_datetime_local": "2021-08-11T16:15:00",
|
|
1467
|
-
"event_code": "11",
|
|
1468
|
-
"description": "Delivered",
|
|
1469
|
-
"city": "El Segundo",
|
|
1470
|
-
"state": "CA",
|
|
1471
|
-
"postal_code": "90245",
|
|
1472
|
-
"country": "US",
|
|
1473
|
-
"geo": {
|
|
1474
|
-
"lat": 33.95,
|
|
1475
|
-
"long": -118.38
|
|
1476
|
-
},
|
|
1477
|
-
"status_code": "DE"
|
|
1478
|
-
}
|
|
1479
|
-
],
|
|
1480
|
-
"shipping_problem": false,
|
|
1481
|
-
"carrierEnum": 0
|
|
1482
|
-
}
|
|
1483
|
-
}
|
|
1484
|
-
},
|
|
1485
|
-
"Not Yet in System": {
|
|
1486
|
-
"summary": "Not Yet in System",
|
|
1487
|
-
"value": {
|
|
1488
|
-
"tracking_info": {
|
|
1489
|
-
"carrier_name": "UPS",
|
|
1490
|
-
"tracking_number": "12345678901234567890",
|
|
1491
|
-
"standardized_status_code": "NY",
|
|
1492
|
-
"events": [],
|
|
1493
|
-
"shipping_problem": false,
|
|
1494
|
-
"carrierEnum": 0
|
|
1495
|
-
}
|
|
1496
|
-
}
|
|
1497
|
-
},
|
|
1498
|
-
"Fatal Exception": {
|
|
1499
|
-
"summary": "Fatal Exception",
|
|
1500
|
-
"value": {
|
|
1501
|
-
"tracking_info": {
|
|
1502
|
-
"carrier_name": "UPS",
|
|
1503
|
-
"tracking_number": "12345678901234567890",
|
|
1504
|
-
"standardized_status_code": "EX",
|
|
1505
|
-
"carrier_status_code": "64",
|
|
1506
|
-
"carrier_status_description": "Delivery Refused",
|
|
1507
|
-
"estimated_delivery_datetime": "2021-08-11T00:00:00",
|
|
1508
|
-
"actual_delivery_datetime": "2021-08-11T21:15:00Z",
|
|
1509
|
-
"weight": 500,
|
|
1510
|
-
"dimensions": {
|
|
1511
|
-
"length": 10,
|
|
1512
|
-
"width": 10,
|
|
1513
|
-
"height": 10
|
|
1514
|
-
},
|
|
1515
|
-
"service": {
|
|
1516
|
-
"code": "03",
|
|
1517
|
-
"name": "UPS® Ground"
|
|
1518
|
-
},
|
|
1519
|
-
"packaging": "package",
|
|
1520
|
-
"package_count": 1,
|
|
1521
|
-
"events": [
|
|
1522
|
-
{
|
|
1523
|
-
"event_datetime": "2021-08-09T09:15:00Z",
|
|
1524
|
-
"event_datetime_local": "2021-08-09T04:15:00",
|
|
1525
|
-
"event_code": "5",
|
|
1526
|
-
"description": "In Transit",
|
|
1527
|
-
"city": "Austin",
|
|
1528
|
-
"state": "TX",
|
|
1529
|
-
"postal_code": "78756",
|
|
1530
|
-
"country": "US",
|
|
1531
|
-
"geo": {
|
|
1532
|
-
"lat": 30.2,
|
|
1533
|
-
"long": -97.66
|
|
1534
|
-
},
|
|
1535
|
-
"status_code": "IT"
|
|
1536
|
-
},
|
|
1537
|
-
{
|
|
1538
|
-
"event_datetime": "2021-08-11T21:15:00Z",
|
|
1539
|
-
"event_datetime_local": "2021-08-11T16:15:00",
|
|
1540
|
-
"event_code": "59",
|
|
1541
|
-
"description": "Delivery Refused",
|
|
1542
|
-
"city": "El Segundo",
|
|
1543
|
-
"state": "CA",
|
|
1544
|
-
"postal_code": "90245",
|
|
1545
|
-
"country": "US",
|
|
1546
|
-
"geo": {
|
|
1547
|
-
"lat": 33.95,
|
|
1548
|
-
"long": -118.38
|
|
1549
|
-
},
|
|
1550
|
-
"status_code": "EX"
|
|
1551
|
-
}
|
|
1552
|
-
],
|
|
1553
|
-
"shipping_problem": false,
|
|
1554
|
-
"carrierEnum": 0
|
|
1555
|
-
}
|
|
1556
|
-
}
|
|
1557
|
-
}
|
|
1558
|
-
}
|
|
1559
|
-
}
|
|
1560
|
-
}
|
|
1561
|
-
},
|
|
1562
1151
|
"400": {
|
|
1563
1152
|
"description": "Can be an internal or external error indicating an issue with the request that must be corrected.",
|
|
1564
1153
|
"content": {
|
|
@@ -1579,9 +1168,6 @@
|
|
|
1579
1168
|
}
|
|
1580
1169
|
}
|
|
1581
1170
|
},
|
|
1582
|
-
"404": {
|
|
1583
|
-
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
1584
|
-
},
|
|
1585
1171
|
"500": {
|
|
1586
1172
|
"description": "An unexpected error occurred in the carrier app.",
|
|
1587
1173
|
"content": {
|
|
@@ -1601,6 +1187,33 @@
|
|
|
1601
1187
|
}
|
|
1602
1188
|
}
|
|
1603
1189
|
}
|
|
1190
|
+
},
|
|
1191
|
+
"404": {
|
|
1192
|
+
"description": "Use this when the behavior is not supported or the behavior is not available for the user."
|
|
1193
|
+
},
|
|
1194
|
+
"200": {
|
|
1195
|
+
"description": "An object with tracking information for the specified shipment.",
|
|
1196
|
+
"content": {
|
|
1197
|
+
"application/json": {
|
|
1198
|
+
"schema": {
|
|
1199
|
+
"$ref": "#/components/schemas/TrackingResponse"
|
|
1200
|
+
},
|
|
1201
|
+
"examples": {
|
|
1202
|
+
"Delivered with Event History": {
|
|
1203
|
+
"summary": "Delivered with Event History",
|
|
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}}
|
|
1205
|
+
},
|
|
1206
|
+
"Not Yet in System": {
|
|
1207
|
+
"summary": "Not Yet in System",
|
|
1208
|
+
"value": {"tracking_info":{"carrier_name":"UPS","tracking_number":"12345678901234567890","standardized_status_code":"NY","events":[],"shipping_problem":false,"carrierEnum":0}}
|
|
1209
|
+
},
|
|
1210
|
+
"Fatal Exception": {
|
|
1211
|
+
"summary": "Fatal Exception",
|
|
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}}
|
|
1213
|
+
}
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1604
1217
|
}
|
|
1605
1218
|
}
|
|
1606
1219
|
}
|
|
@@ -1732,7 +1345,7 @@
|
|
|
1732
1345
|
"nullable": true
|
|
1733
1346
|
}
|
|
1734
1347
|
},
|
|
1735
|
-
"additionalProperties": {},
|
|
1348
|
+
"additionalProperties": { },
|
|
1736
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."
|
|
1737
1350
|
},
|
|
1738
1351
|
"Authorization": {
|
|
@@ -1777,7 +1390,7 @@
|
|
|
1777
1390
|
},
|
|
1778
1391
|
"metadata": {
|
|
1779
1392
|
"type": "object",
|
|
1780
|
-
"additionalProperties": {},
|
|
1393
|
+
"additionalProperties": { },
|
|
1781
1394
|
"nullable": true
|
|
1782
1395
|
}
|
|
1783
1396
|
},
|
|
@@ -1788,7 +1401,7 @@
|
|
|
1788
1401
|
"properties": {
|
|
1789
1402
|
"metadata": {
|
|
1790
1403
|
"type": "object",
|
|
1791
|
-
"additionalProperties": {},
|
|
1404
|
+
"additionalProperties": { },
|
|
1792
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.",
|
|
1793
1406
|
"nullable": true
|
|
1794
1407
|
}
|
|
@@ -1850,7 +1463,7 @@
|
|
|
1850
1463
|
"description": "Alpha-3 currency code complying with ISO 4217."
|
|
1851
1464
|
}
|
|
1852
1465
|
},
|
|
1853
|
-
"description": "Total amount of the line item",
|
|
1466
|
+
"description": "Total amount of the line item to be billed to the end customer.",
|
|
1854
1467
|
"nullable": true
|
|
1855
1468
|
}
|
|
1856
1469
|
},
|
|
@@ -2052,49 +1665,6 @@
|
|
|
2052
1665
|
],
|
|
2053
1666
|
"type": "string"
|
|
2054
1667
|
},
|
|
2055
|
-
"CreateLabelPaymentRequest": {
|
|
2056
|
-
"type": "object",
|
|
2057
|
-
"allOf": [
|
|
2058
|
-
{
|
|
2059
|
-
"$ref": "#/components/schemas/BaseRequest"
|
|
2060
|
-
}
|
|
2061
|
-
],
|
|
2062
|
-
"properties": {
|
|
2063
|
-
"labels": {
|
|
2064
|
-
"type": "array",
|
|
2065
|
-
"items": {
|
|
2066
|
-
"$ref": "#/components/schemas/LabelDetails"
|
|
2067
|
-
},
|
|
2068
|
-
"nullable": true
|
|
2069
|
-
}
|
|
2070
|
-
},
|
|
2071
|
-
"additionalProperties": false
|
|
2072
|
-
},
|
|
2073
|
-
"CreateLabelPaymentResponse": {
|
|
2074
|
-
"type": "object",
|
|
2075
|
-
"allOf": [
|
|
2076
|
-
{
|
|
2077
|
-
"$ref": "#/components/schemas/BaseResponse"
|
|
2078
|
-
}
|
|
2079
|
-
],
|
|
2080
|
-
"properties": {
|
|
2081
|
-
"transaction_id": {
|
|
2082
|
-
"type": "string",
|
|
2083
|
-
"description": "The transaction ID uniquely represents this request.",
|
|
2084
|
-
"format": "uuid"
|
|
2085
|
-
},
|
|
2086
|
-
"results": {
|
|
2087
|
-
"type": "array",
|
|
2088
|
-
"items": {
|
|
2089
|
-
"$ref": "#/components/schemas/LabelPaymentResult"
|
|
2090
|
-
},
|
|
2091
|
-
"description": "Label payment results.",
|
|
2092
|
-
"nullable": true
|
|
2093
|
-
}
|
|
2094
|
-
},
|
|
2095
|
-
"additionalProperties": false,
|
|
2096
|
-
"description": "This model represents the response from a successful create label payment request."
|
|
2097
|
-
},
|
|
2098
1668
|
"CreateLabelRequest": {
|
|
2099
1669
|
"type": "object",
|
|
2100
1670
|
"allOf": [
|
|
@@ -2198,14 +1768,6 @@
|
|
|
2198
1768
|
"type": "string",
|
|
2199
1769
|
"description": "Unique identifier for the carrier rate",
|
|
2200
1770
|
"nullable": true
|
|
2201
|
-
},
|
|
2202
|
-
"alternative_identifiers": {
|
|
2203
|
-
"type": "array",
|
|
2204
|
-
"items": {
|
|
2205
|
-
"$ref": "#/components/schemas/Identifier"
|
|
2206
|
-
},
|
|
2207
|
-
"description": "Alternative identifiers associated with this shipment.",
|
|
2208
|
-
"nullable": true
|
|
2209
1771
|
}
|
|
2210
1772
|
},
|
|
2211
1773
|
"additionalProperties": false
|
|
@@ -2386,7 +1948,7 @@
|
|
|
2386
1948
|
},
|
|
2387
1949
|
"manifest_identifiers": {
|
|
2388
1950
|
"type": "object",
|
|
2389
|
-
"additionalProperties": {},
|
|
1951
|
+
"additionalProperties": { },
|
|
2390
1952
|
"description": "Carrier information needed to get created manifests.\r\nOnly needed if carrier requires two calls to create and get manifests.",
|
|
2391
1953
|
"nullable": true
|
|
2392
1954
|
}
|
|
@@ -2821,7 +2383,7 @@
|
|
|
2821
2383
|
},
|
|
2822
2384
|
"manifest_identifiers": {
|
|
2823
2385
|
"type": "object",
|
|
2824
|
-
"additionalProperties": {},
|
|
2386
|
+
"additionalProperties": { },
|
|
2825
2387
|
"description": "Carrier specific data needed to retrieve Manifest results",
|
|
2826
2388
|
"nullable": true
|
|
2827
2389
|
},
|
|
@@ -3027,121 +2589,6 @@
|
|
|
3027
2589
|
"additionalProperties": false,
|
|
3028
2590
|
"description": "This model represents a module level error that was caught."
|
|
3029
2591
|
},
|
|
3030
|
-
"LabelDetails": {
|
|
3031
|
-
"type": "object",
|
|
3032
|
-
"properties": {
|
|
3033
|
-
"correlation_id": {
|
|
3034
|
-
"type": "string",
|
|
3035
|
-
"description": "A unique identifier for the label in this request which should be used to correlate the results.",
|
|
3036
|
-
"nullable": true
|
|
3037
|
-
},
|
|
3038
|
-
"service_code": {
|
|
3039
|
-
"type": "string",
|
|
3040
|
-
"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.",
|
|
3041
|
-
"nullable": true
|
|
3042
|
-
},
|
|
3043
|
-
"ship_datetime": {
|
|
3044
|
-
"type": "string",
|
|
3045
|
-
"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.",
|
|
3046
|
-
"format": "date-time"
|
|
3047
|
-
},
|
|
3048
|
-
"confirmation": {
|
|
3049
|
-
"$ref": "#/components/schemas/ConfirmationTypes"
|
|
3050
|
-
},
|
|
3051
|
-
"label_format": {
|
|
3052
|
-
"$ref": "#/components/schemas/DocumentFormat"
|
|
3053
|
-
},
|
|
3054
|
-
"label_layout": {
|
|
3055
|
-
"$ref": "#/components/schemas/LabelLayouts"
|
|
3056
|
-
},
|
|
3057
|
-
"is_test_label": {
|
|
3058
|
-
"type": "boolean",
|
|
3059
|
-
"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"
|
|
3060
|
-
},
|
|
3061
|
-
"advanced_options": {
|
|
3062
|
-
"$ref": "#/components/schemas/AdvancedOptions"
|
|
3063
|
-
},
|
|
3064
|
-
"insurance_provider": {
|
|
3065
|
-
"$ref": "#/components/schemas/InsuranceProviders"
|
|
3066
|
-
},
|
|
3067
|
-
"is_return_label": {
|
|
3068
|
-
"type": "boolean",
|
|
3069
|
-
"description": "Whether this label is to return a previously shipped package. If the field is absent it should be\r\ninterpreted as false."
|
|
3070
|
-
},
|
|
3071
|
-
"packages": {
|
|
3072
|
-
"type": "array",
|
|
3073
|
-
"items": {
|
|
3074
|
-
"$ref": "#/components/schemas/Package"
|
|
3075
|
-
},
|
|
3076
|
-
"description": "All the packages that make up this shipment. There will always be at least one package defined.",
|
|
3077
|
-
"nullable": true
|
|
3078
|
-
},
|
|
3079
|
-
"ship_to": {
|
|
3080
|
-
"$ref": "#/components/schemas/ShipTo"
|
|
3081
|
-
},
|
|
3082
|
-
"ship_from": {
|
|
3083
|
-
"$ref": "#/components/schemas/ShipFrom"
|
|
3084
|
-
},
|
|
3085
|
-
"pickup_location": {
|
|
3086
|
-
"$ref": "#/components/schemas/PudoLocation"
|
|
3087
|
-
},
|
|
3088
|
-
"relay_points": {
|
|
3089
|
-
"$ref": "#/components/schemas/RelayPointDetails"
|
|
3090
|
-
},
|
|
3091
|
-
"ship_from_display": {
|
|
3092
|
-
"$ref": "#/components/schemas/ShipFromDisplay"
|
|
3093
|
-
},
|
|
3094
|
-
"next_day": {
|
|
3095
|
-
"type": "boolean",
|
|
3096
|
-
"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",
|
|
3097
|
-
"nullable": true
|
|
3098
|
-
},
|
|
3099
|
-
"international": {
|
|
3100
|
-
"type": "boolean",
|
|
3101
|
-
"description": "Whether this shipment is deemed international.",
|
|
3102
|
-
"nullable": true
|
|
3103
|
-
},
|
|
3104
|
-
"reference": {
|
|
3105
|
-
"type": "string",
|
|
3106
|
-
"description": "A user specified free form string to identify this shipment in their own system.",
|
|
3107
|
-
"nullable": true
|
|
3108
|
-
},
|
|
3109
|
-
"return_details": {
|
|
3110
|
-
"$ref": "#/components/schemas/ReturnLabelDetails"
|
|
3111
|
-
},
|
|
3112
|
-
"fulfillment_plan_details": {
|
|
3113
|
-
"$ref": "#/components/schemas/FulfillmentPlanDetails"
|
|
3114
|
-
},
|
|
3115
|
-
"attachments": {
|
|
3116
|
-
"type": "array",
|
|
3117
|
-
"items": {
|
|
3118
|
-
"$ref": "#/components/schemas/Document"
|
|
3119
|
-
},
|
|
3120
|
-
"description": "Attachments that may be required to be sent to the carrier, in particular customs documents or\r\ncommercial invoices.",
|
|
3121
|
-
"nullable": true
|
|
3122
|
-
},
|
|
3123
|
-
"bill_shipping_to": {
|
|
3124
|
-
"$ref": "#/components/schemas/BillTo"
|
|
3125
|
-
},
|
|
3126
|
-
"carrier_pickup_window": {
|
|
3127
|
-
"$ref": "#/components/schemas/TimeWindow"
|
|
3128
|
-
},
|
|
3129
|
-
"carrier_rate_id": {
|
|
3130
|
-
"type": "string",
|
|
3131
|
-
"description": "Unique identifier for the carrier rate",
|
|
3132
|
-
"nullable": true
|
|
3133
|
-
},
|
|
3134
|
-
"alternative_identifiers": {
|
|
3135
|
-
"type": "array",
|
|
3136
|
-
"items": {
|
|
3137
|
-
"$ref": "#/components/schemas/Identifier"
|
|
3138
|
-
},
|
|
3139
|
-
"description": "Alternative identifiers associated with this shipment.",
|
|
3140
|
-
"nullable": true
|
|
3141
|
-
}
|
|
3142
|
-
},
|
|
3143
|
-
"additionalProperties": false
|
|
3144
|
-
},
|
|
3145
2592
|
"LabelDownload": {
|
|
3146
2593
|
"type": "object",
|
|
3147
2594
|
"allOf": [
|
|
@@ -3205,41 +2652,6 @@
|
|
|
3205
2652
|
"additionalProperties": false,
|
|
3206
2653
|
"description": "Package information provided from the carrier"
|
|
3207
2654
|
},
|
|
3208
|
-
"LabelPaymentResult": {
|
|
3209
|
-
"type": "object",
|
|
3210
|
-
"properties": {
|
|
3211
|
-
"correlation_id": {
|
|
3212
|
-
"type": "string",
|
|
3213
|
-
"description": "A unique identifier for the label as specified in the request to correlate the results.",
|
|
3214
|
-
"nullable": true
|
|
3215
|
-
},
|
|
3216
|
-
"alternative_identifiers": {
|
|
3217
|
-
"type": "array",
|
|
3218
|
-
"items": {
|
|
3219
|
-
"$ref": "#/components/schemas/Identifier"
|
|
3220
|
-
},
|
|
3221
|
-
"description": "Alternative identifiers associated with this label payment. Any values returned will be included in\r\nsubsequent requests for the related shipment such as `CreateLabel`. An example use case would be returning\r\nthe carrier's internal identifier for the shipment that was paid for as the `carrier_transaction_id` and\r\nthen referencing that in the `CreateLabel` call when creating/retrieving the actual label from the carrier.",
|
|
3222
|
-
"nullable": true
|
|
3223
|
-
},
|
|
3224
|
-
"error_messages": {
|
|
3225
|
-
"type": "array",
|
|
3226
|
-
"items": {
|
|
3227
|
-
"type": "string"
|
|
3228
|
-
},
|
|
3229
|
-
"description": "List of discrete errors relating to this label payment. The presence of error messages indicates to the\r\nsystem that the payment was unsuccessful and label creation for this shipment should not proceed.",
|
|
3230
|
-
"nullable": true
|
|
3231
|
-
},
|
|
3232
|
-
"warning_messages": {
|
|
3233
|
-
"type": "array",
|
|
3234
|
-
"items": {
|
|
3235
|
-
"type": "string"
|
|
3236
|
-
},
|
|
3237
|
-
"description": "A list of discrete warnings about this label payment. This is information the end user needs to be aware\r\nof but should not stop the request from succeeding, or a label being created as a result of this payment.",
|
|
3238
|
-
"nullable": true
|
|
3239
|
-
}
|
|
3240
|
-
},
|
|
3241
|
-
"additionalProperties": false
|
|
3242
|
-
},
|
|
3243
2655
|
"LatLong": {
|
|
3244
2656
|
"type": "object",
|
|
3245
2657
|
"properties": {
|
|
@@ -3707,7 +3119,7 @@
|
|
|
3707
3119
|
"properties": {
|
|
3708
3120
|
"registration_info": {
|
|
3709
3121
|
"type": "object",
|
|
3710
|
-
"additionalProperties": {},
|
|
3122
|
+
"additionalProperties": { },
|
|
3711
3123
|
"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.",
|
|
3712
3124
|
"nullable": true
|
|
3713
3125
|
}
|
|
@@ -3723,7 +3135,7 @@
|
|
|
3723
3135
|
},
|
|
3724
3136
|
"metadata": {
|
|
3725
3137
|
"type": "object",
|
|
3726
|
-
"additionalProperties": {},
|
|
3138
|
+
"additionalProperties": { },
|
|
3727
3139
|
"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.",
|
|
3728
3140
|
"nullable": true
|
|
3729
3141
|
}
|