cURL
curl --request GET \ --url https://api.zenflow.com.ar/api/v1/products/sku/{sku} \ --header 'X-API-Key: <api-key>'
Retrieve a product by SKU (external_id)
read:products
GET /api/v1/products/sku/{sku}
curl -X GET "https://api.zenflow.com.ar/api/v1/products/sku/SKU-001" \ -H "X-API-Key: zenflow_live_your_key"
{ "success": true, "data": { "id": 100, "barcode": "7891234567890", "external_id": "SKU-001", "name": "Widget A", "category": "Electronics", "price": 29.99, "stock": [ { "location_id": "LOC-A1", "quantity": 50 } ] } }
{ "success": false, "error": { "code": "not_found", "message": "Product not found" } }