update_product_stock
Record stock entries or exits for a product in a specific warehouse. Specify product ID, warehouse, and a positive (entry) or negative (exit) quantity to adjust inventory levels.
Instructions
Effectuer un mouvement de stock (entrée ou sortie) pour un produit
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | Yes | Quantité (positive pour entrée, négative pour sortie) | |
| label | No | Libellé du mouvement (ex: Réception commande #123) | |
| price | No | Prix unitaire HT d'achat (pour valorisation stock) | |
| product_id | Yes | ID du produit | |
| warehouse_id | Yes | ID de l'entrepôt | |
| codeinventory | No | Code d'inventaire (référence interne) |