GET
/
api
/
v2
/
products
/
{id}
/
sales
/
raw

This endpoint is in beta and may be subject to change.

id
string
required

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

variant_id
string

Additional filter by variant ID.

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.