curl --request GET \
--url https://api.storeindexer.com/companies \
--header 'x-api-key: <api-key>'{
"num_pages": 123,
"total_count": 123,
"data": [
{
"company_id": "<string>",
"name": "<string>",
"domain": "<string>",
"parent_company_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"limit": 1000,
"page_num": 1,
"sort_order": "asc",
"sort_by": "created_at"
}Query companies in Store Indexer’s database.
curl --request GET \
--url https://api.storeindexer.com/companies \
--header 'x-api-key: <api-key>'{
"num_pages": 123,
"total_count": 123,
"data": [
{
"company_id": "<string>",
"name": "<string>",
"domain": "<string>",
"parent_company_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"limit": 1000,
"page_num": 1,
"sort_order": "asc",
"sort_by": "created_at"
}asc, desc