---
title: "Get available booking slots for a product on a specific date"
method: GET
path: "/booking-slots"
tags: ["Product Types"]
---

# Get available booking slots for a product on a specific date

`GET /booking-slots`

## Request

- Base URL: `http://localhost:8000/api/shop`
- URL: `http://localhost:8000/api/shop/booking-slots`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-shop-api/docs/booking-slots/get.ts> (a function with typed inputs; its response is checked against the schema)

Mirrors the GraphQL bookingSlots query. Routes the booking product to its type-specific helper (default | appointment | rental | event | table). Flat types return [{slotId, from, to, timestamp, qty}]; rental returns [{slotId, time, slots: [{from, to, timestamp, qty}]}].

## Query parameters

- `id` integer, required
- `date` string, date, required

## Headers

- `X-STOREFRONT-KEY` string, required
- `X-Locale` string
- `X-Channel` string
- `X-Currency` string

## Response `200`

Available booking slots for the product on the given date.

## Other responses

- `400`: Missing required `id` or `date` query parameter.

---

[API](https://skmtc.dev/bagisto/apis/bagisto-shop-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-shop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-shop-api/revisions/f619df36bf29?raw)
