Get Hit Rate
GET
HTTPBearerheader
AuthorizationBearer <token>date_from*Date FromFirst listing day of the period (inclusive).
Format
datedate_to*Date ToLast listing day of the period (inclusive); at most tomorrow (UTC); the period is at most 366 days inclusive.
Format
datestore_ids?array<integer>|Only these organization stores; an unknown, foreign or deleted id answers 404. Repeated values: ?store_ids=12&store_ids=17
Successful Response
application/json- response
Listed and sold link counts per store and listing day; the frontend computes the rates.
stores*array<>total*array<>Per-day sum over all stores.
curl -X GET 'https://app.copyhero.app/api/v1/analytics/hit-rate?date_from=2019-08-24&date_to=2019-08-24'Example Response
{ "stores": [ { "store_id": 0, "days": [ { "date": "2019-08-24", "listed": 0, "sold": 0 } ] } ], "total": [ { "date": "2019-08-24", "listed": 0, "sold": 0 } ]}