Get Orders
Orders of the organization's stores processed in a period, newest first.
HTTPBearerAuthorizationBearer <token>date_from*Date FromFirst shop calendar day of the period (inclusive).
datedate_to*Date ToLast shop calendar day of the period (inclusive); at most tomorrow (UTC); the period is at most 366 days inclusive.
datestore_ids?array<integer>|Only these organization stores; an unknown, foreign or deleted id answers 404. Repeated values: ?store_ids=12&store_ids=17
include?array<>Components counted in net_shop besides products. Repeated values: ?include=shipping&include=tip.
[]subtract_refunds?Subtract RefundsFold later refunds into the order. False: RETURN sales count in no amount.
trueskip?Skip0 <= value0limit?Limit1 <= value <= 25050Successful Response
application/json- response
count*Countdata*array<>curl -X GET 'https://app.copyhero.app/api/v1/analytics/orders?date_from=2019-08-24&date_to=2019-08-24'{ "count": 0, "data": [ { "store_id": 0, "order_gid": "string", "processed_at": "2019-08-24T14:15:22Z", "net_shop": "string", "components": { "property1": "string", "property2": "string" }, "currency": "AED", "country_code": "string", "province_code": "string", "product_count": 0, "products": [ { "internal_product_id": "17d65d0a-2bba-46da-af25-e6db2fc23598", "title": "string", "image_url": "string" } ] } ]}Get Live Orders GET
Newest orders of the organization's stores, with country and first products.
Get Overview GET
Get high-level dashboard metrics for the user's accessible stores. Returns aggregated totals including: - batch_count: Number of distinct batches (workflow start actions) - task_count: Number of tasks created - jobs_count: Number of jobs (filtered by state if provided) - stores_active: Number of stores with activity in the period Access Control: - Regular users: See only their owned or employed stores - Superusers in a browser session: see all stores (API keys and MCP never act as superuser)