Jump to content

Read Reduced and Regular Price with API


Recommended Posts

Hi!

How is it possible to read/update the regular product price and the reduced price of a product by the webservice?

 

If I set a product as an offer with a special price in /api/products/[myId]

<price> contains only the reduced price

 

 

 

 

using Prestashop 1.4.10.0

Link to comment
Share on other sites

so i found a way to read the reduced and official price:

/api/products/PRODUCT-ID?price[my_price][use_reduction]=0

it generates a <my_price> - Tag for the regular price

 

updating the reduced price is a bit more work.

 

 

Thx prestashop community!

Link to comment
Share on other sites

×
×
  • Create New...