Definition Get
GET
{{api_url}}/shop/reportstore/definition/{{report_key}}Returns one report definition by its report_key: report_store_def_id, report_key, report_name, date_created, date_modified, and report_columns.
Each entry in report_columns carries:
| Field | Description |
|---|---|
key | The field name on every saved row of this report. |
label | Display name. |
slot | Present on most columns. d1 to d8 is a text column, n1 to n12 a number column. |
decimals | Present on some number columns: the decimal places the value is shown with. |
slot decides what Aggregate can do with a column. A d column can be used in group_by, an n column in sum. A column with no slot is still saved on every row and returned by Run Get, but cannot be grouped or summed.
Authorization
Bearer token, sent in the Authorization header. Inherited from the collection.
Example Request
curl --location --request GET '{{api_url}}/shop/reportstore/definition/{{report_key}}' \
--header 'Authorization: Bearer {{auth_token}}'Example Responses
Definition Get
Request
curl --location --request GET '{{api_url}}/shop/reportstore/definition/amazon_seller_performance' \
--header 'Authorization: Bearer YOUR_API_KEY'Response 200 OK
{
"report_store_def_id": 2,
"report_key": "amazon_seller_performance",
"report_name": "Amazon Seller Performance",
"report_columns": [
{
"key": "marketplace_id",
"label": "Marketplace",
"slot": "d1"
},
{
"key": "metric",
"label": "Metric",
"slot": "d2"
},
{
"key": "fulfillment_type",
"label": "Fulfillment",
"slot": "d3"
},
{
"key": "status",
"label": "Status",
"slot": "d4"
},
{
"key": "rate",
"label": "Rate",
"slot": "n1",
"decimals": 4
},
{
"key": "target_value",
"label": "Target",
"slot": "n2",
"decimals": 4
},
{
"key": "target_condition",
"label": "Target Condition"
},
{
"key": "date_from",
"label": "From"
},
{
"key": "date_to",
"label": "To"
}
],
"date_created": "2026-11-24 10:13:26",
"date_modified": "2026-12-01 09:35:32"
}
