costs.marginAlert

The shop's profit alert: the margin floor in percent, or null when off. Owner or office.

WhoAgents can call this
RESTGET /v1/costs/margin-alert
MCP toolcosts_marginAlert
Writesno
AreaCosts, expenses and reports

When to use it

The shop's profit alert: the margin floor in percent, or null when off. Owner or office.

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

Example

GET https://doingwork.work/v1/costs/margin-alert?shop_id=00000000-0000-4000-8000-000000000000

Output

FieldTypeAlways there
shop_idstring (uuid)yes
below_percent['number', 'null']yes
{
  "shop_id": "00000000-0000-4000-8000-000000000000",
  "below_percent": "..."
}

Errors

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