Endpoints — Pro
Get product sales
Get daily sales and average sale price for a product
GET
/
api
/
v2
/
products
/
{id}
/
sales
This endpoint is an alternative to the Get product orders endpoint with with data being updated more frequently.
This endpoint is in beta and may be subject to change.
The ID of the product (slug is not accepted).
The start date of the sales data. Format: YYYY-MM-DD. Defaut to 30 days ago.
The end date of the sales data. Format: YYYY-MM-DD. Default to today.
Response is limited to 90 days.