Update material
projects_update_materialUpdate a material line. Only the fields you pass are changed. Changing total_cost moves the project's spent material budget with it, and changing markup or is_billable changes what the client can be invoiced - both take effect immediately, with no separate recalculation step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| unit | No | ||
| category | No | ||
| quantity | No | ||
| supplier | No | ||
| unit_cost | No | ||
| total_cost | No | ||
| is_billable | No | ||
| material_id | Yes | ||
| markup_percentage | No |