shops.setServiceDueEmails
Turn "service is due" reminder emails on or off for the shop and set how many days before the due date they go (1 to 60, default 14). Owner only. Off by default. Email only; needs the shop's mailing address, and customers on the do-not-email list are skipped.
| Who | Agents can call this |
| REST | POST /v1/shops/service-due-emails |
| MCP tool | shops_setServiceDueEmails |
| Writes | yes, send an Idempotency-Key |
| Area | Shop |
When to use it
Turn "service is due" reminder emails on or off for the shop and set how many days before the due date they go (1 to 60, default 14). Owner only.
What to tell the owner
Say what you did in plain words and what happens next.
Input
| Field | Type | Required |
|---|---|---|
shop_id | string (uuid) | yes |
enabled | boolean | yes |
lead_days | integer | no |
Example
POST https://doingwork.work/v1/shops/service-due-emails
content-type: application/json
Idempotency-Key: 3f1c...
{
"shop_id": "00000000-0000-4000-8000-000000000000",
"enabled": true
}Output
JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.
Errors
| Code | Status | What to do |
|---|---|---|
invalid_input, invalid_token, rate_limited | Can happen on any call. See errors. |