Dashboard
const url = 'https://digize.com/api/v1/analytics/summary';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://digize.com/api/v1/analytics/summary \ --header 'x-api-key: <x-api-key>'The workspace at a glance: revenue, orders, visitors and new contacts over the last 30 days against the 30 before, revenue per day, best sellers, where visitors came from, and what needs someone’s attention in each module.
Needs the analytics:read permission.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Done
object
object
Against the period before, in percent.
Weekly, the last 12 weeks, oldest first.
object
Against the period before, in percent.
Weekly, the last 12 weeks, oldest first.
object
Against the period before, in percent.
Weekly, the last 12 weeks, oldest first.
object
Against the period before, in percent.
Weekly, the last 12 weeks, oldest first.
object
Each kind of thing with some waiting: orders to ship, products running low, unread conversations, failed deployments, orders marked for attention, disputes, integrations in error.
object
object
object
Its part of the breakdown, from 0 to 1.
Example
{ "attention": [ { "kind": "unfulfilled" } ], "unavailable": { "reason": "token" }}What was sent isn’t valid (invalid).
object
object
object
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
object
object
object
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
object
object
object
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
object
object
object
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
object
object
object
Example
{ "error": { "code": "invalid" }}