Asia-Pacific (APAC) Services for PB Standard Delivery¶
Overview¶
APAC Services provide regional URLs to optimize performance for PB Standard Delivery requests that originate in the Asia-Pacific Region. APAC Services provide URLs for the following PB Standard Delivery API operations:
Create Shipment
Create Manifest
Void Shipment
If you use APAC Services to create a shipment, you must also use APAC Services if you manifest or void the shipment.
APAC Services do not provide URLs for other Ecommerce API operations. For all other operations, use the URL listed on the operation’s documentation page.
APAC Services Operations¶
APAC Services provide regional URLs for the following operations:
Create a PB Standard Delivery Shipment
Sandbox URL APAC: https://apac-sandbox.shippingapi.pitneybowes.com/shippingservices/v1/shipments?carrier=Newgistics
Production URL APAC: https://apac.shippingapi.pitneybowes.com/shippingservices/v1/shipments?carrier=NewgisticsCreate a PB Standard Delivery Manifest (Closeout)
Sandbox URL APAC: https://apac-sandbox.shippingapi.pitneybowes.com/shippingservices/v1/manifests?carrier=Newgistics
Production URL APAC: https://apac.shippingapi.pitneybowes.com/shippingservices/v1/manifests?carrier=NewgisticsVoid a PB Standard Delivery Shipment
Sandbox URL APAC: https://apac-sandbox.shippingapi.pitneybowes.com/shippingservices/v1/shipments/{shipmentId}?carrier=Newgistics
Production URL APAC: https://apac.shippingapi.pitneybowes.com/shippingservices/v1/shipments/{shipmentId}?carrier=Newgistics
Important
If you use APAC Services to create a shipment, you must also use APAC Services if you manifest or void the shipment.
Important
The Create Manifest operation does not return the manifestId field.
APAC Services Considerations¶
APAC Services do not provide regional URLs for authentication. Use the URL listed on the Generate an OAuth Token page.
APAC Services provides regional URLs only for the operations listed above. If an operation is not listed above, use the URL listed on the operation’s documentation page.
The APAC Services operation to Create a Manifest does not return the
manifestId
field.Before shipping with PB Standard, see the Pitney Bowes reference page. The information on the reference page also applies to APAC Services, with following exceptions:
Shipments created with APAC Services do not use the label settings listed on the reference page. They instead use the label settings listed below in Label Settings for APAC Services.
Shipments created with APAC Services cannot be reprinted or retried. Do not use the Reprint or Retry operations for labels created with APAC Services.
Label Settings for APAC Services¶
Please read the following considerations before printing a label using the APAC Services:
Label size values use an uppercase
X
. Do not use a lowercase x.If you set the file format to
PDF
, you must setcontentType
toBASE64
. The PDF label can be returned only as a Base64-encoded string. It cannot be returned as a URL. To decode the string as a PDF, use a tool that converts Base64 to the application/pdf MIME type.If you set the file format to
ZPL2
and the content type toBASE64
, the label is returned as raw ZPL, not as a Base64-encoded string.By default, the APIs print ZPL2 labels using the Unicode character set. If you have an older printer that does not support Unicode, see this Troubleshooting topic.
Advise shippers on correct label placement. Please see What is the correct placement for a shipping label?
The table below describes the options for labels printed with the APAC URLs. Set label options in the Documents Object:
Label Size |
File Format |
Content Type |
Resolution |
---|---|---|---|
DOC_4X4 |
PNG ZPL2 1 |
BASE64 BASE64 BASE64 2 |
DPI_203 DPI_203 DPI_203 (default), DPI_300 |
DOC_4X5 |
PNG ZPL2 1 |
BASE64 BASE64 BASE64 2 |
DPI_203 DPI_203 DPI_203 (default), DPI_300 |
DOC_4X6 |
PNG ZPL2 1 |
BASE64 BASE64 BASE64 2 |
DPI_203 DPI_203 DPI_203 (default), DPI_300 |