Update Custom Cost
hyros_update_custom_costUpdate an existing custom cost by replacing all fields. Use it to correct a wrong amount or close an open-ended recurring cost by setting an end date.
Instructions
Update a custom cost. The whole cost is replaced, so send every field, not only the ones changing. Use this to fix a wrong amount or to close an open-ended recurring cost by setting endDate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Custom cost ID (from hyros_get_custom_costs) | |
| cost | Yes | Cost amount | |
| name | No | Cost name | |
| tags | Yes | Tags the cost is attributed to. Each must already exist in the account, otherwise the API rejects the request. | |
| endDate | No | End date, ISO 8601. Leave unset for an open-ended recurring cost. | |
| frequency | Yes | How often the cost applies | |
| startDate | Yes | Start date, ISO 8601 (e.g. 2026-08-01T00:00) |