POST /stats/product_buy_clicks/created_per_day

POST /stats/product_buy_clicks/created_per_day

Returns dates as keys with count of opinions created on the date

Responses

  • successful operation

    Hide response attributes Show response attributes object
  • Bad Request

  • Authorization information is missing or invalid.

  • Server Error

POST /stats/product_buy_clicks/created_per_day
curl \
 -X POST https://api.cosmily.com/api/v1/stats/product_buy_clicks/created_per_day \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"from_days_ago":42,"time_zone":"string"}'
Request example
{
  "from_days_ago": 42,
  "time_zone": "string"
}
Request examples
{
  "from_days_ago": 42,
  "time_zone": "string"
}
Response examples (200)
{
  "05/20": 42,
  "05/21": 42,
  "05/22": 42
}
Response examples (200)
{
  "05/20": 42,
  "05/21": 42,
  "05/22": 42
}