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.

id
string
required

The ID of the product (slug is not accepted).

start_date
string

The start date of the sales data. Format: YYYY-MM-DD. Defaut to 30 days ago.

end_date
string

The end date of the sales data. Format: YYYY-MM-DD. Default to today.

Response is limited to 90 days.