Accommodation rates
Rates of the accommodation types. They are replaced with the set_rates action on accommodation_types.
Module: Accommodation (accommodation).
Endpoints
Section titled “Endpoints”GET /api/v1/accommodation_rates- List with filters, sorting and pagination (scopeaccommodation:read)GET /api/v1/accommodation_rates/{id}- A record by id (scopeaccommodation:read)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).type_id(string, uuid; read)name(string; read)valid_from(string, date; read)valid_to(string, date; read)weekdays(array; read)price(number; read)min_nights(integer; read)priority(integer; read)is_active(boolean; read): Whether the record is active.created_at(string, date-time; read): Creation date (ISO 8601).
Events
Section titled “Events”accommodation_rates.createdaccommodation_rates.updatedaccommodation_rates.deleted