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 object did not save properly.

Things to Consider

  1. Do not use this operation in the following cases:
  2. This operation does not apply to Newgistics or PB Presort.

Request URIs

Sandbox: https://api-sandbox.pitneybowes.com/shippingservices/v1/manifests/{manifestId}
Production: https://api.pitneybowes.com/shippingservices/v1/manifests/{manifestId}

Path Parameters

Name Data Type Description
manifestId String Required. The unique ID of the manifest that was assigned when it was created.

Request Headers

Name Data Type Description
Authorization String Required. OAuth token generated using the Generate an OAuth Token API.

Response Elements

IMPORTANT: Some fields might not apply to your operation.

The response returns a manifest object. The following table describes all possible fields in a manifest object, including those used in manifest requests. Request-only fields are marked as such.

Name Data Type Description
carrier String

Required. The carrier to which the manifest applies. For some operations, this field is not present in the response. Valid values:

  • USPS
  • NEWGISTICS (applicable only if creating a manifest)
  • PBPresort (applicable only if creating a manifest)
submissionDate String

Required. The date the shipments are tendered to the carrier. The time must be in GMT/UTC and in one of the following formats:

  • YYYY-MM-DD
  • YYYY-MM-DD HH:mm:ss
  • YYYY-MM-DD HH:mm:ss.SSS
fromAddress address object Required. The shipment origin address.
inductionPostalCode String

Postal code where the shipments are tendered to the carrier.

Note: Not applicable to Newgistics manifests.

parcelTrackingNumbers Array[String]

Identifies shipments by their tracking numbers. List one or more shipment tracking numbers, separated by commas.

Note: Not applicable to Newgistics manifests.

parameters Array[Object] Each object in the array defines a different manifest parameter. This field is used only in the request and is not returned in the response.
        name String The name of the manifest parameter.
        value String The value of the manifest parameter.
manifestId String Response Only. The unique manifest ID.
manifestTrackingNumber String Response Only. The manifest tracking number.
documents Array[documents object]

Response Only. The manifest.

Note: Not returned for a Newgistics manifest.

Sample Request

curl -X GET .../v1/manifests/9475709899581000196258 \
-H "Authorization: Bearer <oauth_token>"

Sample Response

{
    "carrier": "USPS",
    "submissionDate": "2017-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 PB Shipping APIs error codes, see Error Codes.