simpla.fydocs

Get sales grouped by day

Returns daily sales count for timeline chart

GET
/stats/sales-by-day

Returns daily sales count for timeline chart

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

endDate?string

End date for custom period

Response Body

curl -X GET "https://example.com/stats/sales-by-day"
Empty