simpla.fydocs

Get sales distribution by store

Returns sales count grouped by store

GET
/stats/sales-by-store

Returns sales count grouped by store

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)

Response Body

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