Shipping APIs
//Printer mapping
printer mapping document
Security
bearerAuth
The X-PB-LocationId header identifies the enterprise, developer, or partner location under which a shipment is processed and billed. If the header is not provided, the system defaults to the enterprise-level location that was created during developer account onboarding. This default location is automatically used for shipment processing and billing.
Requirement Rules
- The
X-PB-LocationIdheader is optional when the shipment origin country code matches the enterprise's default address country code. - The
X-PB-LocationIdheader is required when the shipment origin country code differs from the enterprise's default address country code. - If the header is required but not provided, the API will return a validation error "invalid origin countryCode".
- Sandbox Serverhttps://api-sandbox.sendpro360.pitneybowes.com/shipping/api/v1/printer/mapping
- Production Server (uses live data)https://api.sendpro360.pitneybowes.com/shipping/api/v1/printer/mapping
- Sandbox Server for Canadahttps://api-ppd.shipping360.pitneybowes.com/ca/shipping/api/v1/printer/mapping
- Production Server for Canadahttps://api.shipping360.pitneybowes.com/ca/shipping/api/v1/printer/mapping
curl -i -X POST \
https://api-sandbox.sendpro360.pitneybowes.com/shipping/api/v1/printer/mapping \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'X-PB-Developer-Partner-Id: string' \
-H 'X-PB-LocationId: string' \
-H 'X-PB-TransactionId: string' \
-d '{
"alias": "rohit2",
"serialNumber": "AP-DP1LZH3-0x919e698164-dev",
"printerName": "Brother QL-1110NWB"
}'Response
{ "id": "65cdce754189e0177c728c8c" }