Create product reference
Create product reference in PrestaShop "reference" column
Get calculated product stock
Subtracts the number of ordered items from the existing item's stock and returns the item id and the calculated total remaining number of items.
Get product quantity
Returns the available quantity for the specified product IDs.
Update product stock
Updates a specified product's stock quantity.