reports.morningEmail
Whether the owner's morning email is on. It comes at 7 AM shop time, only on days it has something to show (for example jobs under the margin floor). Owner or office.
When to use it
Whether the owner's morning email is on. It comes at 7 AM shop time, only on days it has something to show (for example jobs under the margin floor).
What to tell the owner
Tell them what you found in plain words. Don't read back raw fields.
| Field | Type | Required |
|---|
shop_id | string (uuid) | yes |
Example
GET https://doingwork.work/v1/reports/morning-email?shop_id=00000000-0000-4000-8000-000000000000
Output
| Field | Type | Always there |
|---|
shop_id | string (uuid) | yes |
on | boolean | yes |
{
"shop_id": "00000000-0000-4000-8000-000000000000",
"on": true
}
Errors
| Code | Status | What to do |
|---|
invalid_input, invalid_token, rate_limited | | Can happen on any call. See errors. |