Dashboard analytics for a range of days, with the previous period for comparison
GET
/v1/analyticsFactory API keyBase URL api.skuflo.ioEverything the Overview draws: throughput (ordered, made, into stock, loaded per day), lead times (median and P90), on time, stuck orders, refused scans and reasons, top products, sizes and colours, volume by retailer, stations, stock by age and value at cost, dispatch today, the next production list and the latest scans. Days are Europe/London calendar days. current and previous cover the range; live is a snapshot of right now and ignores the range.
Query parameters#
| Name | Type | Description |
|---|---|---|
fromoptional | string | First day, Europe/London. Defaults to 29 days before to. |
tooptional | string | Last day (inclusive), Europe/London. Defaults to today. |
retailer_idoptional | string (uuid) | Only this retailer. |
compareoptional | string | previous also returns the same figures for the previous equal period.One of "previous", "none"Default "none" |
feedoptional | integer | Rows in the latest scans list. Default 10 |
Responses#
| Status | Meaning |
|---|---|
| 200 | Success. An example body is in the column on the right. |
Response fields
| Name | Type | Description |
|---|---|---|
range | object | · |
previous_range | object, nullable | · |
targets | object | · |
current | object | · |
previous | object, nullable | · |
live | object | · |