It is possible to retrieve the customer prices for a given product, simply by passing parameters to a web service query.
These custom prices are available for the following entities:
Custom prices have an alias that you must indicate.
Let's say we want to retrieve the price for combination '25' of the product '1', with tax, in a web service field name "my_price".
The query: /api/products/1?price[my_price][use_tax]=1&price[my_price][product_attribute]=25
Before PrestaShop 1.6.0.10, this query retrieved the price without tax. The behavior has been changed to make it more on par with needs. |
Here is the list of available parameters when needing to define a custom price: