---
title: "Counts an event's door: who is going, and each session with how many were let in."
---

> 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 › attendee

`GET /v1/stores/{store}/products/{product}/attendees/check_in/stats`

## Authentication

- `bearer`, http, header `Authorization`, scopes: `attendee:checkin`

## Path parameters

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

## Code samples

### cURL

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

### TypeScript

```typescript
const url = 'https://api.sherpo.io/merchant/v1/stores/<store>/products/<product>/attendees/check_in/stats';
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>/attendees/check_in/stats"

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

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

print(response.text)
```

## Responses

### 200

Counts an event's door: who is going, and each session with how many were let in.

#### Example

```json
{
  "going": 0,
  "sessions": [
    {
      "place": "string",
      "checked_in": 0,
      "id": "string",
      "product_id": "string",
      "starts_at": "string",
      "ends_at": "string",
      "time_zone": "string",
      "venue": "string",
      "online_label": "string",
      "created_at": "string",
      "updated_at": "string"
    }
  ]
}
```

- `going` (`eventCheckInStats.response.200.going`; number, required)
- `sessions` (`eventCheckInStats.response.200.sessions`; array<object>, required) — Every session, earliest first, with how many were let in.
  - `place` (`eventCheckInStats.response.200.sessions.place`; any of, required) — Where it takes place on one line, as a calendar shows it; null for neither a place nor an online label.
    - any of: `string`, `null`
  - `checked_in` (`eventCheckInStats.response.200.sessions.checked_in`; number, required)
  - `id` (`eventCheckInStats.response.200.sessions.id`; string, required)
  - `product_id` (`eventCheckInStats.response.200.sessions.product_id`; string, required)
  - `starts_at` (`eventCheckInStats.response.200.sessions.starts_at`; string, required)
  - `ends_at` (`eventCheckInStats.response.200.sessions.ends_at`; string, required)
  - `time_zone` (`eventCheckInStats.response.200.sessions.time_zone`; string, required) — An IANA time zone, e.g. `Europe/Rome`.
  - `venue` (`eventCheckInStats.response.200.sessions.venue`; any of, required) — Where it takes place in person, or null for none.
    - any of: `string`, `null`
  - `online_label` (`eventCheckInStats.response.200.sessions.online_label`; any of, required) — How it is joined online, e.g. `Zoom`, or null for none.
    - any of: `string`, `null`
  - `created_at` (`eventCheckInStats.response.200.sessions.created_at`; string, required)
  - `updated_at` (`eventCheckInStats.response.200.sessions.updated_at`; string, required)

### 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` (`eventCheckInStats.response.default.type`; string, required)
  - format `uri`
- `title` (`eventCheckInStats.response.default.title`; string, required)
- `status` (`eventCheckInStats.response.default.status`; integer, required)
- `detail` (`eventCheckInStats.response.default.detail`; string, required)
- `code` (`eventCheckInStats.response.default.code`; string, optional)
- `context` (`eventCheckInStats.response.default.context`; object, optional)
- `reached_core` (`eventCheckInStats.response.default.reached_core`; boolean, optional)
- `core_answer` (`eventCheckInStats.response.default.core_answer`; string, optional)


Source: https://docs.sherpo.io/merchant-api/reference/event-check-in-stats/index.md
