Definition List

GET{{api_url}}/shop/reportstore/definition/list

Lists every report kept in the Report Store for the account. No parameters, and the list is returned whole.

Each row carries:

FieldDescription
report_store_def_idDefinition id.
report_keyThe report's key, used by every other Report Store endpoint.
report_nameDisplay name.

Use Definition Get for a report's columns and Run Search for its saved periods.

Authorization

Bearer token, sent in the Authorization header. Inherited from the collection.

Example Request

curl --location --request GET '{{api_url}}/shop/reportstore/definition/list' \
--header 'Authorization: Bearer {{auth_token}}'

Example Responses

Definition List

Request

curl --location --request GET '{{api_url}}/shop/reportstore/definition/list' \
--header 'Authorization: Bearer YOUR_API_KEY'

Response 200 OK

[
    {
        "report_store_def_id": 7,
        "report_key": "amazon_mfn_returns",
        "report_name": "Amazon MFN Returns"
    },
    {
        "report_store_def_id": 4,
        "report_key": "amazon_sales_traffic",
        "report_name": "Amazon Sales and Traffic"
    },
    {
        "report_store_def_id": 6,
        "report_key": "amazon_seller_feedback",
        "report_name": "Amazon Seller Feedback"
    },
    {
        "report_store_def_id": 2,
        "report_key": "amazon_seller_performance",
        "report_name": "Amazon Seller Performance"
    },
    {
        "report_store_def_id": 5,
        "report_key": "amazon_settlement",
        "report_name": "Amazon Settlement"
    },
    {
        "report_store_def_id": 3,
        "report_key": "amazon_suppressed_listings",
        "report_name": "Amazon Suppressed Listings"
    },
    {
        "report_store_def_id": 1,
        "report_key": "wayfair_ad_spend",
        "report_name": "Wayfair Ad Spend"
    }
]