The skuPrices
actor-chain returns the list and sale prices for a specific product using its SKU ID:
Parameter | Description |
---|---|
| Identifies the product ID to use. |
| The SKU ID to use. |
Get Prices by Product ID Example
curl -v -b customer_cookies.txt -H "Content-Type: application/json" -d "{ \"skuId\" : \"xsku2085\"}" "http://localhost:8280/rest/model/atg/commerce/ pricing/PricingActor/skuPrices"
The server response may be similar to the following:
{"listPrice": 19, "salePrice": 19,}