> For the complete Lynkow documentation index in agent-friendly format, see [llms.txt](/llms.txt).

# List a bookable product's available slots

**Published**: 2026-11-30
**Category**: Commerce

## `GET /products/:idOrSlug/availability`

**List a bookable product's available slots**

Returns every slot of a published bookable product's opening hours between `from` and
`to`. Book only a slot whose `available` is true. With several resources, a slot is
available while any has room.

A span longer than 62 days, or than the product's advance booking limit, is shortened:
`window.to` is the last day covered. `offeringId` applies that offering's duration and
buffers. It is ignored when offering selection is not enabled on the site.

Errors (422): `OFFERING_NOT_FOUND` for an unknown `offeringId`,
`VALIDATION_FIELD_INVALID` when `to` is before `from`. 404 `PRODUCT_NOT_FOUND` for an
unknown, unpublished or non-bookable product, or one without resources.

> **Note:** Available only on sites with e-commerce enabled.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `idOrSlug` | path | string | Yes | Product identifier (prod_ prefixed id) or product slug. Only a product published on the site resolves |
| `from` | query | string | Yes | Required. First day of the window (`YYYY-MM-DD`), included |
| `to` | query | string | Yes | Required. Last day of the window (`YYYY-MM-DD`), included. A span too long is shortened: see `window.to` |
| `partySize` | query | integer (1 to 50) | No | Number of guests, 1 to 50. It does not filter the slots: compare it with `seatsRemaining` |
| `offeringId` | query | string | No | Reservation offering identifier (roff_ prefixed id). 1-200 characters |
| `locale` | query | string | No | BCP 47 locale code (e.g. "en", "fr") |
| `fallback` | query | boolean | No | Has no effect here: a missing translation never empties this response |


### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `401` | Missing or invalid storefront publishable key |
| `402` | The site subscription does not currently permit this operation |
| `403` | The storefront key origin is not allowed |
| `404` | Not found |
| `422` | Validation error |


### SDK

```typescript
import { createClient } from 'lynkow'

const lynkow = createClient({
  siteId: process.env.LYNKOW_SITE_ID!,
  publishableKey: process.env.LYNKOW_PK,
})

const { slots, timezone } = await lynkow.reservations.availability('sunset-dinner-cruise', {
  from: '2026-07-10',
  to: '2026-07-17',
  partySize: 2,
})
```

---