Reprint a Manifest¶
HTTP Request¶
GET /v1/manifests/{manifestId}
Summary¶
This operation reprints a manifest for which the initial Create Manifest request was successful but the response did not save properly.
Important: This operation does not apply to PB Delivery or PB Presort.
Considerations¶
Do not use this operation in the following cases:
If the initial request returned an error. Instead create a new manifest.
If the initial request returned no response at all. Instead retry the manifest.
This operation does not apply to PB Delivery or PB Presort.
Request URLs¶
Sandbox: https://shipping-api-sandbox.pitneybowes.com/shippingservices/v1/manifests/{manifestId}
Production: https://shipping-api.pitneybowes.com/shippingservices/v1/manifests/{manifestId}
Path Parameter¶
Name |
Description |
---|---|
manifestId |
Required. The unique ID of the manifest that was assigned when it was created. |
Request Headers¶
Name |
Description |
---|---|
Authorization |
Required. OAuth token generated using the Generate an OAuth Token API. |
X-PB-UnifiedErrorStructure |
Recommended. Set this to |
Response Elements¶
Name |
Data Type |
Description |
---|---|---|
carrier |
String |
The carrier to which the manifest applies. |
submissionDate |
String |
The date the shipments are to be tendered to the carrier, entered as |
fromAddress |
The shipment origin address. |
|
inductionPostalCode |
String |
Postal code where the shipments are tendered to the carrier. |
parcelTrackingNumbers |
Array[String] |
Identifies shipments by their tracking numbers. |
manifestId |
String |
The unique manifest ID. |
manifestTrackingNumber |
String |
The manifest tracking number. This is returned only if |
documents |
Array[Documents Object] |
The manifest. |
Sample Request¶
curl -X GET ".../v1/manifests/9475709899581000196258" \
-H "Authorization: Bearer <oauth_token>" \
-H "X-PB-UnifiedErrorStructure: true"
Sample Response¶
{
"carrier": "USPS",
"submissionDate": "2020-08-03 00:00:00.0",
"fromAddress": { ... },
"parcelTrackingNumbers": [
"9405509898641491052445"
"9405509898641491052513",
"9405509898641491052520"
],
"manifestId": "9475709899581000196258",
"manifestTrackingNumber": "9475709899581000196258",
"documents": [ {
"type": "MANIFEST",
"contentType": "URL",
"contents": "https://.../usps/872060188/scanform/c860208d886e4fa581b29063c4e7b3de.pdf"
} ]
}
Error Codes¶
For a list of all error codes returned by the Ecommerce APIs, please see Error Codes.