Skip to main content
GET
https://api.zenflow.com.ar
/
api
/
v1
/
products
/
sku
/
{sku}
Get Product by SKU
curl --request GET \
  --url https://api.zenflow.com.ar/api/v1/products/sku/{sku} \
  --header 'X-API-Key: <api-key>'

Get Product by SKU

Retrieve a product using its SKU (external_id).
Requires read:products scope.

Request

GET /api/v1/products/sku/{sku}

Path Parameters

sku
string
required
The product SKU (external_id)

Example

curl -X GET "https://api.zenflow.com.ar/api/v1/products/sku/SKU-001" \
  -H "X-API-Key: zenflow_live_your_key"

Response

{
  "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
      }
    ]
  }
}

Error Response

{
  "success": false,
  "error": {
    "code": "not_found",
    "message": "Product not found"
  }
}