cURL
curl --request GET \ --url https://api.zenflow.com.ar/api/v1/stock/product/{productId} \ --header 'X-API-Key: <api-key>'
Get stock levels for a specific product
read:stock
GET /api/v1/stock/product/{productId}
curl -X GET "https://api.zenflow.com.ar/api/v1/stock/product/100" \ -H "X-API-Key: zenflow_live_your_key"
{ "success": true, "data": { "product_id": 100, "product_name": "Widget A", "barcode": "7891234567890", "total_quantity": 75, "locations": [ { "location_id": "LOC-A1", "location_code": "A-01-01", "zone": "A", "quantity": 50 }, { "location_id": "LOC-B1", "location_code": "B-01-01", "zone": "B", "quantity": 25 } ] } }