Reprint Shipment

This operation retrieves an existing shipping label associated with a shipment. The API uses the shipmentId returned by the original Create Shipment request. Use this API only if the original shipping label has been lost or damaged.

Key Considerations:

  • This operation is applicable only if the original shipment was successfully created. It cannot be used if the initial Create Shipment request resulted in no response or encountered an error.
  • USPS allows only 1 reprint.
  • GoFor does not allow reprint.
  • All other carriers allow up to 8 reprints.
  • Reprints are valid for 24 hours from the time the label was first created.
  • Reprinting should only be used when necessary. Excessive reprint attempts are restricted and monitored.
  • Follow the Troubleshooting section in case you are facing any issues creating a shipment.
SecuritybearerAuth
Request
path Parameters
shipmentId
required
string

The shipmentId, a unique identifier assigned to the Shipment.

header Parameters
X-PB-Developer-Partner-Id
string

This is the Developer Partner ID. When the developer is the only partner, this field is not required.

compactResponse
boolean

The header defines if the response required is detailed or compact. When value is set to true, it will only return label layout details and parcel tracking number object in response.

Example: false
Responses
200

The shipment has been reprinted.

400

Invalid request.

401

The request could not be authorized.

404

The requested resource was not found.

500

The request could not be completed due to an internal error.

get/api/v1/shipments/{shipmentId}/reprint
Request samples
Response samples
application/json
{
  • "correlationId": "00adf56ed852487ba9caec62b7ab2635",
  • "size": "DOC_8X11",
  • "type": "SHIPPING_LABEL",
  • "format": "PDF",
  • "fromAddress": {
    },
  • "parcel": {
    },
  • "parcelTrackingNumber": "9471309105156000826739",
  • "rate": {
    },
  • "shipmentId": "USPS2200579677758143",
  • "shipmentOptions": {
    },
  • "toAddress": {
    },
  • "soldToAddress": {
    },
  • "additionalAddresses": [
    ]
}