Get Shipment by Id

The operation retrieves shipment details using shipmentId.

SecuritybearerAuth
Request
path Parameters
shipmentId
required
string

The shipmentId, a unique identifier for an individual Shipment.

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

The Developer Partner ID is assigned by PB to uniquely identify a Developer's strategic business partners. If the developer is the sole business partner, this field isn't required.

Responses
200

The shipment has been retrieved.

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}
Request samples
Response samples
application/json
{
  • "correlationId": "b448ca2e733d4e23994a85374b9d8264",
  • "fromAddress": {
    },
  • "parcel": {
    },
  • "metadata": [
    ],
  • "parcelId": "B1092",
  • "parcelTrackingNumber": "9471309105156000826739",
  • "rate": {
    },
  • "service": "",
  • "shipmentId": "XXXX2200579677758143",
  • "shipmentOptions": {
    },
  • "status": "COMPLETE",
  • "toAddress": {
    },
  • "altReturnAddress": {
    }
}