Format
- HTTPS only.
- Requests and responses are JSON. Send
Content-Type: application/jsonon requests with a body. - Authenticate with your key in the
x-api-keyheader on every request — see Authentication. - Most data endpoints are scoped to a channel by
merchantId+channelId; discover these viaPOST /channels.
Pagination
Paginated endpoints (such asPOST /content-changes) use zero-based pageIndex / pageSize:
Always check the specific endpoint’s reference page for its exact defaults and maximum — and where the pagination parameters live, since some endpoints (e.g. content changes) nest
pageIndex / pageSize under a paginationParams object.
Dates
Date ranges and timestamps are expressed in the format documented on each endpoint. Provide date-range parameters where an endpoint requires them (for example, the sales-by-period views), and prefer explicit ranges over relying on defaults.Reports are asynchronous
Report creation (POST /reports/create/*) returns a reportId rather than the data itself. Poll GET /reports/status/{reportId} until status is done, then download the downloadUrl. See the Reports guide. Endpoints under /reports/view/* return JSON immediately and do not need polling.
Errors
The API uses standard HTTP status codes:
Error responses include a message describing the problem.