Visitar URL original
Query Location Series | Klaviyo API ReferenceSkip to content

This page is available as Markdown at https://developers.klaviyo.com/en/reference/query_location_series_beta.md. Its OpenAPI document is at https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15.pre/openapi/beta/apis/query_location_series_beta.json. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers

This endpoint is in beta. Call it with the revision header 2026-10-15.pre. Beta endpoints may change before they're generally available. See our versioning and deprecation policy for more information.

POSThttps://a.klaviyo.com/api/location-series-reports

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.prerequired
Scopes
locations:read
Rate limits
Burst: 3/sSteady: 60/m

Query parameters

  • fields[location-series-report]#string[]

    For more information please visit API overview

    Allowed values:
    • date_times
    • id
    • results

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2026-10-15.pre

Request body

Content type: application/vnd.api+jsonrequired

  • data#objectrequired
    Show 2 fields
    • type#stringrequired
      Allowed values:
      • location-series-report
    • attributes#objectrequired
      Show 4 fields
      • 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#objectrequired

        The days to report on. Use a preset key or a start and end up to 365 days apart. all_time isn't supported.

        Show 3 fields
        • key#stringnullable

          Named preset window.

          Show 15 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#stringrequired

        How to group the results. Only day is supported.

        Allowed values:
        • day

        Example: day

      • filter#objectnullable

        Which location to report on.

        Show 1 field
        • location_id#stringnullable

          The location to report on. Required.

          Example: 01JABCDEFGHJKMNPQRSTVWXYZ0

Responses

200Success

Content type: application/vnd.api+json

  • data#objectrequired
    Show 4 fields
    • type#stringrequired
      Allowed values:
      • location-series-report
    • id#stringrequired

      Opaque identifier for this report response.

      Example: b13f8dea-895a-4a7c-a349-cc8efd25b1ba

    • attributes#objectrequired
      Show 2 fields
      • 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.

        Show 2 fields
        • groupings#objectrequired

          The location this series belongs to.

        • statistics#objectrequired

          Each requested statistic, with one value per day in date_times. Null if the statistic isn't available for this location.

4XXClient Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string