# Display live inventory on a storefront or menu

Menu and e-commerce integrations need current product data: what's in stock, what it's called, and what strain it is.

## Pull active packages

```bash
curl "https://api.seedlink.dev/v1/connections/8f9ab02c-78c2-4292-a43d-79a327a4efd5/facilities/fac_C11-0000123-LIC/packages?status=active" \
  -H "Authorization: Bearer sl_at_..."
```

`quantity` tells you what's available. `is_on_hold` tells you whether it should be pulled from the menu even though it's technically active.

## Enrich with item and strain details

```bash
curl "https://api.seedlink.dev/v1/connections/8f9ab02c-78c2-4292-a43d-79a327a4efd5/facilities/fac_C11-0000123-LIC/items" \
  -H "Authorization: Bearer sl_at_..."

curl "https://api.seedlink.dev/v1/connections/8f9ab02c-78c2-4292-a43d-79a327a4efd5/facilities/fac_C11-0000123-LIC/strains" \
  -H "Authorization: Bearer sl_at_..."
```

Match packages to their item and strain records for display fields like `unit_weight`, `genetics`, and indica/sativa split.

## Show lab results if you display COAs

```bash
curl "https://api.seedlink.dev/v1/connections/8f9ab02c-78c2-4292-a43d-79a327a4efd5/facilities/fac_C11-0000123-LIC/lab_results?package_id=pkg_2385762" \
  -H "Authorization: Bearer sl_at_..."
```

## Gotchas

There's no `modified_since` filter, so keep a reasonable poll interval rather than pulling the full active set on every page load.

