update_fee
Change a direct fee row; only the fields sent change. Read the current value with its read tool first; this call returns the value as it now stands.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Boat id, from list_boats. | |
| amount | No | EUR, or a percent when amount_is_percentage. | |
| fee_id | Yes | Row id, from list_boat_fees. | |
| period | No | How it is counted, per booking, day, night, person or week; the answer to a wrong value lists the allowed ones. | |
| category | No | ||
| required | No | true when every guest pays it. | |
| valid_to | No | YYYY-MM-DD | |
| on_request | No | ||
| valid_from | No | YYYY-MM-DD | |
| description | No | The fee as guests read it. | |
| percentage_base | No | What the percentage is taken on; empty is the charter price. | |
| calculation_type | No | How it is collected: `separate_payment` paid at the base (default), `advance_payment` charged at booking, `included_in_price`. | |
| amount_is_percentage | No |