Product sales
GET/v1/analytics/product-sales
What you sold, per product and day, newest first. A product counts as sold when a detailed offer with it is accepted. Filter with category and materialId, choose the period with from and to (default: the last 12 months), page with limit and offset. Requires the read:analytics scope.
Request
Responses
- 200
- 400
- 401
- 403
- 500
One page of sales.
validation_error: a query parameter is not valid, e.g. limit above 200. invalid_sort: the list cannot be sorted by that field; message lists the fields it can.
missing_api_key or invalid_api_key: no API key was sent, or it is wrong, expired or revoked.
insufficient_scope: the API key does not have the scope this endpoint needs. required names it.
db_error: the database refused or failed the request. message has the details.