list_discounts
The company's active discounts: codes guests type at checkout, automatic ones, and the pay-in-full discount, each with its value, booking window (start_date..end_date), stay window (stay_from..stay_to) and the boats it covers (all_boats, else boat_ids). An empty list means the company runs no discount.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | Company id, from list_boats (`company_id`) or get_company. |