The productPriceRanges
actor-chain returns the lowest and highest prices for a specific product. It uses the following parameters:
Parameter | Description |
---|---|
| Identifies the product ID to use. |
Get Prices by Range ID Example
curl -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{ \"productId\" : \"xprod2085\"}" "http://localhost:8280/rest/model/atg/commerce/ pricing/PricingActor/productPriceRanges"
The server response may be similar to the following:
{"highestSalePrice": 19, "lowestSalePrice": 19, }