Addon endpoints now return an online boolean flag indicating whether the addon is configured for public sale on online platforms such as IBE. Partners can also filter results by passing online=true or online=false as a query parameter.
Affected endpoints: GET /addons, GET /hotels/{id}/addons, GET /addons/{id}
The online query parameter is supported on GET /addons and GET /hotels/{id}/addons. It is optional and defaults to false.
Example response:
{
"results": [
{
"id": 2135,
"name": "Breakfast",
"description": "Daily breakfast included",
"amount": 19.0,
"amount_type": "ADULT",
"post_type": "WEEKLY",
"charge_code_id": 115073,
"charge_group_id": 918,
"currency_code": "EUR",
"online": true
}
]
}




