Skip to content

Get All Shipments

Request

The operation fetches all created Shipments. If query parameters are not provided, it will default endDate as current date, page as 1 and size as 10.

Security
bearerAuth
Query
startDatestring

The start date of the date range used to filter shipments by their transaction creation date. The date format must be: YYYY-MM-DD.

Example:startDate=2026-06-01
endDatestring

The end date of the date range used to filter shipments by their transaction creation date. The date format must be: YYYY-MM-DD.

Example:endDate=2026-06-10
pagestring

The page of the Shipments search result list.

sizestring

The size/count of the searched result list.

carrierstring

Filter shipments by carrier code (e.g., UPS, FEDEX, USPS).

Example:carrier=UPS
insuredboolean

Filter shipments by insurance status. Set to true for insured shipments, false otherwise.

Example:insured=true
returnLabelboolean

Filter shipments that include return labels. Set to true to return only shipments with return labels, false otherwise.

Example:returnLabel=false
isInternationalboolean

Filter shipments by type. Set true for international shipments, false for domestic shipments.

Example:isInternational=true
refundEligibleboolean

Filter shipments eligible for refund.

Example:refundEligible=true
merchantboolean

Filter merchant shipments.

  • true → Returns shipment reports for all merchants associated with the developer.
  • To view a specific merchant, include the header X-PB-Developer-Partner-ID with the merchant's subscriptionId.
Example:merchant=true
shipmentTypestring

Filter by shipment type. Accepted values:

  • multipiece: multi-piece shipments
  • apv: Adjusted Postage Value (APV) shipments If omitted, all shipment types are returned.
Example:shipmentType=multipiece
fromShipmentDatestring

The start date used to filter shipments by their dateOfShipment. The date format must be: YYYY-MM-DD.

Example:fromShipmentDate=2026-06-01
toShipmentDatestring

The end date used to filter shipments by their dateOfShipment. The date format must be: YYYY-MM-DD.

Example:toShipmentDate=2026-06-10
Headers
X-PB-Developer-Partner-Idstring

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

X-PB-LocationIdstring
  • Specifies the Location ID associated with the shipment.
  • When provided, the response is filtered based on the specified Location ID.
curl -i -X GET \
  'https://api-dev.sendpro360.pitneycloud.com/shipping/api/v2/shipments?startDate=2026-06-01&endDate=2026-06-10&page=string&size=string&carrier=UPS&insured=true&returnLabel=false&isInternational=true&refundEligible=true&merchant=true&shipmentType=multipiece&fromShipmentDate=2026-06-01&toShipmentDate=2026-06-10' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'X-PB-Developer-Partner-Id: string' \
  -H 'X-PB-LocationId: string'

Responses

List of shipments.

Bodyapplication/json
pageInfoobject
dataArray of objects
Response
{ "pageInfo": { "total": 78, "pages": 8, "page": 1, "pageSize": 10 }, "data": [ { "correlationId": "49ce304a251447539c84b204d968d7c4", "subId": "sac735d", "fromAddress": { … }, "toAddress": { … }, "altReturnAddress": { … }, "parcelTrackingNumber": "UPS2202625646462636", "serviceId": "NDA", "rate": { … }, "shipmentId": "UPS2202625646462636", "shipmentOptions": { … }, "customs": { … }, "status": "Label Printed", "carrier": "ups", "carrierAccountId": "EQ7Ar2dmXXX", "metadata": [ … ], "parcels": [ … ], "dispenseClient": "api", "refundStatus": "string", "isInternational": true, "isReturnLblRequested": false, "insured": true, "carrierCode": "string", "transactionCreateDate": "2026-02-09T07:22:05.457Z", "locationId": "zLwdWnZ7LyVWknO", "references": { … }, "ecommerceProvider": { … } } ] }