---
title: "Lists a calendar product's open slots in a range of up to 32 days, as its customers see them, or, given a booking, the starts the seller may move it to (which needs `customer:read` too)."
---

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

Path: Sherpo merchant API › product

`GET /v1/stores/{store}/products/{product}/call_slots`

## Authentication

- `bearer`, http, header `Authorization`, scopes: `product:read`

## Path parameters

- `store` (`listCallSlots.path.store`; string, required) — The store's id.
- `product` (`listCallSlots.path.product`; string, required) — An id, or `slug:<slug>`.
  - minLength 1

## Query parameters

- `from` (`listCallSlots.query.from`; string, optional) — The earliest start to answer; now when left out.
  - format `date-time`
- `to` (`listCallSlots.query.to`; string, optional) — The start to answer up to, at most 32 days past `from` (31 and a day of slack for a clock change); 7 days past it when left out.
  - format `date-time`
- `booking` (`listCallSlots.query.booking`; string, optional) — An id.
  - minLength 1

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://api.sherpo.io/merchant/v1/stores/<store>/products/<product>/call_slots' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.sherpo.io/merchant/v1/stores/<store>/products/<product>/call_slots';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.sherpo.io/merchant/v1/stores/<store>/products/<product>/call_slots"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Lists a calendar product's open slots in a range of up to 32 days, as its customers see them, or, given a booking, the starts the seller may move it to (which needs `customer:read` too).

#### Example

```json
{
  "time_zone": "string",
  "duration_minutes": 0,
  "slots": [
    {
      "starts_at": "string",
      "ends_at": "string"
    }
  ],
  "next_from": "string"
}
```

- `time_zone` (`listCallSlots.response.200.time_zone`; any of, required)
  - any of: `string`, `null`
- `duration_minutes` (`listCallSlots.response.200.duration_minutes`; number, required)
- `slots` (`listCallSlots.response.200.slots`; array<object>, required)
  - `starts_at` (`listCallSlots.response.200.slots.starts_at`; string, required)
  - `ends_at` (`listCallSlots.response.200.slots.ends_at`; string, required)
- `next_from` (`listCallSlots.response.200.next_from`; any of, required) — Where a read past these slots starts; null when the range holds no more.
  - any of: `string`, `null`

### default

A problem; see https://api.sherpo.io/merchant/docs/errors.

#### Example

```json
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "context": {},
  "reached_core": true,
  "core_answer": "string"
}
```

- `type` (`listCallSlots.response.default.type`; string, required)
  - format `uri`
- `title` (`listCallSlots.response.default.title`; string, required)
- `status` (`listCallSlots.response.default.status`; integer, required)
- `detail` (`listCallSlots.response.default.detail`; string, required)
- `code` (`listCallSlots.response.default.code`; string, optional)
- `context` (`listCallSlots.response.default.context`; object, optional)
- `reached_core` (`listCallSlots.response.default.reached_core`; boolean, optional)
- `core_answer` (`listCallSlots.response.default.core_answer`; string, optional)


Source: https://docs.sherpo.io/merchant-api/reference/list-call-slots/index.md
