View a Product¶
HTTP Request¶
GET /v1/products/{sku}?clientId={clientId}
Summary¶
This operation retrieves product details for a product in the master catalog.
Request URLs¶
Sandbox: https://shipping-api-sandbox.pitneybowes.com/shippingservices/fulfillment/v1/products/{sku}?clientId={clientId}
Production: https://shipping-api.pitneybowes.com/shippingservices/fulfillment/v1/products/{sku}?clientId={clientId}
Path Parameter¶
Name |
Description |
---|---|
sku |
Required. The SKU used to track the product in the warehouse. |
Query Parameters¶
Name |
Description |
---|---|
clientId |
Required. The client ID assigned by Pitney Bowes. |
brand |
The manufacturer’s brand name for the item. |
Request Headers¶
Name |
Description |
---|---|
Authorization |
Required. OAuth token generated using the Generate an OAuth Token API. |
X-PB-TransactionId |
Required. A unique identifier for the request, up to 25 characters. The following characters are allowed: letters, numbers, hyphens ( Important: Ensure this is a unique ID. |
Response Elements¶
Name |
Data Type |
Description |
---|---|---|
clientId |
String |
The client ID assigned by Pitney Bowes. |
vendorDetails |
Object |
|
vendorDetails.name |
String |
Name of the vendor, up to 50 characters. |
vendorDetails.number |
String |
The vendor identifier, up to 30 characters. |
productType |
String |
Identifies the product as one of the following:
|
sku |
String |
The SKU used to track the product in the warehouse, up to 30 characters. |
createDate |
String |
The date the product was created in the client system, specified in the ISO 8601 format. |
updateDate |
String |
The date the product was modified in the client system, specified in the ISO 8601 format. |
pbCreateDate |
String |
The date the product was created in the Pitney Bowes system, specified in the ISO 8601 format: YYYY-MM-DDThh:mm:ss.sss±hhmm
|
pbUpdateDate |
String |
The date the order was created in the Pitney Bowes system, specified in the ISO 8601 format. |
fulfillmentRegion |
String |
Where the product is sent for fulfillment. Possible values:
|
details |
||
options |
Array[Object] |
Defines available options for the product. |
options.name |
String |
A product option. Possible values:
|
options.code |
String |
A selectable code for the specified option, such as a style code or color code, up to 8 characters. |
options.description |
String |
A description of the option, up to 35 characters. |
active |
Boolean |
The status of the product. If |
status |
String |
Possible values:
|
shippingAttributes |
Object |
|
shippingAttributes.shipsAlone |
Boolean |
The product is a ship alone. Default value: |
shippingAttributes.dropShip |
Boolean |
The product is fulfilled by drop shipper. Default value: |
shippingAttributes.safetyFactor |
Number |
Reserved for future use. |
returnParameters |
||
returnParameters.returnable |
Boolean |
Indicates whether the product can be returned. Default value: |
returnParameters.returnWindow |
Number, up to 1 decimal place |
The number of days allowed for returns. A value of |
prePackagedBoxQuantity |
Number |
The number of units in a prepackaged box. |
physicalUnitDetails |
Object |
The product’s weight and dimensions. |
physicalUnitDetails.weight |
Number, up to 4 decimal places |
Weight. |
physicalUnitDetails.weightUOM |
String |
The unit of measurement for the product’s weight. Possible value:
|
physicalUnitDetails.dimensions |
The product’s dimensions. |
|
physicalCaseDetails |
Object |
|
physicalCaseDetails.caseWeight |
Number, up to 4 decimal places |
The weight of one item of this type of commodity. |
physicalCaseDetails.unitOfMeasurement |
String |
The unit of measurement for the commodity’s weight. Possible value:
|
physicalCaseDetails.caseDimension |
The case dimensions. |
|
physicalCaseDetails.standardQuantity |
Number, up to 1 decimal place |
Standard case quantity for this SKU, must be greater than 0. |
inventoryParameters |
||
additionalLanguageSupport |
Array[Object] |
|
additionalLanguageSupport.reference |
String |
The locale for additional language support on the packing slip. For example: |
additionalLanguageSupport.value |
String |
The description of the product for the specified locale, up to 255 characters. |
Sample Request¶
curl -X GET ".../v1/products/1643040064?clientId=1234" \
-H "Authorization: Bearer <oauth_token>" \
-H "X-PB-TransactionId: <unique_identifier>"
Sample Response¶
{
"clientId": "1234",
"vendorDetails": {
"name": "ABC Vendor",
"number": "781234"
},
"productType": "KIT",
"sku": "1643040064",
"createDate": "2022-01-18T05:00:00Z",
"pbCreateDate": "2022-01-18T14:27:23Z",
"fulfillmentRegion": "PB_ONLY",
"details": {
"category": "dresses",
"description": "vintage floral-print dress",
"hazmatClassification": {
"dotHazmatCode": "",
"unHazmatCode": "",
"hazmatDescription": ""
},
"hsClassification": [ {
"hsTariffCode": "640442",
"countryCode": "IN"
} ],
"identifiers": [ {
"number": "842842",
"source": "MPN"
} ],
"image": {
"imageURL": "http://example.com/shop/women/clothing/dress/image01",
"imageContent": "iVBORw0KGgoAAAANSUhEUgAAAJoAAB9CAYAABavnotAKtmlDQ1BJQ0MgUHJvZ ... ",
"fileName": "image01",
"fileFormat": "PDF"
},
"manufacturer": "Acme Inc.",
"originCountryCode": "US",
"originStateProvince": "California",
"unitPrice": 75.0000,
"priceCurrency": "USD",
"url": "http://example.com/shop/women/clothing/dress/floral-long-sleeve"
},
"options": [ {
"name": "SIZE",
"code": "10",
"description": "10 (M)"
} ],
"active": true,
"status": "PUBLISHED",
"shippingAttributes": {
"shipsAlone": false,
"dropShip": false,
"safetyFactor": 1
},
"returnParameters": {
"returnable": true,
"returnWindow": 160
},
"prePackagedBoxQuantity": 10,
"physicalUnitDetails": {
"weight": 0.42,
"weightUOM": "LB",
"dimensions": {
"length": 12.3500,
"height": 3.2500,
"width": 10.5500,
"dimensionUOM": "IN"
}
},
"physicalCaseDetails": {
"caseWeight": 34.2000,
"unitOfMeasurement": "LB",
"caseDimension": {
"length": 15.0000,
"height": 32.5000,
"width": 15.0000,
"dimensionUOM": "IN"
},
"standardQuantity": 1
},
"inventoryParameters": {
"lotTracked": false,
"expiryDateTracked": false,
"expiryWindow": 90,
"serialTracked": false,
"fragile": false,
"temperatureControlled": false,
"highValue": false,
"requiresQuarantine": false
},
"additionalLanguageSupport": [ {
"reference": "EN_US",
"value": ""
} ]
}
Error Codes¶
For lists of error codes returned by the Fulfillment APIs, please see 80-Prefix Error Codes (Fulfillment APIs).