---
title: "aid_report_configuration_post"
method: POST
path: "/accounts/{aid}/insight/reports/configuration"
tags: ["report-configuration"]
---

# aid_report_configuration_post

`POST /accounts/{aid}/insight/reports/configuration`

Create a new report configuration

scopes:
  - write:insight
  - admin:insight

## Path parameters

- `aid` string, ^[PT]{1}\d{8}$, required

## Request body

- union
  - InsightCheckoutTransactionsReportConfig
    - `dataType` 'checkout/transactions', required — Service (source) and type of data used to create the report
    - `name` string, required — Custom name of the report. Will be shown in report listing and in the report filename
    - `emails` string[] — Emails will receive auto-generated report (or link to report if the report is to large)
    - `schedule` 'monthly' | 'weekly' | 'daily', required — Schedule for the report, how often will the report be generated
    - `language` 'no' | 'en', required — Report Language
    - `reportFilters` InsightTransactionReportFilter[] — List of filters used to filter the data for the report. Similar to SQL WHERE-clause. i.e, WHERE filter=value
      - `filter` 'store_id' | 'payout_destination_id', required — The property the data will be filtered on
      - `value` string, required — The value used to filter the data on
    - `contentTypes` string[] — Content types for the report
  - InsightCheckoutOpenTransactionsReportConfig
    - `dataType` 'checkout/transactions/open', required — Service (source) and type of data used to create the report
    - `name` string, required — Custom name of the report. Will be shown in report listing and in the report filename
    - `emails` string[] — Emails will receive auto-generated report (or link to report if the report is to large)
    - `schedule` 'monthly' | 'weekly' | 'daily', required — Schedule for the report, how often will the report be generated
    - `language` 'no' | 'en', required — Report Language
    - `reportFilters` InsightOpenTransactionReportFilter[] — List of filters used to filter the data for the report. Similar to SQL WHERE-clause. i.e, WHERE filter=value
      - `filter` 'store_id' | 'older_than_days', required — The property the data will be filtered on
      - `value` string, required — The value used to filter the data on
    - `contentTypes` string[] — Content types for the report
  - InsightOrdersOrderOperationsReportConfig
    - `dataType` 'orders/orderoperations', required — Service (source) and type of data used to create the report
    - `name` string, required — Custom name of the report. Will be shown in report listing and in the report filename
    - `emails` string[] — Emails will receive auto-generated report (or link to report if the report is to large)
    - `schedule` 'weekly' | 'twice-a-month' | 'daily', required — Schedule for the report, how often will the report be generated
    - `language` 'no' | 'en', required — Report Language
    - `reportFilters` InsightOrderReportFilter[] — List of filters used to filter the data for the report. Similar to SQL WHERE-clause. i.e, WHERE filter=value
      - `filter` 'operation_payout_destination' — The "field/column" the data will be filtered on
      - `value` string — The value the records must contain for the provided filter (field/column)
    - `contentTypes` string[] — Content types for the report
  - InsightWalletsTransactionsReportConfig
    - `dataType` 'wallets/transactions', required — Service (source) and type of data used to create the report
    - `name` string, required — Custom name of the report. Will be shown in report listing and in the report filename
    - `emails` string[] — Emails will receive auto-generated report (or link to report if the report is to large)
    - `schedule` 'monthly' | 'weekly' | 'daily', required — Schedule for the report, how often will the report be generated
    - `language` 'no' | 'en', required — Report Language
    - `contentTypes` string[] — Content types for the report

## Response `200`

Insight Report Configuration

- union
  - object
    - `id` string, uuid — An UUID that uniquely identifies the resource
    - `accountId` string, uuid — An id that uniquely identifies the account
    - `created_at` string, date-time — The date-time when the resource was created
    - `created_by` string — The ID of the user/client that created the resource
    - `dataType` 'checkout/transactions', required — Service (source) and type of data used to create the report
    - `name` string, required — Custom name of the report. Will be shown in report listing and in the report filename
    - `emails` string[] — Emails will receive auto-generated report (or link to report if the report is to large)
    - `schedule` 'monthly' | 'weekly' | 'daily', required — Schedule for the report, how often will the report be generated
    - `language` 'no' | 'en', required — Report Language
    - `reportFilters` InsightTransactionReportFilter[] — List of filters used to filter the data for the report. Similar to SQL WHERE-clause. i.e, WHERE filter=value
      - `filter` 'store_id' | 'payout_destination_id', required — The property the data will be filtered on
      - `value` string, required — The value used to filter the data on
    - `contentTypes` string[] — Content types for the report
  - object
    - `id` string, uuid — An UUID that uniquely identifies the resource
    - `accountId` string, uuid — An id that uniquely identifies the account
    - `created_at` string, date-time — The date-time when the resource was created
    - `created_by` string — The ID of the user/client that created the resource
    - `dataType` 'checkout/transactions/open', required — Service (source) and type of data used to create the report
    - `name` string, required — Custom name of the report. Will be shown in report listing and in the report filename
    - `emails` string[] — Emails will receive auto-generated report (or link to report if the report is to large)
    - `schedule` 'monthly' | 'weekly' | 'daily', required — Schedule for the report, how often will the report be generated
    - `language` 'no' | 'en', required — Report Language
    - `reportFilters` InsightOpenTransactionReportFilter[] — List of filters used to filter the data for the report. Similar to SQL WHERE-clause. i.e, WHERE filter=value
      - `filter` 'store_id' | 'older_than_days', required — The property the data will be filtered on
      - `value` string, required — The value used to filter the data on
    - `contentTypes` string[] — Content types for the report
  - object
    - `id` string, uuid — An UUID that uniquely identifies the resource
    - `accountId` string, uuid — An id that uniquely identifies the account
    - `created_at` string, date-time — The date-time when the resource was created
    - `created_by` string — The ID of the user/client that created the resource
    - `dataType` 'orders/orderoperations', required — Service (source) and type of data used to create the report
    - `name` string, required — Custom name of the report. Will be shown in report listing and in the report filename
    - `emails` string[] — Emails will receive auto-generated report (or link to report if the report is to large)
    - `schedule` 'weekly' | 'twice-a-month' | 'daily', required — Schedule for the report, how often will the report be generated
    - `language` 'no' | 'en', required — Report Language
    - `reportFilters` InsightOrderReportFilter[] — List of filters used to filter the data for the report. Similar to SQL WHERE-clause. i.e, WHERE filter=value
      - `filter` 'operation_payout_destination' — The "field/column" the data will be filtered on
      - `value` string — The value the records must contain for the provided filter (field/column)
    - `contentTypes` string[] — Content types for the report
  - object
    - `id` string, uuid — An UUID that uniquely identifies the resource
    - `accountId` string, uuid — An id that uniquely identifies the account
    - `created_at` string, date-time — The date-time when the resource was created
    - `created_by` string — The ID of the user/client that created the resource
    - `dataType` 'wallets/transactions', required — Service (source) and type of data used to create the report
    - `name` string, required — Custom name of the report. Will be shown in report listing and in the report filename
    - `emails` string[] — Emails will receive auto-generated report (or link to report if the report is to large)
    - `schedule` 'monthly' | 'weekly' | 'daily', required — Schedule for the report, how often will the report be generated
    - `language` 'no' | 'en', required — Report Language
    - `contentTypes` string[] — Content types for the report

## Other responses

- `400` — Bad / Invalid request
- `401` — Unauthorized
- `403` — Forbidden
- `409` — Conflict
- `500` — Unexpected Error

---

[API](https://skmtc.net/dintero/apis/account-management-api.md) · [All operations](https://skmtc.net/dintero/apis/account-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dintero/account-management-api/versions/9b83a4199008/schema)
