simpla.fydocs

Get top vendors by sales count

Returns top 10 vendors ranked by number of sales

GET
/stats/top-vendors

Returns top 10 vendors ranked by number of sales

x-api-key<token>

In: header

Query Parameters

period?string

Time period (default: 30d)

Value in"today" | "7d" | "30d" | "90d" | "custom"
startDate?string

Start date for custom period (ISO 8601 format)

endDate?string

End date for custom period (ISO 8601 format)

limit?number

Number of top vendors to return (default: 10)

Response Body

curl -X GET "https://example.com/stats/top-vendors"
Empty