provider
dashboard
Get Top Selling Items
Get top selling items based on the number of times they were purchased. Returns the top items sorted by purchase count.
get/dashboard/top-selling-items
Request
- Base URLhttps://docs.decodahealth.com (the document declares no server; this is the origin it was published from)
- Authnone declared. Required headers: TENANT, API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageinteger nullable
per_pageinteger nullable
sort_bystring nullable
sort_direction'asc' | 'desc' nullable
location_idstring nullable
start_datestring required
end_datestring required
location_idsstring[] nullable
payment_mediumsstring[] nullable
tzstring required
limitinteger nullable
Headers
TENANTstring required
The tenant you are making this request on behalf of
API-KEYstring required
Your api key
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.