Skip to content

Get Order by ID

Request

This operation retrives the complete details of a specific order using its unique orderId.

  • Retrieve all order-related information for tracking or reporting.
  • Verify order contents and financials before fulfillment.
Security
bearerAuth
Path
orderIdstringrequired

Unique identifier for the order.

curl -i -X GET \
  'https://api-sandbox.sendpro360.pitneybowes.com/ordermanagement/api/v1/orders/{orderId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Order details retrieved.

Bodyapplication/json
One of:

Complete order response containing order details and shipping information.

orderInfoobject

Order details and metadata.

orderShippingInfoobject
Response
{ "orderInfo": { "orderId": "PBqTYEhO31JY", "orderNumber": "ORD123456", "status": "UNFULFILLED", "orderCreateDate": "0001-01-01T00:00:00Z", "sourceFlowType": "API", "createdBy": "0oa2hlagtvtaETd8x0h8", "customerInfo": { "firstName": "John", "lastName": "Doe", "email": "john.doe@example.com", "customerId": "CUST12345" }, "orderMessage": { "type": "GIFT", "message": "Happy Birthday! Enjoy your gift." }, "items": [ {} ], "charges": { "currency": "USD", "billingStatus": "Paid", "gmv": 100, "subTotal": 90, "totalPaid": 100, "paymentType": "Credit Card" } }, "orderShippingInfo": { "shippingReference": { "reference1": "reference1", "reference2": "reference2", "reference3": "reference3", "reference4": "reference4", "shipperReference": "Shipper123", "transportationReference": "TransRef2025", "shippingNotes": "Handle with care" }, "shippingPreferences": { "carrier": "UPS", "parcelId": "PKG-001", "parcelType": "PKG", "service": "2DA", "parcel": {}, "specialServices": [], "customs": {}, "shipmentProvider": {}, "carrierPayments": [], "shipmentOptions": {} } } }