Bibi
Bibi

Reputation: 33

How I can change the quantity in the product table with Prestashop Webservice?

When I collect data through prestashop/api/products/(id) it's always 0 even if I change the quantity database directly. It is possible that the data of quantity is collected in another data base table?

Upvotes: 0

Views: 1668

Answers (1)

Indrė
Indrė

Reputation: 1136

It depends on the stock method you choose, but products quantity is in tables ps_stock_available, ps_stock.

You should never change the quantity in database directly.

Upvotes: 2

Related Questions