costs_setMarginAlert
Set a profit alert (owner only): when an invoiced job's margin drops under below_percent, the job.margin_low event fires once for it (subscribe with a webhook). It fires again only after the margin climbs back and drops again. The check reads job costing as you see it. null turns it off.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shop_id | Yes | ||
| below_percent | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||