cURL
curl --request GET \ --url https://api.zenflow.com.ar/api/v1/products/{id} \ --header 'X-API-Key: <api-key>'
Obtener un producto por ID
read:products
GET /api/v1/products/{id}
curl -X GET "https://api.zenflow.com.ar/api/v1/products/100" \ -H "X-API-Key: zenflow_live_your_key"
{ "success": true, "data": { "id": 100, "barcode": "7891234567890", "external_id": "SKU-001", "name": "Widget A", "description": "Widget de alta calidad", "category": "Electrónica", "price": 29.99, "weight": 0.5, "width": 10, "height": 5, "depth": 3, "sales_unit": 1, "weighable": false, "photo_url": "https://example.com/widget-a.jpg", "is_active": true, "stock": [ { "location_id": "LOC-A1", "location_code": "A-01-01", "quantity": 50 } ], "created_at": "2024-01-01T10:00:00Z", "updated_at": "2024-01-14T15:30:00Z" } }