---
title: "Query Location Series"
description: "How to call Query Location Series (POST /api/location-series-reports) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/reference/query_location_series_beta"
revision: "2026-10-15.pre"
operationId: "query_location_series_beta"
aliases: ["create_location_series_report"]
method: "POST"
endpoint: "https://a.klaviyo.com/api/location-series-reports"
authentication: "privateKey"
scopes: ["locations:read"]
rateLimits: {"burst":"3/s","steady":"60/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
preRelease: "BETA"
openApi: "https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15.pre/openapi/beta/apis/query_location_series_beta.json"
jsonApi: {"fields":{"location-series-report":["date_times","id","results"]}}
related: ["https://developers.klaviyo.com/en/reference/reporting-beta/llms.txt","https://developers.klaviyo.com/en/reference/query_location_values_beta.md","https://developers.klaviyo.com/en/reference/ask_analytics_question_beta.md","https://developers.klaviyo.com/en/reference/query_social_series_beta.md","https://developers.klaviyo.com/en/reference/query_social_values_beta.md"]
---

# Query Location Series

> This is the Markdown version of https://developers.klaviyo.com/en/reference/query_location_series_beta

```http
POST https://a.klaviyo.com/api/location-series-reports
```


> [!WARNING]
> **This endpoint is in beta and subject to change.**
> A beta revision header (2026-10-15.pre) is required to use our beta APIs. Klaviyo APIs in beta are not intended for use in production. See our [versioning and deprecation policy](https://developers.klaviyo.com/en/docs/api_versioning_and_deprecation_policy.md) for more information.


Get daily in-store sales for a location.

Set `filter.location_id` to the location. Sales come from the location's connected point-of-sale integration. If no integration is connected, each statistic returns an empty list.

- Revision header: `revision: 2026-10-15.pre` (required)
- Scopes: `locations:read`
- Rate limits: Burst: `3/s`, Steady: `60/m`
- OpenAPI: [Download this endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15.pre/openapi/beta/apis/query_location_series_beta.json)

## Example request

### curl

```bash
curl --request POST \
     --url 'https://a.klaviyo.com/api/location-series-reports' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2026-10-15.pre' \
     --header 'content-type: application/vnd.api+json' \
     --data '{
  "data": {
    "type": "location-series-report",
    "attributes": {
      "statistics": [
        "revenue",
        "order_count"
      ],
      "timeframe": {
        "key": "last_30_days"
      },
      "interval": "day"
    }
  }
}'
```

### CLI

```bash
klaviyo beta reporting query-location-series \
  -d '{
  "data": {
    "type": "location-series-report",
    "attributes": {
      "statistics": [
        "revenue",
        "order_count"
      ],
      "timeframe": {
        "key": "last_30_days"
      },
      "interval": "day"
    }
  }
}'
```

Sign in first with `klaviyo auth login`. [Install the Klaviyo CLI](https://developers.klaviyo.com/en/docs/klaviyo_cli.md)

## Query parameters

- `fields[location-series-report]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/reference.md) Allowed values: `date_times`, `id`, `results`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2026-10-15.pre`

## Request body

Content type: `application/vnd.api+json` (required)

- `data` (object, required)
  - `type` (string, required): Allowed values: `location-series-report`
  - `attributes` (object, required)
    - `statistics` (string[], required): Statistics to return for each day. `revenue` is sales after refunds (`gross_revenue` minus `refunds`). `purchasers` counts unique buyers per day, so adding up days can count the same buyer more than once. Allowed values: `revenue`, `gross_revenue`, `refunds`, `purchasers`, `order_count`
    - `timeframe` (object, required): The days to report on. Use a preset `key` or a `start` and `end` up to 365 days apart. `all_time` isn't supported.
      - `key` (string, nullable): Named preset window. Allowed values: `all_time`, `today`, `yesterday`, `this_week`, `last_7_days`, `last_week`, `this_month`, `last_30_days`, `last_month`, `last_90_days`, `last_3_months`, `last_365_days`, `last_12_months`, `this_year`, `last_year` Example: `last_30_days`
      - `start` (string<date-time>, nullable): First day to include, in the account's timezone. Example: `2026-09-01T00:00:00+00:00`
      - `end` (string<date-time>, nullable): Last day to include, in the account's timezone. Example: `2026-09-30T00:00:00+00:00`
    - `interval` (string, required): How to group the results. Only `day` is supported. Allowed values: `day` Example: `day`
    - `filter` (object, nullable): Which location to report on.
      - `location_id` (string, nullable): The location to report on. Required. Example: `01JABCDEFGHJKMNPQRSTVWXYZ0`

### Example request body

```json
{
  "data": {
    "type": "location-series-report",
    "attributes": {
      "statistics": [
        "revenue",
        "order_count"
      ],
      "timeframe": {
        "key": "last_30_days"
      },
      "interval": "day"
    }
  }
}
```

## Responses

### 200: Success

Content type: `application/vnd.api+json`

- `data` (object, required)
  - `type` (string, required): Allowed values: `location-series-report`
  - `id` (string, required): Opaque identifier for this report response. Example: `b13f8dea-895a-4a7c-a349-cc8efd25b1ba`
  - `attributes` (object, required)
    - `date_times` (string<date-time>[], required): The start of each day in the report, in the account's timezone.
    - `results` (object[], required): One series per location.
      - `groupings` (object, required): The location this series belongs to.
      - `statistics` (object, required): Each requested statistic, with one value per day in `date_times`. Null if the statistic isn't available for this location.
  - `links` (object, required)
    - `self` (string<uri>, required)
- `links` (ObjectLinks): Same fields as the first ObjectLinks above.

#### Example response body

```json
{
  "data": {
    "type": "location-series-report",
    "id": "b13f8dea-895a-4a7c-a349-cc8efd25b1ba",
    "attributes": {
      "date_times": [
        "2026-10-01T00:00:00+00:00",
        "2026-10-02T00:00:00+00:00"
      ],
      "results": [
        {
          "groupings": {
            "location_id": "01JABCDEFGHJKMNPQRSTVWXYZ0"
          },
          "statistics": {
            "revenue": [
              100,
              80
            ],
            "order_count": [
              4,
              2
            ]
          }
        }
      ]
    },
    "links": {
      "self": "https://www.example.com"
    }
  },
  "links": {
    "self": "https://www.example.com"
  }
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
