Skip to content

Get Printer mapping

Request

Get printer mapping document

Security
bearerAuth
Query
aliasstringrequired

Refers to a printer connected (directly or via network) to a computer.

Headers
X-PB-Developer-Partner-Idstring

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.

X-PB-LocationIdstring

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-LocationId header is optional when the shipment origin country code matches the enterprise's default address country code.
  • The X-PB-LocationId header 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".
X-PB-TransactionIdstring

A unique transaction Id provided by the partner which is used to enable debugging and linking between the client's transaction and the system.

curl -i -X GET \
  'https://api-sandbox.sendpro360.pitneybowes.com/shipping/api/v1/printer/mapping?alias=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'X-PB-Developer-Partner-Id: string' \
  -H 'X-PB-LocationId: string' \
  -H 'X-PB-TransactionId: string'

Responses

Mapping printer Get Successfully

Bodyapplication/json
aliasstring

The printer connected (directly or via network) to a computer.

Example:"rohit2"
serialNumberstring

A Device Serial number.

Example:"AP-DP1LZH3-0x919e698164-dev"
printerNamestring

The Printer name which is used for mapping.

Example:"Brother QL-1110NWB"
subIdstring

The subscription ID used for mapping.

Example:"rohit2"
insertTimeStampstring, (date-time)

It records saved Timestamp.

Example:"2024-02-02T11:51:00.479Z"
updateTimeStampstring, (date-time)

It records updated Timestamp.

Example:"2024-02-02T11:51:00.479Z"
Response
{ "alias": "rohit2", "serialNumber": "AP-DP1LZH3-0x919e698164-dev", "printerName": "Brother QL-1110NWB", "subId": "rohit2", "insertTimeStamp": "2024-02-02T11:51:00.479Z", "updateTimeStamp": "2024-02-02T11:51:00.479Z" }