Function getProductSellable
In order to get all sellable products
for a given product we need to use Product Data service(Product). Our API allows easy access by a GET
request to our sellable-products
endpoint.
HTTP VERB: GET
URL: https://api.psrestful.com/v2.0.0/suppliers/{SUPPLIER_CODE}/sellable-products/ (opens in a new tab)
Example Response:
This is the response from calling with no parameter. The response have been truncated because it was too large.
COMPLETE URL:
https://api.psrestful.com/v2.0.0/suppliers/HIT/sellable-products/
{
"ProductSellableArray": {
"ProductSellable": [
{
"productId": "1035",
"partId": "1035ATHGLD",
"culturePoint": null
},
{
"productId": "1035",
"partId": "1035BLK",
"culturePoint": null
},
{
"productId": "1035",
"partId": "1035GRA",
"culturePoint": null
},
{
"productId": "1035",
"partId": "1035GRK",
"culturePoint": null
},
{
"productId": "1035",
"partId": "1035KHK",
"culturePoint": null
},
{
"productId": "1035",
"partId": "1035NAV",
"culturePoint": null
},
...
]
},
"ServiceMessageArray": null
}