Skip to main content
GET
Get sales performance

Authorizations

Authorization
string
header
required

API token in the sk_live_… format.

Path Parameters

id
integer
required

Query Parameters

startDate
string<date>

Start of the period (default: 12 months ago).

endDate
string<date>

End of the period (default: today). The period can be at most 24 months long.

Response

OK

data
object

Sales performance of the product. It counts only deal cards with won status. The amount used is the product's price at the moment the card was closed, so price changes in the catalog do not change the history. Months follow the company's time zone.

Example: