Private preview of the new site. Not live.

reports.revenue

Money collected between two dates (inclusive, UTC), by month: card and bank payments through Doing Work less refunds, and payments recorded as taken outside Doing Work, shown apart.

WhoAgents can call this
RESTGET /v1/reports/revenue
MCP toolreports_revenue
Writesno
AreaCosts, expenses and reports

When to use it

Money collected between two dates (inclusive, UTC), by month: card and bank payments through Doing Work less refunds, and payments recorded as taken outside Doing Work, shown apart.

What to tell the owner

Tell them what you found in plain words. Don't read back raw fields.

Input

FieldTypeRequired
shop_idstring (uuid)yes
fromstringyes
tostringyes

Example

GET https://doingwork.work/v1/reports/revenue?shop_id=00000000-0000-4000-8000-000000000000&from=...&to=...

Output

FieldTypeAlways there
monthsarrayyes
totalarrayyes
{
  "months": [
    {}
  ],
  "total": [
    {}
  ]
}

Errors

CodeStatusWhat to do
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.