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.
/products/{idOrSlug}/availabilityhttps://api.lynkow.com/storefront/{siteId}Path parameters
idOrSlugstringrequiredProduct identifier (prod_ prefixed id) or product slug. Only a product published on the site resolves
Query parameters
fromstringrequiredRequired. First day of the window (`YYYY-MM-DD`), included
tostringrequiredRequired. Last day of the window (`YYYY-MM-DD`), included. A span too long is shortened: see `window.to`
fallbackbooleanHas no effect here: a missing translation never empties this response
localestringBCP 47 locale code (e.g. "en", "fr")
offeringIdstringReservation offering identifier (roff_ prefixed id). 1-200 characters
partySizeintegerNumber of guests, 1 to 50. It does not filter the slots: compare it with `seatsRemaining`