> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zenflow.com.ar/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Stock by SKU

> Get stock levels for a product by SKU

# Get Stock by SKU

Retrieve stock levels for a product using its SKU.

<Note>Requires `read:stock` scope.</Note>

## Request

```bash theme={null}
GET /api/v1/stock/sku/{sku}
```

### Path Parameters

<ParamField path="sku" type="string" required>
  The product SKU (external\_id)
</ParamField>

## Example

```bash theme={null}
curl -X GET "https://api.zenflow.com.ar/api/v1/stock/sku/SKU-001" \
  -H "X-API-Key: zenflow_live_your_key"
```

### Response

```json theme={null}
{
  "success": true,
  "data": {
    "product_id": 100,
    "sku": "SKU-001",
    "product_name": "Widget A",
    "total_quantity": 75,
    "locations": [
      {
        "location_id": "LOC-A1",
        "quantity": 50
      },
      {
        "location_id": "LOC-B1",
        "quantity": 25
      }
    ]
  }
}
```

## Error Response

```json theme={null}
{
  "success": false,
  "error": {
    "code": "not_found",
    "message": "Product not found"
  }
}
```
