update_purchase
Modify an existing purchase without replacing all details: change name, paid/billed price or date, or billing policy; only supplied fields change. Requires Gryzzly's budget offer.
Instructions
Change an existing purchase: name, paid or billed price, paid or billed date, billing policy. Only the fields you pass are sent; the rest are left as they are. Use create_purchase for a new cost and delete_purchase to remove one. Dates accept YYYY-MM-DD, today or yesterday. Requires Gryzzly's budget offer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The purchase's identifier. | |
| name | No | A new name. | |
| paid_at | No | A new paid date. | |
| billed_at | No | A new billed date. | |
| paid_price | No | A new paid price. | |
| billed_price | No | A new billed price. | |
| billing_policy | No | A new billing policy. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The purchase's identifier. | |
| name | No | What was bought. | |
| paid_at | No | When it was paid. | |
| task_id | No | The task it is charged to. | |
| billed_at | No | When it was billed. | |
| created_at | No | When the purchase was created. | |
| paid_price | No | What it cost. | |
| project_id | No | The project it is charged to. | |
| updated_at | No | When the purchase was last updated. | |
| billed_price | No | What it was billed for. | |
| billing_policy | No | `add` or `ignore`, how it weighs on the budget. |