{"openapi":"3.0.3","info":{"title":"Bookingmood API","description":"Access and manage your Bookingmood data. Authenticate with an API key as a bearer token: `Authorization: Bearer YOUR_API_KEY`.","version":"12.2.3 (519615d)"},"externalDocs":{"description":"Bookingmood API reference","url":"https://www.bookingmood.com/api-reference"},"servers":[{"url":"https://api.bookingmood.com/v1"}],"security":[{"apiKey":[]}],"paths":{"/api_requests":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.api_requests.id"},{"$ref":"#/components/parameters/rowFilter.api_requests.api_key_id"},{"$ref":"#/components/parameters/rowFilter.api_requests.created_at"},{"$ref":"#/components/parameters/rowFilter.api_requests.endpoint"},{"$ref":"#/components/parameters/rowFilter.api_requests.method"},{"$ref":"#/components/parameters/rowFilter.api_requests.search"},{"$ref":"#/components/parameters/rowFilter.api_requests.created_on"},{"$ref":"#/components/parameters/rowFilter.api_requests.status"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/api_requests"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Requests made with the organization's API keys","tags":["api_requests"]}},"/attribute_options":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.attribute_options.id"},{"$ref":"#/components/parameters/rowFilter.attribute_options.created_at"},{"$ref":"#/components/parameters/rowFilter.attribute_options.attribute_id"},{"$ref":"#/components/parameters/rowFilter.attribute_options.order"},{"$ref":"#/components/parameters/rowFilter.attribute_options.name"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/attribute_options"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Possible options per attribute","tags":["attribute_options"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.attribute_options"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Possible options per attribute","tags":["attribute_options"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.attribute_options.id"},{"$ref":"#/components/parameters/rowFilter.attribute_options.created_at"},{"$ref":"#/components/parameters/rowFilter.attribute_options.attribute_id"},{"$ref":"#/components/parameters/rowFilter.attribute_options.order"},{"$ref":"#/components/parameters/rowFilter.attribute_options.name"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Possible options per attribute","tags":["attribute_options"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.attribute_options.id"},{"$ref":"#/components/parameters/rowFilter.attribute_options.created_at"},{"$ref":"#/components/parameters/rowFilter.attribute_options.attribute_id"},{"$ref":"#/components/parameters/rowFilter.attribute_options.order"},{"$ref":"#/components/parameters/rowFilter.attribute_options.name"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.attribute_options"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Possible options per attribute","tags":["attribute_options"]}},"/attributes":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.attributes.id"},{"$ref":"#/components/parameters/rowFilter.attributes.created_at"},{"$ref":"#/components/parameters/rowFilter.attributes.order"},{"$ref":"#/components/parameters/rowFilter.attributes.name"},{"$ref":"#/components/parameters/rowFilter.attributes.type"},{"$ref":"#/components/parameters/rowFilter.attributes.organization_id"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/attributes"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Attributes to segment and filter units by","tags":["attributes"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.attributes"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Attributes to segment and filter units by","tags":["attributes"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.attributes.id"},{"$ref":"#/components/parameters/rowFilter.attributes.created_at"},{"$ref":"#/components/parameters/rowFilter.attributes.order"},{"$ref":"#/components/parameters/rowFilter.attributes.name"},{"$ref":"#/components/parameters/rowFilter.attributes.type"},{"$ref":"#/components/parameters/rowFilter.attributes.organization_id"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Attributes to segment and filter units by","tags":["attributes"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.attributes.id"},{"$ref":"#/components/parameters/rowFilter.attributes.created_at"},{"$ref":"#/components/parameters/rowFilter.attributes.order"},{"$ref":"#/components/parameters/rowFilter.attributes.name"},{"$ref":"#/components/parameters/rowFilter.attributes.type"},{"$ref":"#/components/parameters/rowFilter.attributes.organization_id"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.attributes"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Attributes to segment and filter units by","tags":["attributes"]}},"/availability":{"get":{"parameters":[{"description":"Whether to sync external calendars before fetching availability. Defaults to `false`","in":"query","name":"perform_sync","required":true,"schema":{"type":"boolean"}},{"description":"The product IDs to fetch availability for.","in":"query","name":"product_ids","required":true,"schema":{"default":[],"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"}}},{"description":"How to interpret confirmed bookings. Defaults to `unavailable`","in":"query","name":"show_booked_as","required":true,"schema":{"default":"unavailable","type":"string","enum":["booked","unavailable"],"title":"ShowBookedAs"}},{"description":"How to interpret blocked / closed periods. Defaults to `unavailable`","in":"query","name":"show_closed_as","required":true,"schema":{"default":"unavailable","type":"string","enum":["closed","unavailable"],"title":"ShowClosedAs"}},{"description":"How to interpret pending events. Defaults to `TENTATIVE`","in":"query","name":"show_pending_as","required":true,"schema":{"default":"TENTATIVE","type":"string","enum":["CONFIRMED","TENTATIVE","CANCELLED"]}}],"responses":{"200":{"description":"The availability intervals of each product","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"intervals":{"type":"array","items":{"type":"object","properties":{"end":{"type":"string","description":"End of the interval, as YYYY-MM-DDTHH:mm"},"start":{"type":"string","description":"Start of the interval, as YYYY-MM-DDTHH:mm"},"status":{"type":"string","enum":["available","booked","closed","pending","unavailable"]}},"required":["end","start","status"],"additionalProperties":false}},"product_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"}},"required":["intervals","product_id"],"additionalProperties":false}}}}},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Fetch the availability of multiple products","tags":["Booking flow"]}},"/book":{"post":{"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"coupon_codes":{"default":[],"description":"The coupon codes entered for the booking.","type":"array","items":{"type":"string"}},"currency":{"default":null,"description":"The currency to use for the booking. Defaults to the product's currency. See [the widget docs](/docs/widgets/embed-customization) for the allowed values.","nullable":true,"type":"string","enum":["ARS","AUD","BRL","BYN","CAD","CHF","CLP","CNY","COP","CZK","DKK","EGP","EUR","GBP","HKD","HUF","ILS","INR","JPY","KRW","KYD","MAD","MXN","MYR","NGN","NOK","NZD","PEN","PHP","PLN","RON","RUB","SEK","SGD","THB","TRY","TWD","UAH","USD","XOF","VND","ZAR"],"title":"Currency"},"failure_url":{"default":"__BOOKING_PAGE__","description":"The URL to redirect the user to when a booking payment fails. Defaults to the booking page.","type":"string"},"form_values":{"default":{},"description":"Values for each of the form fields. The keys refer to `services.id`, the values should be valid values for each of these services.","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"nullable":true,"type":"boolean"},{"type":"object","additionalProperties":{"nullable":true,"type":"string"}}]}},"interval":{"type":"object","properties":{"start":{"description":"Start date, formatted as YYYY-MM-DD","type":"string"},"end":{"description":"End date, formatted as YYYY-MM-DD","type":"string"}},"required":["start","end"],"description":"The interval to book."},"language":{"default":"en-US","description":"The user's preferred language.","type":"string","enum":["be-BY","bg-BG","cs-CZ","da-DK","de-DE","en-GB","en-NZ","en-US","es-ES","eu-ES","fr-FR","gr-EL","he-IL","hr-HR","hu-HU","it-IT","ja-JP","lt-LT","lv-LV","nl-NL","nn-NO","pl-PL","pt-BR","ro-RO","ru-RU","sk-SK","sl-SI","sr-Cyrl","sr-Latn","sv-SE","tr-TR","uk-UA"],"title":"Language"},"occupancy":{"type":"object","additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"The occupancy for each capacity group. The keys refer to `capacity_groups.id`, the values are the number of guests for that group."},"product_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$","description":"The identifier of the product to book."},"redirect_url":{"default":null,"description":"The URL to redirect the user to after the booking is completed.","nullable":true,"type":"string"},"show_pending_as":{"default":"TENTATIVE","description":"How to interpret pending events when checking if the booking is possible. Defaults to `TENTATIVE`","type":"string","enum":["CONFIRMED","TENTATIVE","CANCELLED"]}},"required":["coupon_codes","currency","failure_url","form_values","interval","occupancy","product_id","redirect_url","show_pending_as"]}}}},"responses":{"201":{"description":"The booking was created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingConfirmation"}}}},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Book a product","tags":["Booking flow"]}},"/booking_details":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.booking_details.id"},{"$ref":"#/components/parameters/rowFilter.booking_details.service_id"},{"$ref":"#/components/parameters/rowFilter.booking_details.created_at"},{"$ref":"#/components/parameters/rowFilter.booking_details.updated_at"},{"$ref":"#/components/parameters/rowFilter.booking_details.value"},{"$ref":"#/components/parameters/rowFilter.booking_details.booking_id"},{"$ref":"#/components/parameters/rowFilter.booking_details.name"},{"$ref":"#/components/parameters/rowFilter.booking_details.option_id"},{"$ref":"#/components/parameters/rowFilter.booking_details.description"},{"$ref":"#/components/parameters/rowFilter.booking_details.attachment"},{"$ref":"#/components/parameters/rowFilter.booking_details.calendar_event_id"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/booking_details"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Details guests filled in on the booking form","tags":["booking_details"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.booking_details"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Details guests filled in on the booking form","tags":["booking_details"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.booking_details.id"},{"$ref":"#/components/parameters/rowFilter.booking_details.service_id"},{"$ref":"#/components/parameters/rowFilter.booking_details.created_at"},{"$ref":"#/components/parameters/rowFilter.booking_details.updated_at"},{"$ref":"#/components/parameters/rowFilter.booking_details.value"},{"$ref":"#/components/parameters/rowFilter.booking_details.booking_id"},{"$ref":"#/components/parameters/rowFilter.booking_details.name"},{"$ref":"#/components/parameters/rowFilter.booking_details.option_id"},{"$ref":"#/components/parameters/rowFilter.booking_details.description"},{"$ref":"#/components/parameters/rowFilter.booking_details.attachment"},{"$ref":"#/components/parameters/rowFilter.booking_details.calendar_event_id"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Details guests filled in on the booking form","tags":["booking_details"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.booking_details.id"},{"$ref":"#/components/parameters/rowFilter.booking_details.service_id"},{"$ref":"#/components/parameters/rowFilter.booking_details.created_at"},{"$ref":"#/components/parameters/rowFilter.booking_details.updated_at"},{"$ref":"#/components/parameters/rowFilter.booking_details.value"},{"$ref":"#/components/parameters/rowFilter.booking_details.booking_id"},{"$ref":"#/components/parameters/rowFilter.booking_details.name"},{"$ref":"#/components/parameters/rowFilter.booking_details.option_id"},{"$ref":"#/components/parameters/rowFilter.booking_details.description"},{"$ref":"#/components/parameters/rowFilter.booking_details.attachment"},{"$ref":"#/components/parameters/rowFilter.booking_details.calendar_event_id"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.booking_details"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Details guests filled in on the booking form","tags":["booking_details"]}},"/booking_updates":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.booking_updates.id"},{"$ref":"#/components/parameters/rowFilter.booking_updates.created_at"},{"$ref":"#/components/parameters/rowFilter.booking_updates.booking_id"},{"$ref":"#/components/parameters/rowFilter.booking_updates.user_id"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/booking_updates"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Logs of each time a booking is updated","tags":["booking_updates"]}},"/bookings":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.bookings.id"},{"$ref":"#/components/parameters/rowFilter.bookings.created_at"},{"$ref":"#/components/parameters/rowFilter.bookings.updated_at"},{"$ref":"#/components/parameters/rowFilter.bookings.widget_id"},{"$ref":"#/components/parameters/rowFilter.bookings.currency"},{"$ref":"#/components/parameters/rowFilter.bookings.display_currency"},{"$ref":"#/components/parameters/rowFilter.bookings.exchange_rate"},{"$ref":"#/components/parameters/rowFilter.bookings.silent"},{"$ref":"#/components/parameters/rowFilter.bookings.method"},{"$ref":"#/components/parameters/rowFilter.bookings.site_id"},{"$ref":"#/components/parameters/rowFilter.bookings.organization_id"},{"$ref":"#/components/parameters/rowFilter.bookings.confirmed_at"},{"$ref":"#/components/parameters/rowFilter.bookings.reference"},{"$ref":"#/components/parameters/rowFilter.bookings.secret"},{"$ref":"#/components/parameters/rowFilter.bookings.fts"},{"$ref":"#/components/parameters/rowFilter.bookings.creator_id"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/bookings"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Bookings, grouping the calendar events, invoices and payments of a guest's stay","tags":["bookings"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.bookings.id"},{"$ref":"#/components/parameters/rowFilter.bookings.created_at"},{"$ref":"#/components/parameters/rowFilter.bookings.updated_at"},{"$ref":"#/components/parameters/rowFilter.bookings.widget_id"},{"$ref":"#/components/parameters/rowFilter.bookings.currency"},{"$ref":"#/components/parameters/rowFilter.bookings.display_currency"},{"$ref":"#/components/parameters/rowFilter.bookings.exchange_rate"},{"$ref":"#/components/parameters/rowFilter.bookings.silent"},{"$ref":"#/components/parameters/rowFilter.bookings.method"},{"$ref":"#/components/parameters/rowFilter.bookings.site_id"},{"$ref":"#/components/parameters/rowFilter.bookings.organization_id"},{"$ref":"#/components/parameters/rowFilter.bookings.confirmed_at"},{"$ref":"#/components/parameters/rowFilter.bookings.reference"},{"$ref":"#/components/parameters/rowFilter.bookings.secret"},{"$ref":"#/components/parameters/rowFilter.bookings.fts"},{"$ref":"#/components/parameters/rowFilter.bookings.creator_id"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Bookings, grouping the calendar events, invoices and payments of a guest's stay","tags":["bookings"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.bookings.id"},{"$ref":"#/components/parameters/rowFilter.bookings.created_at"},{"$ref":"#/components/parameters/rowFilter.bookings.updated_at"},{"$ref":"#/components/parameters/rowFilter.bookings.widget_id"},{"$ref":"#/components/parameters/rowFilter.bookings.currency"},{"$ref":"#/components/parameters/rowFilter.bookings.display_currency"},{"$ref":"#/components/parameters/rowFilter.bookings.exchange_rate"},{"$ref":"#/components/parameters/rowFilter.bookings.silent"},{"$ref":"#/components/parameters/rowFilter.bookings.method"},{"$ref":"#/components/parameters/rowFilter.bookings.site_id"},{"$ref":"#/components/parameters/rowFilter.bookings.organization_id"},{"$ref":"#/components/parameters/rowFilter.bookings.confirmed_at"},{"$ref":"#/components/parameters/rowFilter.bookings.reference"},{"$ref":"#/components/parameters/rowFilter.bookings.secret"},{"$ref":"#/components/parameters/rowFilter.bookings.fts"},{"$ref":"#/components/parameters/rowFilter.bookings.creator_id"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.bookings"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Bookings, grouping the calendar events, invoices and payments of a guest's stay","tags":["bookings"]}},"/calendar_event_notes":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.calendar_event_notes.id"},{"$ref":"#/components/parameters/rowFilter.calendar_event_notes.calendar_event_id"},{"$ref":"#/components/parameters/rowFilter.calendar_event_notes.author_id"},{"$ref":"#/components/parameters/rowFilter.calendar_event_notes.note"},{"$ref":"#/components/parameters/rowFilter.calendar_event_notes.created_at"},{"$ref":"#/components/parameters/rowFilter.calendar_event_notes.updated_at"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/calendar_event_notes"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Private notes about calendar events","tags":["calendar_event_notes"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.calendar_event_notes"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Private notes about calendar events","tags":["calendar_event_notes"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.calendar_event_notes.id"},{"$ref":"#/components/parameters/rowFilter.calendar_event_notes.calendar_event_id"},{"$ref":"#/components/parameters/rowFilter.calendar_event_notes.author_id"},{"$ref":"#/components/parameters/rowFilter.calendar_event_notes.note"},{"$ref":"#/components/parameters/rowFilter.calendar_event_notes.created_at"},{"$ref":"#/components/parameters/rowFilter.calendar_event_notes.updated_at"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Private notes about calendar events","tags":["calendar_event_notes"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.calendar_event_notes.id"},{"$ref":"#/components/parameters/rowFilter.calendar_event_notes.calendar_event_id"},{"$ref":"#/components/parameters/rowFilter.calendar_event_notes.author_id"},{"$ref":"#/components/parameters/rowFilter.calendar_event_notes.note"},{"$ref":"#/components/parameters/rowFilter.calendar_event_notes.created_at"},{"$ref":"#/components/parameters/rowFilter.calendar_event_notes.updated_at"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.calendar_event_notes"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Private notes about calendar events","tags":["calendar_event_notes"]}},"/calendar_event_updates":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.calendar_event_updates.id"},{"$ref":"#/components/parameters/rowFilter.calendar_event_updates.calendar_event_id"},{"$ref":"#/components/parameters/rowFilter.calendar_event_updates.created_at"},{"$ref":"#/components/parameters/rowFilter.calendar_event_updates.prev_status"},{"$ref":"#/components/parameters/rowFilter.calendar_event_updates.next_status"},{"$ref":"#/components/parameters/rowFilter.calendar_event_updates.prev_product_id"},{"$ref":"#/components/parameters/rowFilter.calendar_event_updates.next_product_id"},{"$ref":"#/components/parameters/rowFilter.calendar_event_updates.user_id"},{"$ref":"#/components/parameters/rowFilter.calendar_event_updates.prev_interval"},{"$ref":"#/components/parameters/rowFilter.calendar_event_updates.next_interval"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/calendar_event_updates"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Snapshots of each time a calendar event is updated","tags":["calendar_event_updates"]}},"/calendar_events":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.calendar_events.id"},{"$ref":"#/components/parameters/rowFilter.calendar_events.product_id"},{"$ref":"#/components/parameters/rowFilter.calendar_events.notes"},{"$ref":"#/components/parameters/rowFilter.calendar_events.created_at"},{"$ref":"#/components/parameters/rowFilter.calendar_events.updated_at"},{"$ref":"#/components/parameters/rowFilter.calendar_events.calendar_id"},{"$ref":"#/components/parameters/rowFilter.calendar_events.type"},{"$ref":"#/components/parameters/rowFilter.calendar_events.uid"},{"$ref":"#/components/parameters/rowFilter.calendar_events.title"},{"$ref":"#/components/parameters/rowFilter.calendar_events.status"},{"$ref":"#/components/parameters/rowFilter.calendar_events.creator_id"},{"$ref":"#/components/parameters/rowFilter.calendar_events.origin"},{"$ref":"#/components/parameters/rowFilter.calendar_events.generated_title"},{"$ref":"#/components/parameters/rowFilter.calendar_events.booking_id"},{"$ref":"#/components/parameters/rowFilter.calendar_events.padding"},{"$ref":"#/components/parameters/rowFilter.calendar_events.start_date"},{"$ref":"#/components/parameters/rowFilter.calendar_events.end_date"},{"$ref":"#/components/parameters/rowFilter.calendar_events.organization_id"},{"$ref":"#/components/parameters/rowFilter.calendar_events.duration"},{"$ref":"#/components/parameters/rowFilter.calendar_events.fts"},{"$ref":"#/components/parameters/rowFilter.calendar_events.has_open_payments"},{"$ref":"#/components/parameters/rowFilter.calendar_events.has_non_invoiced_items"},{"$ref":"#/components/parameters/rowFilter.calendar_events.occupancy"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/calendar_events"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Events on the timeline: bookings, blocked periods or notes","tags":["calendar_events"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.calendar_events.id"},{"$ref":"#/components/parameters/rowFilter.calendar_events.product_id"},{"$ref":"#/components/parameters/rowFilter.calendar_events.notes"},{"$ref":"#/components/parameters/rowFilter.calendar_events.created_at"},{"$ref":"#/components/parameters/rowFilter.calendar_events.updated_at"},{"$ref":"#/components/parameters/rowFilter.calendar_events.calendar_id"},{"$ref":"#/components/parameters/rowFilter.calendar_events.type"},{"$ref":"#/components/parameters/rowFilter.calendar_events.uid"},{"$ref":"#/components/parameters/rowFilter.calendar_events.title"},{"$ref":"#/components/parameters/rowFilter.calendar_events.status"},{"$ref":"#/components/parameters/rowFilter.calendar_events.creator_id"},{"$ref":"#/components/parameters/rowFilter.calendar_events.origin"},{"$ref":"#/components/parameters/rowFilter.calendar_events.generated_title"},{"$ref":"#/components/parameters/rowFilter.calendar_events.booking_id"},{"$ref":"#/components/parameters/rowFilter.calendar_events.padding"},{"$ref":"#/components/parameters/rowFilter.calendar_events.start_date"},{"$ref":"#/components/parameters/rowFilter.calendar_events.end_date"},{"$ref":"#/components/parameters/rowFilter.calendar_events.organization_id"},{"$ref":"#/components/parameters/rowFilter.calendar_events.duration"},{"$ref":"#/components/parameters/rowFilter.calendar_events.fts"},{"$ref":"#/components/parameters/rowFilter.calendar_events.has_open_payments"},{"$ref":"#/components/parameters/rowFilter.calendar_events.has_non_invoiced_items"},{"$ref":"#/components/parameters/rowFilter.calendar_events.occupancy"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Events on the timeline: bookings, blocked periods or notes","tags":["calendar_events"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.calendar_events.id"},{"$ref":"#/components/parameters/rowFilter.calendar_events.product_id"},{"$ref":"#/components/parameters/rowFilter.calendar_events.notes"},{"$ref":"#/components/parameters/rowFilter.calendar_events.created_at"},{"$ref":"#/components/parameters/rowFilter.calendar_events.updated_at"},{"$ref":"#/components/parameters/rowFilter.calendar_events.calendar_id"},{"$ref":"#/components/parameters/rowFilter.calendar_events.type"},{"$ref":"#/components/parameters/rowFilter.calendar_events.uid"},{"$ref":"#/components/parameters/rowFilter.calendar_events.title"},{"$ref":"#/components/parameters/rowFilter.calendar_events.status"},{"$ref":"#/components/parameters/rowFilter.calendar_events.creator_id"},{"$ref":"#/components/parameters/rowFilter.calendar_events.origin"},{"$ref":"#/components/parameters/rowFilter.calendar_events.generated_title"},{"$ref":"#/components/parameters/rowFilter.calendar_events.booking_id"},{"$ref":"#/components/parameters/rowFilter.calendar_events.padding"},{"$ref":"#/components/parameters/rowFilter.calendar_events.start_date"},{"$ref":"#/components/parameters/rowFilter.calendar_events.end_date"},{"$ref":"#/components/parameters/rowFilter.calendar_events.organization_id"},{"$ref":"#/components/parameters/rowFilter.calendar_events.duration"},{"$ref":"#/components/parameters/rowFilter.calendar_events.fts"},{"$ref":"#/components/parameters/rowFilter.calendar_events.has_open_payments"},{"$ref":"#/components/parameters/rowFilter.calendar_events.has_non_invoiced_items"},{"$ref":"#/components/parameters/rowFilter.calendar_events.occupancy"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.calendar_events"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Events on the timeline: bookings, blocked periods or notes","tags":["calendar_events"]}},"/capacities":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.capacities.id"},{"$ref":"#/components/parameters/rowFilter.capacities.created_at"},{"$ref":"#/components/parameters/rowFilter.capacities.updated_at"},{"$ref":"#/components/parameters/rowFilter.capacities.product_id"},{"$ref":"#/components/parameters/rowFilter.capacities.capacity_group_id"},{"$ref":"#/components/parameters/rowFilter.capacities.min"},{"$ref":"#/components/parameters/rowFilter.capacities.max"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/capacities"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Occupancy limits per unit per capacity group","tags":["capacities"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.capacities"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Occupancy limits per unit per capacity group","tags":["capacities"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.capacities.id"},{"$ref":"#/components/parameters/rowFilter.capacities.created_at"},{"$ref":"#/components/parameters/rowFilter.capacities.updated_at"},{"$ref":"#/components/parameters/rowFilter.capacities.product_id"},{"$ref":"#/components/parameters/rowFilter.capacities.capacity_group_id"},{"$ref":"#/components/parameters/rowFilter.capacities.min"},{"$ref":"#/components/parameters/rowFilter.capacities.max"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Occupancy limits per unit per capacity group","tags":["capacities"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.capacities.id"},{"$ref":"#/components/parameters/rowFilter.capacities.created_at"},{"$ref":"#/components/parameters/rowFilter.capacities.updated_at"},{"$ref":"#/components/parameters/rowFilter.capacities.product_id"},{"$ref":"#/components/parameters/rowFilter.capacities.capacity_group_id"},{"$ref":"#/components/parameters/rowFilter.capacities.min"},{"$ref":"#/components/parameters/rowFilter.capacities.max"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.capacities"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Occupancy limits per unit per capacity group","tags":["capacities"]}},"/capacity_group_dependencies":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.capacity_group_dependencies.id"},{"$ref":"#/components/parameters/rowFilter.capacity_group_dependencies.created_at"},{"$ref":"#/components/parameters/rowFilter.capacity_group_dependencies.accumulator_id"},{"$ref":"#/components/parameters/rowFilter.capacity_group_dependencies.element_id"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/capacity_group_dependencies"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Dependencies between capacity groups. When booking, the value of the group referenced by `accumulator_id` is set to the sum of the groups referenced by `element_id`","tags":["capacity_group_dependencies"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.capacity_group_dependencies"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Dependencies between capacity groups. When booking, the value of the group referenced by `accumulator_id` is set to the sum of the groups referenced by `element_id`","tags":["capacity_group_dependencies"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.capacity_group_dependencies.id"},{"$ref":"#/components/parameters/rowFilter.capacity_group_dependencies.created_at"},{"$ref":"#/components/parameters/rowFilter.capacity_group_dependencies.accumulator_id"},{"$ref":"#/components/parameters/rowFilter.capacity_group_dependencies.element_id"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Dependencies between capacity groups. When booking, the value of the group referenced by `accumulator_id` is set to the sum of the groups referenced by `element_id`","tags":["capacity_group_dependencies"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.capacity_group_dependencies.id"},{"$ref":"#/components/parameters/rowFilter.capacity_group_dependencies.created_at"},{"$ref":"#/components/parameters/rowFilter.capacity_group_dependencies.accumulator_id"},{"$ref":"#/components/parameters/rowFilter.capacity_group_dependencies.element_id"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.capacity_group_dependencies"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Dependencies between capacity groups. When booking, the value of the group referenced by `accumulator_id` is set to the sum of the groups referenced by `element_id`","tags":["capacity_group_dependencies"]}},"/capacity_groups":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.capacity_groups.id"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.created_at"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.updated_at"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.organization_id"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.name"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.description"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.order"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.type"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.name_singular"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.requires_explicit_input"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/capacity_groups"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Groups that can occupy units, such as adults, children or pets. Useful for separate prices and limits per group","tags":["capacity_groups"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.capacity_groups"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Groups that can occupy units, such as adults, children or pets. Useful for separate prices and limits per group","tags":["capacity_groups"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.capacity_groups.id"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.created_at"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.updated_at"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.organization_id"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.name"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.description"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.order"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.type"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.name_singular"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.requires_explicit_input"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Groups that can occupy units, such as adults, children or pets. Useful for separate prices and limits per group","tags":["capacity_groups"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.capacity_groups.id"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.created_at"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.updated_at"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.organization_id"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.name"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.description"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.order"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.type"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.name_singular"},{"$ref":"#/components/parameters/rowFilter.capacity_groups.requires_explicit_input"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.capacity_groups"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Groups that can occupy units, such as adults, children or pets. Useful for separate prices and limits per group","tags":["capacity_groups"]}},"/cart-checkout":{"post":{"parameters":[{"description":"The currency to use for the booking. Defaults to the product's currency. See [the widget docs](/docs/widgets/embed-customization) for the allowed values.","in":"query","name":"currency","required":false,"schema":{"default":null,"nullable":true,"type":"string","enum":["ARS","AUD","BRL","BYN","CAD","CHF","CLP","CNY","COP","CZK","DKK","EGP","EUR","GBP","HKD","HUF","ILS","INR","JPY","KRW","KYD","MAD","MXN","MYR","NGN","NOK","NZD","PEN","PHP","PLN","RON","RUB","SEK","SGD","THB","TRY","TWD","UAH","USD","XOF","VND","ZAR"],"title":"Currency"}},{"description":"The URL to redirect the user to when a booking payment fails. Defaults to the booking page.","in":"query","name":"failure_url","required":false,"schema":{"default":"__BOOKING_PAGE__","type":"string"}},{"description":"The user's preferred language.","in":"query","name":"language","required":false,"schema":{"default":"en-US","type":"string","enum":["be-BY","bg-BG","cs-CZ","da-DK","de-DE","en-GB","en-NZ","en-US","es-ES","eu-ES","fr-FR","gr-EL","he-IL","hr-HR","hu-HU","it-IT","ja-JP","lt-LT","lv-LV","nl-NL","nn-NO","pl-PL","pt-BR","ro-RO","ru-RU","sk-SK","sl-SI","sr-Cyrl","sr-Latn","sv-SE","tr-TR","uk-UA"],"title":"Language"}},{"description":"The URL to redirect the user to after the booking is completed.","in":"query","name":"redirect_url","required":false,"schema":{"default":null,"nullable":true,"type":"string"}},{"description":"How to interpret pending events when checking availability. Defaults to `TENTATIVE`","in":"query","name":"show_pending_as","required":false,"schema":{"default":"TENTATIVE","type":"string","enum":["CONFIRMED","TENTATIVE","CANCELLED"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"coupon_codes":{"type":"array","items":{"type":"string"},"description":"The coupon codes entered for the bookings in the cart."},"items":{"type":"array","items":{"type":"object","properties":{"form_values":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"nullable":true,"type":"boolean"},{"type":"object","additionalProperties":{"nullable":true,"type":"string"}}]},"description":"Values for each of the form fields. The keys refer to `services.id`, the values should be valid values for each of these services."},"id":{"type":"string","description":"A client-side identifier, to match validation and checkout results to items."},"interval":{"type":"object","properties":{"end":{"type":"string"},"start":{"type":"string"}},"required":["end","start"],"description":"The interval to book, as YYYY-MM-DD dates."},"occupancy":{"type":"object","additionalProperties":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"description":"The occupancy for each capacity group. The keys refer to `capacity_groups.id`, the values are the number of guests for that group."},"product_id":{"type":"string","description":"The identifier of the product to book."}},"required":["form_values","id","interval","occupancy","product_id"],"title":"CartItem"},"description":"The items to book. Each item has a product, interval, occupancy and form values, and a client-side `id` to match results to items."}},"required":["coupon_codes","items"],"title":"Cart"}}}},"responses":{"201":{"description":"The booking was created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingConfirmation"}}}},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Book the items in a cart","tags":["Booking flow"]}},"/cart-validate":{"post":{"parameters":[{"description":"How to interpret pending events when checking availability. Defaults to `TENTATIVE`","in":"query","name":"show_pending_as","required":false,"schema":{"default":"TENTATIVE","type":"string","enum":["CONFIRMED","TENTATIVE","CANCELLED"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"coupon_codes":{"type":"array","items":{"type":"string"},"description":"The coupon codes entered for the bookings in the cart."},"items":{"type":"array","items":{"type":"object","properties":{"form_values":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"nullable":true,"type":"boolean"},{"type":"object","additionalProperties":{"nullable":true,"type":"string"}}]},"description":"Values for each of the form fields. The keys refer to `services.id`, the values should be valid values for each of these services."},"id":{"type":"string","description":"A client-side identifier, to match validation and checkout results to items."},"interval":{"type":"object","properties":{"end":{"type":"string"},"start":{"type":"string"}},"required":["end","start"],"description":"The interval to book, as YYYY-MM-DD dates."},"occupancy":{"type":"object","additionalProperties":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"description":"The occupancy for each capacity group. The keys refer to `capacity_groups.id`, the values are the number of guests for that group."},"product_id":{"type":"string","description":"The identifier of the product to book."}},"required":["form_values","id","interval","occupancy","product_id"],"title":"CartItem"},"description":"The items to book. Each item has a product, interval, occupancy and form values, and a client-side `id` to match results to items."}},"required":["coupon_codes","items"],"title":"Cart"}}}},"responses":{"200":{"description":"The validity of each item in the cart","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"availabilityMatch":{"type":"boolean"},"id":{"type":"string","description":"The client-side identifier of the cart item"},"occupancyMatch":{"type":"boolean"},"valid":{"type":"boolean"}},"required":["availabilityMatch","id","occupancyMatch","valid"],"additionalProperties":false}}}}},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Check the availability and occupancy of the items in a cart","tags":["Booking flow"]}},"/contact_bookings":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.contact_bookings.contact_id"},{"$ref":"#/components/parameters/rowFilter.contact_bookings.booking_id"},{"$ref":"#/components/parameters/rowFilter.contact_bookings.created_at"},{"$ref":"#/components/parameters/rowFilter.contact_bookings.id"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/contact_bookings"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Link between contacts and bookings","tags":["contact_bookings"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.contact_bookings"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Link between contacts and bookings","tags":["contact_bookings"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.contact_bookings.contact_id"},{"$ref":"#/components/parameters/rowFilter.contact_bookings.booking_id"},{"$ref":"#/components/parameters/rowFilter.contact_bookings.created_at"},{"$ref":"#/components/parameters/rowFilter.contact_bookings.id"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Link between contacts and bookings","tags":["contact_bookings"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.contact_bookings.contact_id"},{"$ref":"#/components/parameters/rowFilter.contact_bookings.booking_id"},{"$ref":"#/components/parameters/rowFilter.contact_bookings.created_at"},{"$ref":"#/components/parameters/rowFilter.contact_bookings.id"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.contact_bookings"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Link between contacts and bookings","tags":["contact_bookings"]}},"/contacts":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.contacts.id"},{"$ref":"#/components/parameters/rowFilter.contacts.avatar"},{"$ref":"#/components/parameters/rowFilter.contacts.email"},{"$ref":"#/components/parameters/rowFilter.contacts.phone"},{"$ref":"#/components/parameters/rowFilter.contacts.created_at"},{"$ref":"#/components/parameters/rowFilter.contacts.updated_at"},{"$ref":"#/components/parameters/rowFilter.contacts.organization_id"},{"$ref":"#/components/parameters/rowFilter.contacts.language"},{"$ref":"#/components/parameters/rowFilter.contacts.creator_id"},{"$ref":"#/components/parameters/rowFilter.contacts.first_name"},{"$ref":"#/components/parameters/rowFilter.contacts.last_name"},{"$ref":"#/components/parameters/rowFilter.contacts.street"},{"$ref":"#/components/parameters/rowFilter.contacts.street2"},{"$ref":"#/components/parameters/rowFilter.contacts.zip"},{"$ref":"#/components/parameters/rowFilter.contacts.city"},{"$ref":"#/components/parameters/rowFilter.contacts.province"},{"$ref":"#/components/parameters/rowFilter.contacts.state"},{"$ref":"#/components/parameters/rowFilter.contacts.country"},{"$ref":"#/components/parameters/rowFilter.contacts.name"},{"$ref":"#/components/parameters/rowFilter.contacts.fts"},{"$ref":"#/components/parameters/rowFilter.contacts.notes"},{"$ref":"#/components/parameters/rowFilter.contacts.meta"},{"$ref":"#/components/parameters/rowFilter.contacts.company_name"},{"$ref":"#/components/parameters/rowFilter.contacts.country_code"},{"$ref":"#/components/parameters/rowFilter.contacts.e_invoice_scheme"},{"$ref":"#/components/parameters/rowFilter.contacts.e_invoice_address"},{"$ref":"#/components/parameters/rowFilter.contacts.sms_opt_in"},{"$ref":"#/components/parameters/rowFilter.contacts.address"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/contacts"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Guests and other contacts of the organization","tags":["contacts"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.contacts"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Guests and other contacts of the organization","tags":["contacts"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.contacts.id"},{"$ref":"#/components/parameters/rowFilter.contacts.avatar"},{"$ref":"#/components/parameters/rowFilter.contacts.email"},{"$ref":"#/components/parameters/rowFilter.contacts.phone"},{"$ref":"#/components/parameters/rowFilter.contacts.created_at"},{"$ref":"#/components/parameters/rowFilter.contacts.updated_at"},{"$ref":"#/components/parameters/rowFilter.contacts.organization_id"},{"$ref":"#/components/parameters/rowFilter.contacts.language"},{"$ref":"#/components/parameters/rowFilter.contacts.creator_id"},{"$ref":"#/components/parameters/rowFilter.contacts.first_name"},{"$ref":"#/components/parameters/rowFilter.contacts.last_name"},{"$ref":"#/components/parameters/rowFilter.contacts.street"},{"$ref":"#/components/parameters/rowFilter.contacts.street2"},{"$ref":"#/components/parameters/rowFilter.contacts.zip"},{"$ref":"#/components/parameters/rowFilter.contacts.city"},{"$ref":"#/components/parameters/rowFilter.contacts.province"},{"$ref":"#/components/parameters/rowFilter.contacts.state"},{"$ref":"#/components/parameters/rowFilter.contacts.country"},{"$ref":"#/components/parameters/rowFilter.contacts.name"},{"$ref":"#/components/parameters/rowFilter.contacts.fts"},{"$ref":"#/components/parameters/rowFilter.contacts.notes"},{"$ref":"#/components/parameters/rowFilter.contacts.meta"},{"$ref":"#/components/parameters/rowFilter.contacts.company_name"},{"$ref":"#/components/parameters/rowFilter.contacts.country_code"},{"$ref":"#/components/parameters/rowFilter.contacts.e_invoice_scheme"},{"$ref":"#/components/parameters/rowFilter.contacts.e_invoice_address"},{"$ref":"#/components/parameters/rowFilter.contacts.sms_opt_in"},{"$ref":"#/components/parameters/rowFilter.contacts.address"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Guests and other contacts of the organization","tags":["contacts"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.contacts.id"},{"$ref":"#/components/parameters/rowFilter.contacts.avatar"},{"$ref":"#/components/parameters/rowFilter.contacts.email"},{"$ref":"#/components/parameters/rowFilter.contacts.phone"},{"$ref":"#/components/parameters/rowFilter.contacts.created_at"},{"$ref":"#/components/parameters/rowFilter.contacts.updated_at"},{"$ref":"#/components/parameters/rowFilter.contacts.organization_id"},{"$ref":"#/components/parameters/rowFilter.contacts.language"},{"$ref":"#/components/parameters/rowFilter.contacts.creator_id"},{"$ref":"#/components/parameters/rowFilter.contacts.first_name"},{"$ref":"#/components/parameters/rowFilter.contacts.last_name"},{"$ref":"#/components/parameters/rowFilter.contacts.street"},{"$ref":"#/components/parameters/rowFilter.contacts.street2"},{"$ref":"#/components/parameters/rowFilter.contacts.zip"},{"$ref":"#/components/parameters/rowFilter.contacts.city"},{"$ref":"#/components/parameters/rowFilter.contacts.province"},{"$ref":"#/components/parameters/rowFilter.contacts.state"},{"$ref":"#/components/parameters/rowFilter.contacts.country"},{"$ref":"#/components/parameters/rowFilter.contacts.name"},{"$ref":"#/components/parameters/rowFilter.contacts.fts"},{"$ref":"#/components/parameters/rowFilter.contacts.notes"},{"$ref":"#/components/parameters/rowFilter.contacts.meta"},{"$ref":"#/components/parameters/rowFilter.contacts.company_name"},{"$ref":"#/components/parameters/rowFilter.contacts.country_code"},{"$ref":"#/components/parameters/rowFilter.contacts.e_invoice_scheme"},{"$ref":"#/components/parameters/rowFilter.contacts.e_invoice_address"},{"$ref":"#/components/parameters/rowFilter.contacts.sms_opt_in"},{"$ref":"#/components/parameters/rowFilter.contacts.address"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.contacts"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Guests and other contacts of the organization","tags":["contacts"]}},"/coupon_products":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.coupon_products.id"},{"$ref":"#/components/parameters/rowFilter.coupon_products.created_at"},{"$ref":"#/components/parameters/rowFilter.coupon_products.coupon_id"},{"$ref":"#/components/parameters/rowFilter.coupon_products.product_id"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/coupon_products"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units a coupon applies to. Only checked when `coupons.scope` is `rent` or `product`","tags":["coupon_products"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.coupon_products"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units a coupon applies to. Only checked when `coupons.scope` is `rent` or `product`","tags":["coupon_products"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.coupon_products.id"},{"$ref":"#/components/parameters/rowFilter.coupon_products.created_at"},{"$ref":"#/components/parameters/rowFilter.coupon_products.coupon_id"},{"$ref":"#/components/parameters/rowFilter.coupon_products.product_id"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units a coupon applies to. Only checked when `coupons.scope` is `rent` or `product`","tags":["coupon_products"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.coupon_products.id"},{"$ref":"#/components/parameters/rowFilter.coupon_products.created_at"},{"$ref":"#/components/parameters/rowFilter.coupon_products.coupon_id"},{"$ref":"#/components/parameters/rowFilter.coupon_products.product_id"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.coupon_products"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units a coupon applies to. Only checked when `coupons.scope` is `rent` or `product`","tags":["coupon_products"]}},"/coupon_services":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.coupon_services.id"},{"$ref":"#/components/parameters/rowFilter.coupon_services.created_at"},{"$ref":"#/components/parameters/rowFilter.coupon_services.coupon_id"},{"$ref":"#/components/parameters/rowFilter.coupon_services.service_id"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/coupon_services"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Services a coupon applies to. Only checked when `coupons.scope` is `service`","tags":["coupon_services"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.coupon_services"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Services a coupon applies to. Only checked when `coupons.scope` is `service`","tags":["coupon_services"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.coupon_services.id"},{"$ref":"#/components/parameters/rowFilter.coupon_services.created_at"},{"$ref":"#/components/parameters/rowFilter.coupon_services.coupon_id"},{"$ref":"#/components/parameters/rowFilter.coupon_services.service_id"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Services a coupon applies to. Only checked when `coupons.scope` is `service`","tags":["coupon_services"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.coupon_services.id"},{"$ref":"#/components/parameters/rowFilter.coupon_services.created_at"},{"$ref":"#/components/parameters/rowFilter.coupon_services.coupon_id"},{"$ref":"#/components/parameters/rowFilter.coupon_services.service_id"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.coupon_services"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Services a coupon applies to. Only checked when `coupons.scope` is `service`","tags":["coupon_services"]}},"/coupon_uses":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.coupon_uses.id"},{"$ref":"#/components/parameters/rowFilter.coupon_uses.created_at"},{"$ref":"#/components/parameters/rowFilter.coupon_uses.coupon_id"},{"$ref":"#/components/parameters/rowFilter.coupon_uses.booking_id"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/coupon_uses"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Coupons used in bookings","tags":["coupon_uses"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.coupon_uses"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Coupons used in bookings","tags":["coupon_uses"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.coupon_uses.id"},{"$ref":"#/components/parameters/rowFilter.coupon_uses.created_at"},{"$ref":"#/components/parameters/rowFilter.coupon_uses.coupon_id"},{"$ref":"#/components/parameters/rowFilter.coupon_uses.booking_id"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Coupons used in bookings","tags":["coupon_uses"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.coupon_uses.id"},{"$ref":"#/components/parameters/rowFilter.coupon_uses.created_at"},{"$ref":"#/components/parameters/rowFilter.coupon_uses.coupon_id"},{"$ref":"#/components/parameters/rowFilter.coupon_uses.booking_id"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.coupon_uses"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Coupons used in bookings","tags":["coupon_uses"]}},"/coupons":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.coupons.id"},{"$ref":"#/components/parameters/rowFilter.coupons.created_at"},{"$ref":"#/components/parameters/rowFilter.coupons.updated_at"},{"$ref":"#/components/parameters/rowFilter.coupons.organization_id"},{"$ref":"#/components/parameters/rowFilter.coupons.code"},{"$ref":"#/components/parameters/rowFilter.coupons.description"},{"$ref":"#/components/parameters/rowFilter.coupons.quota"},{"$ref":"#/components/parameters/rowFilter.coupons.definition"},{"$ref":"#/components/parameters/rowFilter.coupons.scope"},{"$ref":"#/components/parameters/rowFilter.coupons.deleted_at"},{"$ref":"#/components/parameters/rowFilter.coupons.fts"},{"$ref":"#/components/parameters/rowFilter.coupons.stackable"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/coupons"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Codes guests can enter for additional discounts","tags":["coupons"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.coupons"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Codes guests can enter for additional discounts","tags":["coupons"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.coupons.id"},{"$ref":"#/components/parameters/rowFilter.coupons.created_at"},{"$ref":"#/components/parameters/rowFilter.coupons.updated_at"},{"$ref":"#/components/parameters/rowFilter.coupons.organization_id"},{"$ref":"#/components/parameters/rowFilter.coupons.code"},{"$ref":"#/components/parameters/rowFilter.coupons.description"},{"$ref":"#/components/parameters/rowFilter.coupons.quota"},{"$ref":"#/components/parameters/rowFilter.coupons.definition"},{"$ref":"#/components/parameters/rowFilter.coupons.scope"},{"$ref":"#/components/parameters/rowFilter.coupons.deleted_at"},{"$ref":"#/components/parameters/rowFilter.coupons.fts"},{"$ref":"#/components/parameters/rowFilter.coupons.stackable"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Codes guests can enter for additional discounts","tags":["coupons"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.coupons.id"},{"$ref":"#/components/parameters/rowFilter.coupons.created_at"},{"$ref":"#/components/parameters/rowFilter.coupons.updated_at"},{"$ref":"#/components/parameters/rowFilter.coupons.organization_id"},{"$ref":"#/components/parameters/rowFilter.coupons.code"},{"$ref":"#/components/parameters/rowFilter.coupons.description"},{"$ref":"#/components/parameters/rowFilter.coupons.quota"},{"$ref":"#/components/parameters/rowFilter.coupons.definition"},{"$ref":"#/components/parameters/rowFilter.coupons.scope"},{"$ref":"#/components/parameters/rowFilter.coupons.deleted_at"},{"$ref":"#/components/parameters/rowFilter.coupons.fts"},{"$ref":"#/components/parameters/rowFilter.coupons.stackable"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.coupons"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Codes guests can enter for additional discounts","tags":["coupons"]}},"/external_calendars":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.external_calendars.id"},{"$ref":"#/components/parameters/rowFilter.external_calendars.product_id"},{"$ref":"#/components/parameters/rowFilter.external_calendars.name"},{"$ref":"#/components/parameters/rowFilter.external_calendars.ical_url"},{"$ref":"#/components/parameters/rowFilter.external_calendars.last_synced"},{"$ref":"#/components/parameters/rowFilter.external_calendars.created_at"},{"$ref":"#/components/parameters/rowFilter.external_calendars.updated_at"},{"$ref":"#/components/parameters/rowFilter.external_calendars.sync_requested_at"},{"$ref":"#/components/parameters/rowFilter.external_calendars.error"},{"$ref":"#/components/parameters/rowFilter.external_calendars.time_offset"},{"$ref":"#/components/parameters/rowFilter.external_calendars.tld"},{"$ref":"#/components/parameters/rowFilter.external_calendars.event_status_sync"},{"$ref":"#/components/parameters/rowFilter.external_calendars.deactivated_at"},{"$ref":"#/components/parameters/rowFilter.external_calendars.active"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/external_calendars"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Imported iCal calendars, for syncing bookings with platforms like Airbnb or Booking.com","tags":["external_calendars"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.external_calendars"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Imported iCal calendars, for syncing bookings with platforms like Airbnb or Booking.com","tags":["external_calendars"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.external_calendars.id"},{"$ref":"#/components/parameters/rowFilter.external_calendars.product_id"},{"$ref":"#/components/parameters/rowFilter.external_calendars.name"},{"$ref":"#/components/parameters/rowFilter.external_calendars.ical_url"},{"$ref":"#/components/parameters/rowFilter.external_calendars.last_synced"},{"$ref":"#/components/parameters/rowFilter.external_calendars.created_at"},{"$ref":"#/components/parameters/rowFilter.external_calendars.updated_at"},{"$ref":"#/components/parameters/rowFilter.external_calendars.sync_requested_at"},{"$ref":"#/components/parameters/rowFilter.external_calendars.error"},{"$ref":"#/components/parameters/rowFilter.external_calendars.time_offset"},{"$ref":"#/components/parameters/rowFilter.external_calendars.tld"},{"$ref":"#/components/parameters/rowFilter.external_calendars.event_status_sync"},{"$ref":"#/components/parameters/rowFilter.external_calendars.deactivated_at"},{"$ref":"#/components/parameters/rowFilter.external_calendars.active"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Imported iCal calendars, for syncing bookings with platforms like Airbnb or Booking.com","tags":["external_calendars"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.external_calendars.id"},{"$ref":"#/components/parameters/rowFilter.external_calendars.product_id"},{"$ref":"#/components/parameters/rowFilter.external_calendars.name"},{"$ref":"#/components/parameters/rowFilter.external_calendars.ical_url"},{"$ref":"#/components/parameters/rowFilter.external_calendars.last_synced"},{"$ref":"#/components/parameters/rowFilter.external_calendars.created_at"},{"$ref":"#/components/parameters/rowFilter.external_calendars.updated_at"},{"$ref":"#/components/parameters/rowFilter.external_calendars.sync_requested_at"},{"$ref":"#/components/parameters/rowFilter.external_calendars.error"},{"$ref":"#/components/parameters/rowFilter.external_calendars.time_offset"},{"$ref":"#/components/parameters/rowFilter.external_calendars.tld"},{"$ref":"#/components/parameters/rowFilter.external_calendars.event_status_sync"},{"$ref":"#/components/parameters/rowFilter.external_calendars.deactivated_at"},{"$ref":"#/components/parameters/rowFilter.external_calendars.active"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.external_calendars"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Imported iCal calendars, for syncing bookings with platforms like Airbnb or Booking.com","tags":["external_calendars"]}},"/invoices":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.invoices.id"},{"$ref":"#/components/parameters/rowFilter.invoices.created_at"},{"$ref":"#/components/parameters/rowFilter.invoices.organization_id"},{"$ref":"#/components/parameters/rowFilter.invoices.reference"},{"$ref":"#/components/parameters/rowFilter.invoices.booking_id"},{"$ref":"#/components/parameters/rowFilter.invoices.updated_at"},{"$ref":"#/components/parameters/rowFilter.invoices.fts"},{"$ref":"#/components/parameters/rowFilter.invoices.attachment"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/invoices"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Invoices for bookings","tags":["invoices"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.invoices"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Invoices for bookings","tags":["invoices"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.invoices.id"},{"$ref":"#/components/parameters/rowFilter.invoices.created_at"},{"$ref":"#/components/parameters/rowFilter.invoices.organization_id"},{"$ref":"#/components/parameters/rowFilter.invoices.reference"},{"$ref":"#/components/parameters/rowFilter.invoices.booking_id"},{"$ref":"#/components/parameters/rowFilter.invoices.updated_at"},{"$ref":"#/components/parameters/rowFilter.invoices.fts"},{"$ref":"#/components/parameters/rowFilter.invoices.attachment"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Invoices for bookings","tags":["invoices"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.invoices.id"},{"$ref":"#/components/parameters/rowFilter.invoices.created_at"},{"$ref":"#/components/parameters/rowFilter.invoices.organization_id"},{"$ref":"#/components/parameters/rowFilter.invoices.reference"},{"$ref":"#/components/parameters/rowFilter.invoices.booking_id"},{"$ref":"#/components/parameters/rowFilter.invoices.updated_at"},{"$ref":"#/components/parameters/rowFilter.invoices.fts"},{"$ref":"#/components/parameters/rowFilter.invoices.attachment"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.invoices"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Invoices for bookings","tags":["invoices"]}},"/line_item_taxes":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.line_item_taxes.id"},{"$ref":"#/components/parameters/rowFilter.line_item_taxes.line_item_id"},{"$ref":"#/components/parameters/rowFilter.line_item_taxes.tax_id"},{"$ref":"#/components/parameters/rowFilter.line_item_taxes.amount"},{"$ref":"#/components/parameters/rowFilter.line_item_taxes.percentage"},{"$ref":"#/components/parameters/rowFilter.line_item_taxes.type"},{"$ref":"#/components/parameters/rowFilter.line_item_taxes.label"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/line_item_taxes"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Taxes applying on line items","tags":["line_item_taxes"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.line_item_taxes"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Taxes applying on line items","tags":["line_item_taxes"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.line_item_taxes.id"},{"$ref":"#/components/parameters/rowFilter.line_item_taxes.line_item_id"},{"$ref":"#/components/parameters/rowFilter.line_item_taxes.tax_id"},{"$ref":"#/components/parameters/rowFilter.line_item_taxes.amount"},{"$ref":"#/components/parameters/rowFilter.line_item_taxes.percentage"},{"$ref":"#/components/parameters/rowFilter.line_item_taxes.type"},{"$ref":"#/components/parameters/rowFilter.line_item_taxes.label"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Taxes applying on line items","tags":["line_item_taxes"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.line_item_taxes.id"},{"$ref":"#/components/parameters/rowFilter.line_item_taxes.line_item_id"},{"$ref":"#/components/parameters/rowFilter.line_item_taxes.tax_id"},{"$ref":"#/components/parameters/rowFilter.line_item_taxes.amount"},{"$ref":"#/components/parameters/rowFilter.line_item_taxes.percentage"},{"$ref":"#/components/parameters/rowFilter.line_item_taxes.type"},{"$ref":"#/components/parameters/rowFilter.line_item_taxes.label"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.line_item_taxes"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Taxes applying on line items","tags":["line_item_taxes"]}},"/line_items":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.line_items.id"},{"$ref":"#/components/parameters/rowFilter.line_items.booking_id"},{"$ref":"#/components/parameters/rowFilter.line_items.amount"},{"$ref":"#/components/parameters/rowFilter.line_items.quantity"},{"$ref":"#/components/parameters/rowFilter.line_items.created_at"},{"$ref":"#/components/parameters/rowFilter.line_items.updated_at"},{"$ref":"#/components/parameters/rowFilter.line_items.item_type"},{"$ref":"#/components/parameters/rowFilter.line_items.fee_type"},{"$ref":"#/components/parameters/rowFilter.line_items.service_id"},{"$ref":"#/components/parameters/rowFilter.line_items.invoice_id"},{"$ref":"#/components/parameters/rowFilter.line_items.name"},{"$ref":"#/components/parameters/rowFilter.line_items.event_id"},{"$ref":"#/components/parameters/rowFilter.line_items.manual"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/line_items"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Lines of booking invoices","tags":["line_items"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.line_items"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Lines of booking invoices","tags":["line_items"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.line_items.id"},{"$ref":"#/components/parameters/rowFilter.line_items.booking_id"},{"$ref":"#/components/parameters/rowFilter.line_items.amount"},{"$ref":"#/components/parameters/rowFilter.line_items.quantity"},{"$ref":"#/components/parameters/rowFilter.line_items.created_at"},{"$ref":"#/components/parameters/rowFilter.line_items.updated_at"},{"$ref":"#/components/parameters/rowFilter.line_items.item_type"},{"$ref":"#/components/parameters/rowFilter.line_items.fee_type"},{"$ref":"#/components/parameters/rowFilter.line_items.service_id"},{"$ref":"#/components/parameters/rowFilter.line_items.invoice_id"},{"$ref":"#/components/parameters/rowFilter.line_items.name"},{"$ref":"#/components/parameters/rowFilter.line_items.event_id"},{"$ref":"#/components/parameters/rowFilter.line_items.manual"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Lines of booking invoices","tags":["line_items"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.line_items.id"},{"$ref":"#/components/parameters/rowFilter.line_items.booking_id"},{"$ref":"#/components/parameters/rowFilter.line_items.amount"},{"$ref":"#/components/parameters/rowFilter.line_items.quantity"},{"$ref":"#/components/parameters/rowFilter.line_items.created_at"},{"$ref":"#/components/parameters/rowFilter.line_items.updated_at"},{"$ref":"#/components/parameters/rowFilter.line_items.item_type"},{"$ref":"#/components/parameters/rowFilter.line_items.fee_type"},{"$ref":"#/components/parameters/rowFilter.line_items.service_id"},{"$ref":"#/components/parameters/rowFilter.line_items.invoice_id"},{"$ref":"#/components/parameters/rowFilter.line_items.name"},{"$ref":"#/components/parameters/rowFilter.line_items.event_id"},{"$ref":"#/components/parameters/rowFilter.line_items.manual"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.line_items"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Lines of booking invoices","tags":["line_items"]}},"/members":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.members.id"},{"$ref":"#/components/parameters/rowFilter.members.organization_id"},{"$ref":"#/components/parameters/rowFilter.members.user_id"},{"$ref":"#/components/parameters/rowFilter.members.created_at"},{"$ref":"#/components/parameters/rowFilter.members.updated_at"},{"$ref":"#/components/parameters/rowFilter.members.role"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/members"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Members of organizations","tags":["members"]},"delete":{"parameters":[{"description":"The id of the member","in":"query","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"The revoked member","content":{"application/json":{"schema":{"$ref":"#/components/schemas/members"}}}},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Revoke a member with the user role","tags":["members"]},"post":{"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"The email address of the member to invite."},"language":{"description":"The member's preferred language.","type":"string","enum":["be-BY","bg-BG","cs-CZ","da-DK","de-DE","en-GB","en-NZ","en-US","es-ES","eu-ES","fr-FR","gr-EL","he-IL","hr-HR","hu-HU","it-IT","ja-JP","lt-LT","lv-LV","nl-NL","nn-NO","pl-PL","pt-BR","ro-RO","ru-RU","sk-SK","sl-SI","sr-Cyrl","sr-Latn","sv-SE","tr-TR","uk-UA"],"title":"Language"},"name":{"description":"The name of the member to invite.","type":"string"}},"required":["email"]}}}},"responses":{"201":{"description":"The invited member","content":{"application/json":{"schema":{"$ref":"#/components/schemas/members"}}}},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Invite a member with the user role","tags":["members"]}},"/message_events":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.message_events.id"},{"$ref":"#/components/parameters/rowFilter.message_events.message_id"},{"$ref":"#/components/parameters/rowFilter.message_events.created_at"},{"$ref":"#/components/parameters/rowFilter.message_events.event_type"},{"$ref":"#/components/parameters/rowFilter.message_events.recipient"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/message_events"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Bounce, delivery and open events of messages","tags":["message_events"]}},"/message_templates":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.message_templates.id"},{"$ref":"#/components/parameters/rowFilter.message_templates.organization_id"},{"$ref":"#/components/parameters/rowFilter.message_templates.trigger"},{"$ref":"#/components/parameters/rowFilter.message_templates.created_at"},{"$ref":"#/components/parameters/rowFilter.message_templates.updated_at"},{"$ref":"#/components/parameters/rowFilter.message_templates.subject"},{"$ref":"#/components/parameters/rowFilter.message_templates.body"},{"$ref":"#/components/parameters/rowFilter.message_templates.attachments"},{"$ref":"#/components/parameters/rowFilter.message_templates.fts"},{"$ref":"#/components/parameters/rowFilter.message_templates.include_booking_details"},{"$ref":"#/components/parameters/rowFilter.message_templates.include_booking_link"},{"$ref":"#/components/parameters/rowFilter.message_templates.include_ical_data"},{"$ref":"#/components/parameters/rowFilter.message_templates.include_product_image"},{"$ref":"#/components/parameters/rowFilter.message_templates.moment"},{"$ref":"#/components/parameters/rowFilter.message_templates.status"},{"$ref":"#/components/parameters/rowFilter.message_templates.type"},{"$ref":"#/components/parameters/rowFilter.message_templates.past_schedule_behavior"},{"$ref":"#/components/parameters/rowFilter.message_templates.time"},{"$ref":"#/components/parameters/rowFilter.message_templates.include_transactions"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/message_templates"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reusable templates for emails and text messages","tags":["message_templates"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.message_templates"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reusable templates for emails and text messages","tags":["message_templates"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.message_templates.id"},{"$ref":"#/components/parameters/rowFilter.message_templates.organization_id"},{"$ref":"#/components/parameters/rowFilter.message_templates.trigger"},{"$ref":"#/components/parameters/rowFilter.message_templates.created_at"},{"$ref":"#/components/parameters/rowFilter.message_templates.updated_at"},{"$ref":"#/components/parameters/rowFilter.message_templates.subject"},{"$ref":"#/components/parameters/rowFilter.message_templates.body"},{"$ref":"#/components/parameters/rowFilter.message_templates.attachments"},{"$ref":"#/components/parameters/rowFilter.message_templates.fts"},{"$ref":"#/components/parameters/rowFilter.message_templates.include_booking_details"},{"$ref":"#/components/parameters/rowFilter.message_templates.include_booking_link"},{"$ref":"#/components/parameters/rowFilter.message_templates.include_ical_data"},{"$ref":"#/components/parameters/rowFilter.message_templates.include_product_image"},{"$ref":"#/components/parameters/rowFilter.message_templates.moment"},{"$ref":"#/components/parameters/rowFilter.message_templates.status"},{"$ref":"#/components/parameters/rowFilter.message_templates.type"},{"$ref":"#/components/parameters/rowFilter.message_templates.past_schedule_behavior"},{"$ref":"#/components/parameters/rowFilter.message_templates.time"},{"$ref":"#/components/parameters/rowFilter.message_templates.include_transactions"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reusable templates for emails and text messages","tags":["message_templates"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.message_templates.id"},{"$ref":"#/components/parameters/rowFilter.message_templates.organization_id"},{"$ref":"#/components/parameters/rowFilter.message_templates.trigger"},{"$ref":"#/components/parameters/rowFilter.message_templates.created_at"},{"$ref":"#/components/parameters/rowFilter.message_templates.updated_at"},{"$ref":"#/components/parameters/rowFilter.message_templates.subject"},{"$ref":"#/components/parameters/rowFilter.message_templates.body"},{"$ref":"#/components/parameters/rowFilter.message_templates.attachments"},{"$ref":"#/components/parameters/rowFilter.message_templates.fts"},{"$ref":"#/components/parameters/rowFilter.message_templates.include_booking_details"},{"$ref":"#/components/parameters/rowFilter.message_templates.include_booking_link"},{"$ref":"#/components/parameters/rowFilter.message_templates.include_ical_data"},{"$ref":"#/components/parameters/rowFilter.message_templates.include_product_image"},{"$ref":"#/components/parameters/rowFilter.message_templates.moment"},{"$ref":"#/components/parameters/rowFilter.message_templates.status"},{"$ref":"#/components/parameters/rowFilter.message_templates.type"},{"$ref":"#/components/parameters/rowFilter.message_templates.past_schedule_behavior"},{"$ref":"#/components/parameters/rowFilter.message_templates.time"},{"$ref":"#/components/parameters/rowFilter.message_templates.include_transactions"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.message_templates"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reusable templates for emails and text messages","tags":["message_templates"]}},"/messages":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.messages.id"},{"$ref":"#/components/parameters/rowFilter.messages.created_at"},{"$ref":"#/components/parameters/rowFilter.messages.html"},{"$ref":"#/components/parameters/rowFilter.messages.attachments"},{"$ref":"#/components/parameters/rowFilter.messages.status"},{"$ref":"#/components/parameters/rowFilter.messages.send_at"},{"$ref":"#/components/parameters/rowFilter.messages.subject"},{"$ref":"#/components/parameters/rowFilter.messages.body"},{"$ref":"#/components/parameters/rowFilter.messages.include_booking_details"},{"$ref":"#/components/parameters/rowFilter.messages.include_booking_link"},{"$ref":"#/components/parameters/rowFilter.messages.include_ical_data"},{"$ref":"#/components/parameters/rowFilter.messages.include_product_image"},{"$ref":"#/components/parameters/rowFilter.messages.message_template_id"},{"$ref":"#/components/parameters/rowFilter.messages.type"},{"$ref":"#/components/parameters/rowFilter.messages.booking_id"},{"$ref":"#/components/parameters/rowFilter.messages.include_transactions"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/messages"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Emails and text messages, scheduled or sent to guests","tags":["messages"]}},"/organization_calendar_logs":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.organization_calendar_logs.id"},{"$ref":"#/components/parameters/rowFilter.organization_calendar_logs.organization_id"},{"$ref":"#/components/parameters/rowFilter.organization_calendar_logs.created_at"},{"$ref":"#/components/parameters/rowFilter.organization_calendar_logs.referrer"},{"$ref":"#/components/parameters/rowFilter.organization_calendar_logs.status"},{"$ref":"#/components/parameters/rowFilter.organization_calendar_logs.params"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/organization_calendar_logs"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Logs of each time the organization's iCal feed is read by an external platform","tags":["organization_calendar_logs"]}},"/organizations":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.organizations.created_at"},{"$ref":"#/components/parameters/rowFilter.organizations.updated_at"},{"$ref":"#/components/parameters/rowFilter.organizations.id"},{"$ref":"#/components/parameters/rowFilter.organizations.avatar"},{"$ref":"#/components/parameters/rowFilter.organizations.expires_at"},{"$ref":"#/components/parameters/rowFilter.organizations.paddle_subscription_id"},{"$ref":"#/components/parameters/rowFilter.organizations.pricing_version"},{"$ref":"#/components/parameters/rowFilter.organizations.deleted_at"},{"$ref":"#/components/parameters/rowFilter.organizations.tier"},{"$ref":"#/components/parameters/rowFilter.organizations.subscription_type"},{"$ref":"#/components/parameters/rowFilter.organizations.name"},{"$ref":"#/components/parameters/rowFilter.organizations.credit"},{"$ref":"#/components/parameters/rowFilter.organizations.active"},{"$ref":"#/components/parameters/rowFilter.organizations.fts"},{"$ref":"#/components/parameters/rowFilter.organizations.thread_emails"},{"$ref":"#/components/parameters/rowFilter.organizations.from_address"},{"$ref":"#/components/parameters/rowFilter.organizations.from_name"},{"$ref":"#/components/parameters/rowFilter.organizations.invoice_details"},{"$ref":"#/components/parameters/rowFilter.organizations.stripe_account_id"},{"$ref":"#/components/parameters/rowFilter.organizations.payment_method"},{"$ref":"#/components/parameters/rowFilter.organizations.color_background"},{"$ref":"#/components/parameters/rowFilter.organizations.color_error"},{"$ref":"#/components/parameters/rowFilter.organizations.color_primary"},{"$ref":"#/components/parameters/rowFilter.organizations.color_text"},{"$ref":"#/components/parameters/rowFilter.organizations.contact_details"},{"$ref":"#/components/parameters/rowFilter.organizations.description"},{"$ref":"#/components/parameters/rowFilter.organizations.font"},{"$ref":"#/components/parameters/rowFilter.organizations.logo_alt"},{"$ref":"#/components/parameters/rowFilter.organizations.logo"},{"$ref":"#/components/parameters/rowFilter.organizations.show_branding_booking_status_page"},{"$ref":"#/components/parameters/rowFilter.organizations.languages"},{"$ref":"#/components/parameters/rowFilter.organizations.color_header"},{"$ref":"#/components/parameters/rowFilter.organizations.arrival_label"},{"$ref":"#/components/parameters/rowFilter.organizations.departure_label"},{"$ref":"#/components/parameters/rowFilter.organizations.payment_details"},{"$ref":"#/components/parameters/rowFilter.organizations.initial_review_status"},{"$ref":"#/components/parameters/rowFilter.organizations.review_prompt"},{"$ref":"#/components/parameters/rowFilter.organizations.show_review_prompt"},{"$ref":"#/components/parameters/rowFilter.organizations.color_info"},{"$ref":"#/components/parameters/rowFilter.organizations.color_warning"},{"$ref":"#/components/parameters/rowFilter.organizations.invoice_footer"},{"$ref":"#/components/parameters/rowFilter.organizations.onboarding_progress"},{"$ref":"#/components/parameters/rowFilter.organizations.referrer_id"},{"$ref":"#/components/parameters/rowFilter.organizations.custom_domain"},{"$ref":"#/components/parameters/rowFilter.organizations.booking_form_cta"},{"$ref":"#/components/parameters/rowFilter.organizations.confirmation_message_title"},{"$ref":"#/components/parameters/rowFilter.organizations.confirmation_message"},{"$ref":"#/components/parameters/rowFilter.organizations.stripe_store_payment_details"},{"$ref":"#/components/parameters/rowFilter.organizations.ical_export_secret"},{"$ref":"#/components/parameters/rowFilter.organizations.ical_export_secret_no_details"},{"$ref":"#/components/parameters/rowFilter.organizations.mollie_profile_id"},{"$ref":"#/components/parameters/rowFilter.organizations.square_location_id"},{"$ref":"#/components/parameters/rowFilter.organizations.clover_merchant_id"},{"$ref":"#/components/parameters/rowFilter.organizations.company_name"},{"$ref":"#/components/parameters/rowFilter.organizations.country_code"},{"$ref":"#/components/parameters/rowFilter.organizations.e_invoice_scheme"},{"$ref":"#/components/parameters/rowFilter.organizations.e_invoice_address"},{"$ref":"#/components/parameters/rowFilter.organizations.vat_number"},{"$ref":"#/components/parameters/rowFilter.organizations.logo_size"},{"$ref":"#/components/parameters/rowFilter.organizations.sms_limit"},{"$ref":"#/components/parameters/rowFilter.organizations.buyer_label"},{"$ref":"#/components/parameters/rowFilter.organizations.seller_label"},{"$ref":"#/components/parameters/rowFilter.organizations.period"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/organizations"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Organizations, which own all other data. An API key gives access to a single organization","tags":["organizations"]}},"/paddle_plans":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.paddle_plans.id"},{"$ref":"#/components/parameters/rowFilter.paddle_plans.period"},{"$ref":"#/components/parameters/rowFilter.paddle_plans.tier"},{"$ref":"#/components/parameters/rowFilter.paddle_plans.version"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/paddle_plans"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Bookingmood subscription plans, billed through Paddle","tags":["paddle_plans"]}},"/paddle_subscriptions":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.paddle_subscriptions.id"},{"$ref":"#/components/parameters/rowFilter.paddle_subscriptions.plan_id"},{"$ref":"#/components/parameters/rowFilter.paddle_subscriptions.state"},{"$ref":"#/components/parameters/rowFilter.paddle_subscriptions.version"},{"$ref":"#/components/parameters/rowFilter.paddle_subscriptions.currency"},{"$ref":"#/components/parameters/rowFilter.paddle_subscriptions.organization_id"},{"$ref":"#/components/parameters/rowFilter.paddle_subscriptions.renews_at"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/paddle_subscriptions"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Bookingmood subscriptions of organizations, billed through Paddle","tags":["paddle_subscriptions"]}},"/payments":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.payments.amount"},{"$ref":"#/components/parameters/rowFilter.payments.currency"},{"$ref":"#/components/parameters/rowFilter.payments.paid"},{"$ref":"#/components/parameters/rowFilter.payments.created_at"},{"$ref":"#/components/parameters/rowFilter.payments.updated_at"},{"$ref":"#/components/parameters/rowFilter.payments.id"},{"$ref":"#/components/parameters/rowFilter.payments.booking_id"},{"$ref":"#/components/parameters/rowFilter.payments.due_at"},{"$ref":"#/components/parameters/rowFilter.payments.invoice_id"},{"$ref":"#/components/parameters/rowFilter.payments.reference"},{"$ref":"#/components/parameters/rowFilter.payments.offline"},{"$ref":"#/components/parameters/rowFilter.payments.completed_at"},{"$ref":"#/components/parameters/rowFilter.payments.provider_id"},{"$ref":"#/components/parameters/rowFilter.payments.fts"},{"$ref":"#/components/parameters/rowFilter.payments.notification_sent_at"},{"$ref":"#/components/parameters/rowFilter.payments.status"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/payments"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Payments of bookings, whether planned, partially paid or paid","tags":["payments"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.payments"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Payments of bookings, whether planned, partially paid or paid","tags":["payments"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.payments.amount"},{"$ref":"#/components/parameters/rowFilter.payments.currency"},{"$ref":"#/components/parameters/rowFilter.payments.paid"},{"$ref":"#/components/parameters/rowFilter.payments.created_at"},{"$ref":"#/components/parameters/rowFilter.payments.updated_at"},{"$ref":"#/components/parameters/rowFilter.payments.id"},{"$ref":"#/components/parameters/rowFilter.payments.booking_id"},{"$ref":"#/components/parameters/rowFilter.payments.due_at"},{"$ref":"#/components/parameters/rowFilter.payments.invoice_id"},{"$ref":"#/components/parameters/rowFilter.payments.reference"},{"$ref":"#/components/parameters/rowFilter.payments.offline"},{"$ref":"#/components/parameters/rowFilter.payments.completed_at"},{"$ref":"#/components/parameters/rowFilter.payments.provider_id"},{"$ref":"#/components/parameters/rowFilter.payments.fts"},{"$ref":"#/components/parameters/rowFilter.payments.notification_sent_at"},{"$ref":"#/components/parameters/rowFilter.payments.status"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Payments of bookings, whether planned, partially paid or paid","tags":["payments"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.payments.amount"},{"$ref":"#/components/parameters/rowFilter.payments.currency"},{"$ref":"#/components/parameters/rowFilter.payments.paid"},{"$ref":"#/components/parameters/rowFilter.payments.created_at"},{"$ref":"#/components/parameters/rowFilter.payments.updated_at"},{"$ref":"#/components/parameters/rowFilter.payments.id"},{"$ref":"#/components/parameters/rowFilter.payments.booking_id"},{"$ref":"#/components/parameters/rowFilter.payments.due_at"},{"$ref":"#/components/parameters/rowFilter.payments.invoice_id"},{"$ref":"#/components/parameters/rowFilter.payments.reference"},{"$ref":"#/components/parameters/rowFilter.payments.offline"},{"$ref":"#/components/parameters/rowFilter.payments.completed_at"},{"$ref":"#/components/parameters/rowFilter.payments.provider_id"},{"$ref":"#/components/parameters/rowFilter.payments.fts"},{"$ref":"#/components/parameters/rowFilter.payments.notification_sent_at"},{"$ref":"#/components/parameters/rowFilter.payments.status"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.payments"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Payments of bookings, whether planned, partially paid or paid","tags":["payments"]}},"/permissions":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.permissions.member_id"},{"$ref":"#/components/parameters/rowFilter.permissions.product_id"},{"$ref":"#/components/parameters/rowFilter.permissions.created_at"},{"$ref":"#/components/parameters/rowFilter.permissions.updated_at"},{"$ref":"#/components/parameters/rowFilter.permissions.id"},{"$ref":"#/components/parameters/rowFilter.permissions.bookings"},{"$ref":"#/components/parameters/rowFilter.permissions.notifications"},{"$ref":"#/components/parameters/rowFilter.permissions.settings"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/permissions"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Access levels per unit of members with the `user` role","tags":["permissions"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.permissions"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Access levels per unit of members with the `user` role","tags":["permissions"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.permissions.member_id"},{"$ref":"#/components/parameters/rowFilter.permissions.product_id"},{"$ref":"#/components/parameters/rowFilter.permissions.created_at"},{"$ref":"#/components/parameters/rowFilter.permissions.updated_at"},{"$ref":"#/components/parameters/rowFilter.permissions.id"},{"$ref":"#/components/parameters/rowFilter.permissions.bookings"},{"$ref":"#/components/parameters/rowFilter.permissions.notifications"},{"$ref":"#/components/parameters/rowFilter.permissions.settings"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Access levels per unit of members with the `user` role","tags":["permissions"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.permissions.member_id"},{"$ref":"#/components/parameters/rowFilter.permissions.product_id"},{"$ref":"#/components/parameters/rowFilter.permissions.created_at"},{"$ref":"#/components/parameters/rowFilter.permissions.updated_at"},{"$ref":"#/components/parameters/rowFilter.permissions.id"},{"$ref":"#/components/parameters/rowFilter.permissions.bookings"},{"$ref":"#/components/parameters/rowFilter.permissions.notifications"},{"$ref":"#/components/parameters/rowFilter.permissions.settings"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.permissions"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Access levels per unit of members with the `user` role","tags":["permissions"]}},"/price_calendar_entries":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.min_duration"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.max_duration"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.created_at"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.updated_at"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.color"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.min_advance"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.max_advance"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.id"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.product_id"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.name"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.fts"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.check_in_days"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.checkout_days"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.order"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.intervals"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.rates"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/price_calendar_entries"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Rate and availability configurations of units, each applying to one or more date ranges","tags":["price_calendar_entries"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.price_calendar_entries"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Rate and availability configurations of units, each applying to one or more date ranges","tags":["price_calendar_entries"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.min_duration"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.max_duration"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.created_at"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.updated_at"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.color"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.min_advance"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.max_advance"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.id"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.product_id"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.name"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.fts"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.check_in_days"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.checkout_days"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.order"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.intervals"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.rates"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Rate and availability configurations of units, each applying to one or more date ranges","tags":["price_calendar_entries"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.min_duration"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.max_duration"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.created_at"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.updated_at"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.color"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.min_advance"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.max_advance"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.id"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.product_id"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.name"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.fts"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.check_in_days"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.checkout_days"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.order"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.intervals"},{"$ref":"#/components/parameters/rowFilter.price_calendar_entries.rates"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.price_calendar_entries"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Rate and availability configurations of units, each applying to one or more date ranges","tags":["price_calendar_entries"]}},"/pricelabs_pricing":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.pricelabs_pricing.product_id"},{"$ref":"#/components/parameters/rowFilter.pricelabs_pricing.created_at"},{"$ref":"#/components/parameters/rowFilter.pricelabs_pricing.imported_at"},{"$ref":"#/components/parameters/rowFilter.pricelabs_pricing.pricelabs_email"},{"$ref":"#/components/parameters/rowFilter.pricelabs_pricing.entries"},{"$ref":"#/components/parameters/rowFilter.pricelabs_pricing.dirty"},{"$ref":"#/components/parameters/rowFilter.pricelabs_pricing.exported_at"},{"$ref":"#/components/parameters/rowFilter.pricelabs_pricing.number_of_bedrooms"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/pricelabs_pricing"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Prices from PriceLabs, for units priced by PriceLabs","tags":["pricelabs_pricing"]}},"/pricing_widgets":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.pricing_widgets.id"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.created_at"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.updated_at"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.color_background"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.color_text"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.color_primary"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.product_id"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.organization_id"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.title"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.font"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.show_branding"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.language"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.fts"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/pricing_widgets"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Embeddable widgets showing the prices of a unit","tags":["pricing_widgets"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.pricing_widgets"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Embeddable widgets showing the prices of a unit","tags":["pricing_widgets"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.pricing_widgets.id"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.created_at"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.updated_at"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.color_background"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.color_text"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.color_primary"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.product_id"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.organization_id"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.title"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.font"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.show_branding"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.language"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.fts"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Embeddable widgets showing the prices of a unit","tags":["pricing_widgets"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.pricing_widgets.id"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.created_at"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.updated_at"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.color_background"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.color_text"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.color_primary"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.product_id"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.organization_id"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.title"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.font"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.show_branding"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.language"},{"$ref":"#/components/parameters/rowFilter.pricing_widgets.fts"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.pricing_widgets"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Embeddable widgets showing the prices of a unit","tags":["pricing_widgets"]}},"/product_attribute_options":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.product_attribute_options.id"},{"$ref":"#/components/parameters/rowFilter.product_attribute_options.created_at"},{"$ref":"#/components/parameters/rowFilter.product_attribute_options.product_id"},{"$ref":"#/components/parameters/rowFilter.product_attribute_options.option_id"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/product_attribute_options"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Attribute options assigned to each unit","tags":["product_attribute_options"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.product_attribute_options"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Attribute options assigned to each unit","tags":["product_attribute_options"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.product_attribute_options.id"},{"$ref":"#/components/parameters/rowFilter.product_attribute_options.created_at"},{"$ref":"#/components/parameters/rowFilter.product_attribute_options.product_id"},{"$ref":"#/components/parameters/rowFilter.product_attribute_options.option_id"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Attribute options assigned to each unit","tags":["product_attribute_options"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.product_attribute_options.id"},{"$ref":"#/components/parameters/rowFilter.product_attribute_options.created_at"},{"$ref":"#/components/parameters/rowFilter.product_attribute_options.product_id"},{"$ref":"#/components/parameters/rowFilter.product_attribute_options.option_id"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.product_attribute_options"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Attribute options assigned to each unit","tags":["product_attribute_options"]}},"/product_calendar_logs":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.product_calendar_logs.id"},{"$ref":"#/components/parameters/rowFilter.product_calendar_logs.product_id"},{"$ref":"#/components/parameters/rowFilter.product_calendar_logs.created_at"},{"$ref":"#/components/parameters/rowFilter.product_calendar_logs.referrer"},{"$ref":"#/components/parameters/rowFilter.product_calendar_logs.status"},{"$ref":"#/components/parameters/rowFilter.product_calendar_logs.params"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/product_calendar_logs"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Logs of each time a unit's iCal feed is read by an external platform","tags":["product_calendar_logs"]}},"/product_message_templates":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.product_message_templates.product_id"},{"$ref":"#/components/parameters/rowFilter.product_message_templates.message_template_id"},{"$ref":"#/components/parameters/rowFilter.product_message_templates.created_at"},{"$ref":"#/components/parameters/rowFilter.product_message_templates.id"},{"$ref":"#/components/parameters/rowFilter.product_message_templates.order"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/product_message_templates"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Message templates active per unit","tags":["product_message_templates"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.product_message_templates"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Message templates active per unit","tags":["product_message_templates"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.product_message_templates.product_id"},{"$ref":"#/components/parameters/rowFilter.product_message_templates.message_template_id"},{"$ref":"#/components/parameters/rowFilter.product_message_templates.created_at"},{"$ref":"#/components/parameters/rowFilter.product_message_templates.id"},{"$ref":"#/components/parameters/rowFilter.product_message_templates.order"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Message templates active per unit","tags":["product_message_templates"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.product_message_templates.product_id"},{"$ref":"#/components/parameters/rowFilter.product_message_templates.message_template_id"},{"$ref":"#/components/parameters/rowFilter.product_message_templates.created_at"},{"$ref":"#/components/parameters/rowFilter.product_message_templates.id"},{"$ref":"#/components/parameters/rowFilter.product_message_templates.order"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.product_message_templates"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Message templates active per unit","tags":["product_message_templates"]}},"/product_reply_to_addresses":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.product_reply_to_addresses.product_id"},{"$ref":"#/components/parameters/rowFilter.product_reply_to_addresses.reply_to_address_id"},{"$ref":"#/components/parameters/rowFilter.product_reply_to_addresses.created_at"},{"$ref":"#/components/parameters/rowFilter.product_reply_to_addresses.id"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/product_reply_to_addresses"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reply-to addresses per unit","tags":["product_reply_to_addresses"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.product_reply_to_addresses"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reply-to addresses per unit","tags":["product_reply_to_addresses"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.product_reply_to_addresses.product_id"},{"$ref":"#/components/parameters/rowFilter.product_reply_to_addresses.reply_to_address_id"},{"$ref":"#/components/parameters/rowFilter.product_reply_to_addresses.created_at"},{"$ref":"#/components/parameters/rowFilter.product_reply_to_addresses.id"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reply-to addresses per unit","tags":["product_reply_to_addresses"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.product_reply_to_addresses.product_id"},{"$ref":"#/components/parameters/rowFilter.product_reply_to_addresses.reply_to_address_id"},{"$ref":"#/components/parameters/rowFilter.product_reply_to_addresses.created_at"},{"$ref":"#/components/parameters/rowFilter.product_reply_to_addresses.id"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.product_reply_to_addresses"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reply-to addresses per unit","tags":["product_reply_to_addresses"]}},"/product_services":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.product_services.id"},{"$ref":"#/components/parameters/rowFilter.product_services.product_id"},{"$ref":"#/components/parameters/rowFilter.product_services.service_id"},{"$ref":"#/components/parameters/rowFilter.product_services.created_at"},{"$ref":"#/components/parameters/rowFilter.product_services.updated_at"},{"$ref":"#/components/parameters/rowFilter.product_services.order"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/product_services"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Services included in the booking form of a unit","tags":["product_services"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.product_services"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Services included in the booking form of a unit","tags":["product_services"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.product_services.id"},{"$ref":"#/components/parameters/rowFilter.product_services.product_id"},{"$ref":"#/components/parameters/rowFilter.product_services.service_id"},{"$ref":"#/components/parameters/rowFilter.product_services.created_at"},{"$ref":"#/components/parameters/rowFilter.product_services.updated_at"},{"$ref":"#/components/parameters/rowFilter.product_services.order"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Services included in the booking form of a unit","tags":["product_services"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.product_services.id"},{"$ref":"#/components/parameters/rowFilter.product_services.product_id"},{"$ref":"#/components/parameters/rowFilter.product_services.service_id"},{"$ref":"#/components/parameters/rowFilter.product_services.created_at"},{"$ref":"#/components/parameters/rowFilter.product_services.updated_at"},{"$ref":"#/components/parameters/rowFilter.product_services.order"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.product_services"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Services included in the booking form of a unit","tags":["product_services"]}},"/products":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.products.id"},{"$ref":"#/components/parameters/rowFilter.products.created_at"},{"$ref":"#/components/parameters/rowFilter.products.updated_at"},{"$ref":"#/components/parameters/rowFilter.products.ical_export_secret"},{"$ref":"#/components/parameters/rowFilter.products.organization_id"},{"$ref":"#/components/parameters/rowFilter.products.timezone"},{"$ref":"#/components/parameters/rowFilter.products.images"},{"$ref":"#/components/parameters/rowFilter.products.approximate_address"},{"$ref":"#/components/parameters/rowFilter.products.ac_id"},{"$ref":"#/components/parameters/rowFilter.products.rent_period"},{"$ref":"#/components/parameters/rowFilter.products.ical_export_secret_no_details"},{"$ref":"#/components/parameters/rowFilter.products.deleted_at"},{"$ref":"#/components/parameters/rowFilter.products.name"},{"$ref":"#/components/parameters/rowFilter.products.description"},{"$ref":"#/components/parameters/rowFilter.products.exact_address"},{"$ref":"#/components/parameters/rowFilter.products.currency"},{"$ref":"#/components/parameters/rowFilter.products.approximate_coordinates"},{"$ref":"#/components/parameters/rowFilter.products.exact_coordinates"},{"$ref":"#/components/parameters/rowFilter.products.fts"},{"$ref":"#/components/parameters/rowFilter.products.hide_exact_address"},{"$ref":"#/components/parameters/rowFilter.products.confirmation_message"},{"$ref":"#/components/parameters/rowFilter.products.rent_pricing_definition"},{"$ref":"#/components/parameters/rowFilter.products.cooldown_time"},{"$ref":"#/components/parameters/rowFilter.products.interaction"},{"$ref":"#/components/parameters/rowFilter.products.request_status"},{"$ref":"#/components/parameters/rowFilter.products.confirm_after_initial_payment"},{"$ref":"#/components/parameters/rowFilter.products.cancel_after_initial_payment_error"},{"$ref":"#/components/parameters/rowFilter.products.price_breakdown_specificity"},{"$ref":"#/components/parameters/rowFilter.products.latest_arrival_time"},{"$ref":"#/components/parameters/rowFilter.products.payment_expiration_duration"},{"$ref":"#/components/parameters/rowFilter.products.tentative_interaction"},{"$ref":"#/components/parameters/rowFilter.products.fee"},{"$ref":"#/components/parameters/rowFilter.products.deposit"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/products"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units that can be booked individually","tags":["products"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.products.id"},{"$ref":"#/components/parameters/rowFilter.products.created_at"},{"$ref":"#/components/parameters/rowFilter.products.updated_at"},{"$ref":"#/components/parameters/rowFilter.products.ical_export_secret"},{"$ref":"#/components/parameters/rowFilter.products.organization_id"},{"$ref":"#/components/parameters/rowFilter.products.timezone"},{"$ref":"#/components/parameters/rowFilter.products.images"},{"$ref":"#/components/parameters/rowFilter.products.approximate_address"},{"$ref":"#/components/parameters/rowFilter.products.ac_id"},{"$ref":"#/components/parameters/rowFilter.products.rent_period"},{"$ref":"#/components/parameters/rowFilter.products.ical_export_secret_no_details"},{"$ref":"#/components/parameters/rowFilter.products.deleted_at"},{"$ref":"#/components/parameters/rowFilter.products.name"},{"$ref":"#/components/parameters/rowFilter.products.description"},{"$ref":"#/components/parameters/rowFilter.products.exact_address"},{"$ref":"#/components/parameters/rowFilter.products.currency"},{"$ref":"#/components/parameters/rowFilter.products.approximate_coordinates"},{"$ref":"#/components/parameters/rowFilter.products.exact_coordinates"},{"$ref":"#/components/parameters/rowFilter.products.fts"},{"$ref":"#/components/parameters/rowFilter.products.hide_exact_address"},{"$ref":"#/components/parameters/rowFilter.products.confirmation_message"},{"$ref":"#/components/parameters/rowFilter.products.rent_pricing_definition"},{"$ref":"#/components/parameters/rowFilter.products.cooldown_time"},{"$ref":"#/components/parameters/rowFilter.products.interaction"},{"$ref":"#/components/parameters/rowFilter.products.request_status"},{"$ref":"#/components/parameters/rowFilter.products.confirm_after_initial_payment"},{"$ref":"#/components/parameters/rowFilter.products.cancel_after_initial_payment_error"},{"$ref":"#/components/parameters/rowFilter.products.price_breakdown_specificity"},{"$ref":"#/components/parameters/rowFilter.products.latest_arrival_time"},{"$ref":"#/components/parameters/rowFilter.products.payment_expiration_duration"},{"$ref":"#/components/parameters/rowFilter.products.tentative_interaction"},{"$ref":"#/components/parameters/rowFilter.products.fee"},{"$ref":"#/components/parameters/rowFilter.products.deposit"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.products"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units that can be booked individually","tags":["products"]},"delete":{"parameters":[{"description":"The id of the product","in":"query","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"The deleted product","content":{"application/json":{"schema":{"$ref":"#/components/schemas/products"}}}},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Delete a product and its related data","tags":["products"]},"post":{"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"object","properties":{"default":{"type":"string"},"be-BY":{"type":"string"},"bg-BG":{"type":"string"},"cs-CZ":{"type":"string"},"da-DK":{"type":"string"},"de-DE":{"type":"string"},"en-GB":{"type":"string"},"en-NZ":{"type":"string"},"en-US":{"type":"string"},"es-ES":{"type":"string"},"eu-ES":{"type":"string"},"fr-FR":{"type":"string"},"gr-EL":{"type":"string"},"he-IL":{"type":"string"},"hr-HR":{"type":"string"},"hu-HU":{"type":"string"},"it-IT":{"type":"string"},"ja-JP":{"type":"string"},"lt-LT":{"type":"string"},"lv-LV":{"type":"string"},"nl-NL":{"type":"string"},"nn-NO":{"type":"string"},"pl-PL":{"type":"string"},"pt-BR":{"type":"string"},"ro-RO":{"type":"string"},"ru-RU":{"type":"string"},"sk-SK":{"type":"string"},"sl-SI":{"type":"string"},"sr-Cyrl":{"type":"string"},"sr-Latn":{"type":"string"},"sv-SE":{"type":"string"},"tr-TR":{"type":"string"},"uk-UA":{"type":"string"}},"required":["default"],"title":"MultiLanguageString","description":"The product name. Keys are language codes, e.g. `{\"default\": \"Cabin\", \"nl-NL\": \"Hut\"}`."},"rent_period":{"type":"string","enum":["nightly","daily"],"description":"The period by which the product is rented out."},"timezone":{"type":"string","description":"The IANA timezone of the product, e.g. `Europe/Amsterdam`."}},"required":["name","rent_period","timezone"]}}}},"responses":{"201":{"description":"The newly created product","content":{"application/json":{"schema":{"$ref":"#/components/schemas/products"}}}},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Create a product with sensible defaults","tags":["products"]}},"/refunds":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.refunds.id"},{"$ref":"#/components/parameters/rowFilter.refunds.booking_id"},{"$ref":"#/components/parameters/rowFilter.refunds.invoice_id"},{"$ref":"#/components/parameters/rowFilter.refunds.created_at"},{"$ref":"#/components/parameters/rowFilter.refunds.updated_at"},{"$ref":"#/components/parameters/rowFilter.refunds.due_at"},{"$ref":"#/components/parameters/rowFilter.refunds.amount"},{"$ref":"#/components/parameters/rowFilter.refunds.comment"},{"$ref":"#/components/parameters/rowFilter.refunds.currency"},{"$ref":"#/components/parameters/rowFilter.refunds.paid"},{"$ref":"#/components/parameters/rowFilter.refunds.reference"},{"$ref":"#/components/parameters/rowFilter.refunds.status"},{"$ref":"#/components/parameters/rowFilter.refunds.policy"},{"$ref":"#/components/parameters/rowFilter.refunds.fts"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/refunds"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Refunds of booking payments","tags":["refunds"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.refunds"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Refunds of booking payments","tags":["refunds"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.refunds.id"},{"$ref":"#/components/parameters/rowFilter.refunds.booking_id"},{"$ref":"#/components/parameters/rowFilter.refunds.invoice_id"},{"$ref":"#/components/parameters/rowFilter.refunds.created_at"},{"$ref":"#/components/parameters/rowFilter.refunds.updated_at"},{"$ref":"#/components/parameters/rowFilter.refunds.due_at"},{"$ref":"#/components/parameters/rowFilter.refunds.amount"},{"$ref":"#/components/parameters/rowFilter.refunds.comment"},{"$ref":"#/components/parameters/rowFilter.refunds.currency"},{"$ref":"#/components/parameters/rowFilter.refunds.paid"},{"$ref":"#/components/parameters/rowFilter.refunds.reference"},{"$ref":"#/components/parameters/rowFilter.refunds.status"},{"$ref":"#/components/parameters/rowFilter.refunds.policy"},{"$ref":"#/components/parameters/rowFilter.refunds.fts"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Refunds of booking payments","tags":["refunds"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.refunds.id"},{"$ref":"#/components/parameters/rowFilter.refunds.booking_id"},{"$ref":"#/components/parameters/rowFilter.refunds.invoice_id"},{"$ref":"#/components/parameters/rowFilter.refunds.created_at"},{"$ref":"#/components/parameters/rowFilter.refunds.updated_at"},{"$ref":"#/components/parameters/rowFilter.refunds.due_at"},{"$ref":"#/components/parameters/rowFilter.refunds.amount"},{"$ref":"#/components/parameters/rowFilter.refunds.comment"},{"$ref":"#/components/parameters/rowFilter.refunds.currency"},{"$ref":"#/components/parameters/rowFilter.refunds.paid"},{"$ref":"#/components/parameters/rowFilter.refunds.reference"},{"$ref":"#/components/parameters/rowFilter.refunds.status"},{"$ref":"#/components/parameters/rowFilter.refunds.policy"},{"$ref":"#/components/parameters/rowFilter.refunds.fts"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.refunds"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Refunds of booking payments","tags":["refunds"]}},"/reply_to_addresses":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.reply_to_addresses.id"},{"$ref":"#/components/parameters/rowFilter.reply_to_addresses.organization_id"},{"$ref":"#/components/parameters/rowFilter.reply_to_addresses.email"},{"$ref":"#/components/parameters/rowFilter.reply_to_addresses.name"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/reply_to_addresses"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reply-to email addresses","tags":["reply_to_addresses"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.reply_to_addresses"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reply-to email addresses","tags":["reply_to_addresses"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.reply_to_addresses.id"},{"$ref":"#/components/parameters/rowFilter.reply_to_addresses.organization_id"},{"$ref":"#/components/parameters/rowFilter.reply_to_addresses.email"},{"$ref":"#/components/parameters/rowFilter.reply_to_addresses.name"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reply-to email addresses","tags":["reply_to_addresses"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.reply_to_addresses.id"},{"$ref":"#/components/parameters/rowFilter.reply_to_addresses.organization_id"},{"$ref":"#/components/parameters/rowFilter.reply_to_addresses.email"},{"$ref":"#/components/parameters/rowFilter.reply_to_addresses.name"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.reply_to_addresses"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reply-to email addresses","tags":["reply_to_addresses"]}},"/review_products":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.review_products.id"},{"$ref":"#/components/parameters/rowFilter.review_products.review_id"},{"$ref":"#/components/parameters/rowFilter.review_products.product_id"},{"$ref":"#/components/parameters/rowFilter.review_products.created_at"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/review_products"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units a review is about","tags":["review_products"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.review_products"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units a review is about","tags":["review_products"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.review_products.id"},{"$ref":"#/components/parameters/rowFilter.review_products.review_id"},{"$ref":"#/components/parameters/rowFilter.review_products.product_id"},{"$ref":"#/components/parameters/rowFilter.review_products.created_at"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units a review is about","tags":["review_products"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.review_products.id"},{"$ref":"#/components/parameters/rowFilter.review_products.review_id"},{"$ref":"#/components/parameters/rowFilter.review_products.product_id"},{"$ref":"#/components/parameters/rowFilter.review_products.created_at"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.review_products"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units a review is about","tags":["review_products"]}},"/review_widget_listings":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.review_widget_listings.id"},{"$ref":"#/components/parameters/rowFilter.review_widget_listings.review_widget_id"},{"$ref":"#/components/parameters/rowFilter.review_widget_listings.product_id"},{"$ref":"#/components/parameters/rowFilter.review_widget_listings.created_at"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/review_widget_listings"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units listed in a review widget","tags":["review_widget_listings"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.review_widget_listings"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units listed in a review widget","tags":["review_widget_listings"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.review_widget_listings.id"},{"$ref":"#/components/parameters/rowFilter.review_widget_listings.review_widget_id"},{"$ref":"#/components/parameters/rowFilter.review_widget_listings.product_id"},{"$ref":"#/components/parameters/rowFilter.review_widget_listings.created_at"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units listed in a review widget","tags":["review_widget_listings"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.review_widget_listings.id"},{"$ref":"#/components/parameters/rowFilter.review_widget_listings.review_widget_id"},{"$ref":"#/components/parameters/rowFilter.review_widget_listings.product_id"},{"$ref":"#/components/parameters/rowFilter.review_widget_listings.created_at"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.review_widget_listings"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units listed in a review widget","tags":["review_widget_listings"]}},"/review_widgets":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.review_widgets.id"},{"$ref":"#/components/parameters/rowFilter.review_widgets.created_at"},{"$ref":"#/components/parameters/rowFilter.review_widgets.updated_at"},{"$ref":"#/components/parameters/rowFilter.review_widgets.color_background"},{"$ref":"#/components/parameters/rowFilter.review_widgets.color_text"},{"$ref":"#/components/parameters/rowFilter.review_widgets.color_primary"},{"$ref":"#/components/parameters/rowFilter.review_widgets.layout"},{"$ref":"#/components/parameters/rowFilter.review_widgets.organization_id"},{"$ref":"#/components/parameters/rowFilter.review_widgets.title"},{"$ref":"#/components/parameters/rowFilter.review_widgets.font"},{"$ref":"#/components/parameters/rowFilter.review_widgets.number_of_items"},{"$ref":"#/components/parameters/rowFilter.review_widgets.language"},{"$ref":"#/components/parameters/rowFilter.review_widgets.show_branding"},{"$ref":"#/components/parameters/rowFilter.review_widgets.fts"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/review_widgets"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Embeddable widgets showing reviews","tags":["review_widgets"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.review_widgets"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Embeddable widgets showing reviews","tags":["review_widgets"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.review_widgets.id"},{"$ref":"#/components/parameters/rowFilter.review_widgets.created_at"},{"$ref":"#/components/parameters/rowFilter.review_widgets.updated_at"},{"$ref":"#/components/parameters/rowFilter.review_widgets.color_background"},{"$ref":"#/components/parameters/rowFilter.review_widgets.color_text"},{"$ref":"#/components/parameters/rowFilter.review_widgets.color_primary"},{"$ref":"#/components/parameters/rowFilter.review_widgets.layout"},{"$ref":"#/components/parameters/rowFilter.review_widgets.organization_id"},{"$ref":"#/components/parameters/rowFilter.review_widgets.title"},{"$ref":"#/components/parameters/rowFilter.review_widgets.font"},{"$ref":"#/components/parameters/rowFilter.review_widgets.number_of_items"},{"$ref":"#/components/parameters/rowFilter.review_widgets.language"},{"$ref":"#/components/parameters/rowFilter.review_widgets.show_branding"},{"$ref":"#/components/parameters/rowFilter.review_widgets.fts"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Embeddable widgets showing reviews","tags":["review_widgets"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.review_widgets.id"},{"$ref":"#/components/parameters/rowFilter.review_widgets.created_at"},{"$ref":"#/components/parameters/rowFilter.review_widgets.updated_at"},{"$ref":"#/components/parameters/rowFilter.review_widgets.color_background"},{"$ref":"#/components/parameters/rowFilter.review_widgets.color_text"},{"$ref":"#/components/parameters/rowFilter.review_widgets.color_primary"},{"$ref":"#/components/parameters/rowFilter.review_widgets.layout"},{"$ref":"#/components/parameters/rowFilter.review_widgets.organization_id"},{"$ref":"#/components/parameters/rowFilter.review_widgets.title"},{"$ref":"#/components/parameters/rowFilter.review_widgets.font"},{"$ref":"#/components/parameters/rowFilter.review_widgets.number_of_items"},{"$ref":"#/components/parameters/rowFilter.review_widgets.language"},{"$ref":"#/components/parameters/rowFilter.review_widgets.show_branding"},{"$ref":"#/components/parameters/rowFilter.review_widgets.fts"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.review_widgets"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Embeddable widgets showing reviews","tags":["review_widgets"]}},"/reviews":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.reviews.id"},{"$ref":"#/components/parameters/rowFilter.reviews.booking_id"},{"$ref":"#/components/parameters/rowFilter.reviews.created_at"},{"$ref":"#/components/parameters/rowFilter.reviews.updated_at"},{"$ref":"#/components/parameters/rowFilter.reviews.author_name"},{"$ref":"#/components/parameters/rowFilter.reviews.author_avatar"},{"$ref":"#/components/parameters/rowFilter.reviews.content"},{"$ref":"#/components/parameters/rowFilter.reviews.rating"},{"$ref":"#/components/parameters/rowFilter.reviews.status"},{"$ref":"#/components/parameters/rowFilter.reviews.source"},{"$ref":"#/components/parameters/rowFilter.reviews.source_url"},{"$ref":"#/components/parameters/rowFilter.reviews.source_id"},{"$ref":"#/components/parameters/rowFilter.reviews.organization_id"},{"$ref":"#/components/parameters/rowFilter.reviews.fts"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/reviews"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reviews of stays, left by guests or imported from other platforms","tags":["reviews"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.reviews"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reviews of stays, left by guests or imported from other platforms","tags":["reviews"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.reviews.id"},{"$ref":"#/components/parameters/rowFilter.reviews.booking_id"},{"$ref":"#/components/parameters/rowFilter.reviews.created_at"},{"$ref":"#/components/parameters/rowFilter.reviews.updated_at"},{"$ref":"#/components/parameters/rowFilter.reviews.author_name"},{"$ref":"#/components/parameters/rowFilter.reviews.author_avatar"},{"$ref":"#/components/parameters/rowFilter.reviews.content"},{"$ref":"#/components/parameters/rowFilter.reviews.rating"},{"$ref":"#/components/parameters/rowFilter.reviews.status"},{"$ref":"#/components/parameters/rowFilter.reviews.source"},{"$ref":"#/components/parameters/rowFilter.reviews.source_url"},{"$ref":"#/components/parameters/rowFilter.reviews.source_id"},{"$ref":"#/components/parameters/rowFilter.reviews.organization_id"},{"$ref":"#/components/parameters/rowFilter.reviews.fts"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reviews of stays, left by guests or imported from other platforms","tags":["reviews"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.reviews.id"},{"$ref":"#/components/parameters/rowFilter.reviews.booking_id"},{"$ref":"#/components/parameters/rowFilter.reviews.created_at"},{"$ref":"#/components/parameters/rowFilter.reviews.updated_at"},{"$ref":"#/components/parameters/rowFilter.reviews.author_name"},{"$ref":"#/components/parameters/rowFilter.reviews.author_avatar"},{"$ref":"#/components/parameters/rowFilter.reviews.content"},{"$ref":"#/components/parameters/rowFilter.reviews.rating"},{"$ref":"#/components/parameters/rowFilter.reviews.status"},{"$ref":"#/components/parameters/rowFilter.reviews.source"},{"$ref":"#/components/parameters/rowFilter.reviews.source_url"},{"$ref":"#/components/parameters/rowFilter.reviews.source_id"},{"$ref":"#/components/parameters/rowFilter.reviews.organization_id"},{"$ref":"#/components/parameters/rowFilter.reviews.fts"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.reviews"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reviews of stays, left by guests or imported from other platforms","tags":["reviews"]}},"/search":{"post":{"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"interval":{"description":"The interval to search for availability in. If not provided, search will check each product for a match with the other parameters.","nullable":true,"type":"object","properties":{"start":{"description":"Start date, formatted as YYYY-MM-DD","type":"string"},"end":{"description":"End date, formatted as YYYY-MM-DD","type":"string"}},"required":["start","end"]},"occupancy":{"default":{},"description":"Filter search results by occupancy.","type":"object","additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}},"option_ids":{"default":[],"description":"Filter search results by attribute_options.","type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"}},"product_ids":{"description":"Filter search results by product IDs.","type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"}},"show_booked_as":{"default":"unavailable","description":"How to interpret booked events. Defaults to `unavailable`","type":"string","enum":["booked","unavailable"],"title":"ShowBookedAs"},"show_closed_as":{"default":"unavailable","description":"How to interpret closed events. Defaults to `unavailable`","type":"string","enum":["closed","unavailable"],"title":"ShowClosedAs"},"show_pending_as":{"default":"TENTATIVE","description":"How to interpret pending events. Defaults to `TENTATIVE`","type":"string","enum":["CONFIRMED","TENTATIVE","CANCELLED"]}},"required":["interval","occupancy","option_ids","show_booked_as","show_closed_as","show_pending_as"]}}}},"responses":{"200":{"description":"The search result of each product","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"availability":{"nullable":true,"description":"The availability for the interval, or null without an interval","type":"string","enum":["available","booked","closed","pending","unavailable"]},"match":{"type":"boolean","description":"Whether the product matches all search parameters"},"occupancyMatches":{"type":"boolean"},"optionsMatch":{"type":"boolean"},"price":{"nullable":true,"description":"The range of rent prices for the interval","type":"object","properties":{"max":{"type":"number"},"min":{"type":"number"}},"required":["max","min"],"additionalProperties":false},"productId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"}},"required":["availability","match","occupancyMatches","optionsMatch","price","productId"],"additionalProperties":false}}}}},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Search products by availability, occupancy and attributes","tags":["Booking flow"]}},"/seasons":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.seasons.id"},{"$ref":"#/components/parameters/rowFilter.seasons.created_at"},{"$ref":"#/components/parameters/rowFilter.seasons.updated_at"},{"$ref":"#/components/parameters/rowFilter.seasons.organization_id"},{"$ref":"#/components/parameters/rowFilter.seasons.name"},{"$ref":"#/components/parameters/rowFilter.seasons.value"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/seasons"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Seasons, for reusable pricing definitions","tags":["seasons"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.seasons"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Seasons, for reusable pricing definitions","tags":["seasons"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.seasons.id"},{"$ref":"#/components/parameters/rowFilter.seasons.created_at"},{"$ref":"#/components/parameters/rowFilter.seasons.updated_at"},{"$ref":"#/components/parameters/rowFilter.seasons.organization_id"},{"$ref":"#/components/parameters/rowFilter.seasons.name"},{"$ref":"#/components/parameters/rowFilter.seasons.value"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Seasons, for reusable pricing definitions","tags":["seasons"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.seasons.id"},{"$ref":"#/components/parameters/rowFilter.seasons.created_at"},{"$ref":"#/components/parameters/rowFilter.seasons.updated_at"},{"$ref":"#/components/parameters/rowFilter.seasons.organization_id"},{"$ref":"#/components/parameters/rowFilter.seasons.name"},{"$ref":"#/components/parameters/rowFilter.seasons.value"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.seasons"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Seasons, for reusable pricing definitions","tags":["seasons"]}},"/services":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.services.id"},{"$ref":"#/components/parameters/rowFilter.services.created_at"},{"$ref":"#/components/parameters/rowFilter.services.updated_at"},{"$ref":"#/components/parameters/rowFilter.services.type"},{"$ref":"#/components/parameters/rowFilter.services.order"},{"$ref":"#/components/parameters/rowFilter.services.label"},{"$ref":"#/components/parameters/rowFilter.services.description"},{"$ref":"#/components/parameters/rowFilter.services.parent_id"},{"$ref":"#/components/parameters/rowFilter.services.organization_id"},{"$ref":"#/components/parameters/rowFilter.services.meta"},{"$ref":"#/components/parameters/rowFilter.services.fts"},{"$ref":"#/components/parameters/rowFilter.services.attachment"},{"$ref":"#/components/parameters/rowFilter.services.fee"},{"$ref":"#/components/parameters/rowFilter.services.deposit"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/services"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reusable elements that can be included in the booking forms of units","tags":["services"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.services"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reusable elements that can be included in the booking forms of units","tags":["services"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.services.id"},{"$ref":"#/components/parameters/rowFilter.services.created_at"},{"$ref":"#/components/parameters/rowFilter.services.updated_at"},{"$ref":"#/components/parameters/rowFilter.services.type"},{"$ref":"#/components/parameters/rowFilter.services.order"},{"$ref":"#/components/parameters/rowFilter.services.label"},{"$ref":"#/components/parameters/rowFilter.services.description"},{"$ref":"#/components/parameters/rowFilter.services.parent_id"},{"$ref":"#/components/parameters/rowFilter.services.organization_id"},{"$ref":"#/components/parameters/rowFilter.services.meta"},{"$ref":"#/components/parameters/rowFilter.services.fts"},{"$ref":"#/components/parameters/rowFilter.services.attachment"},{"$ref":"#/components/parameters/rowFilter.services.fee"},{"$ref":"#/components/parameters/rowFilter.services.deposit"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reusable elements that can be included in the booking forms of units","tags":["services"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.services.id"},{"$ref":"#/components/parameters/rowFilter.services.created_at"},{"$ref":"#/components/parameters/rowFilter.services.updated_at"},{"$ref":"#/components/parameters/rowFilter.services.type"},{"$ref":"#/components/parameters/rowFilter.services.order"},{"$ref":"#/components/parameters/rowFilter.services.label"},{"$ref":"#/components/parameters/rowFilter.services.description"},{"$ref":"#/components/parameters/rowFilter.services.parent_id"},{"$ref":"#/components/parameters/rowFilter.services.organization_id"},{"$ref":"#/components/parameters/rowFilter.services.meta"},{"$ref":"#/components/parameters/rowFilter.services.fts"},{"$ref":"#/components/parameters/rowFilter.services.attachment"},{"$ref":"#/components/parameters/rowFilter.services.fee"},{"$ref":"#/components/parameters/rowFilter.services.deposit"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.services"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reusable elements that can be included in the booking forms of units","tags":["services"]}},"/site_listings":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.site_listings.id"},{"$ref":"#/components/parameters/rowFilter.site_listings.created_at"},{"$ref":"#/components/parameters/rowFilter.site_listings.updated_at"},{"$ref":"#/components/parameters/rowFilter.site_listings.site_id"},{"$ref":"#/components/parameters/rowFilter.site_listings.product_id"},{"$ref":"#/components/parameters/rowFilter.site_listings.order"},{"$ref":"#/components/parameters/rowFilter.site_listings.slug"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/site_listings"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units listed on a site","tags":["site_listings"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.site_listings"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units listed on a site","tags":["site_listings"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.site_listings.id"},{"$ref":"#/components/parameters/rowFilter.site_listings.created_at"},{"$ref":"#/components/parameters/rowFilter.site_listings.updated_at"},{"$ref":"#/components/parameters/rowFilter.site_listings.site_id"},{"$ref":"#/components/parameters/rowFilter.site_listings.product_id"},{"$ref":"#/components/parameters/rowFilter.site_listings.order"},{"$ref":"#/components/parameters/rowFilter.site_listings.slug"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units listed on a site","tags":["site_listings"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.site_listings.id"},{"$ref":"#/components/parameters/rowFilter.site_listings.created_at"},{"$ref":"#/components/parameters/rowFilter.site_listings.updated_at"},{"$ref":"#/components/parameters/rowFilter.site_listings.site_id"},{"$ref":"#/components/parameters/rowFilter.site_listings.product_id"},{"$ref":"#/components/parameters/rowFilter.site_listings.order"},{"$ref":"#/components/parameters/rowFilter.site_listings.slug"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.site_listings"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units listed on a site","tags":["site_listings"]}},"/site_nav_items":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.site_nav_items.id"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.created_at"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.site_id"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.parent_id"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.site_page_id"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.label"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.order"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.target"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.url"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/site_nav_items"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Items in the navigation bar of a site","tags":["site_nav_items"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.site_nav_items"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Items in the navigation bar of a site","tags":["site_nav_items"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.site_nav_items.id"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.created_at"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.site_id"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.parent_id"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.site_page_id"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.label"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.order"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.target"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.url"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Items in the navigation bar of a site","tags":["site_nav_items"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.site_nav_items.id"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.created_at"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.site_id"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.parent_id"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.site_page_id"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.label"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.order"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.target"},{"$ref":"#/components/parameters/rowFilter.site_nav_items.url"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.site_nav_items"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Items in the navigation bar of a site","tags":["site_nav_items"]}},"/site_pages":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.site_pages.id"},{"$ref":"#/components/parameters/rowFilter.site_pages.created_at"},{"$ref":"#/components/parameters/rowFilter.site_pages.updated_at"},{"$ref":"#/components/parameters/rowFilter.site_pages.site_id"},{"$ref":"#/components/parameters/rowFilter.site_pages.status"},{"$ref":"#/components/parameters/rowFilter.site_pages.slug"},{"$ref":"#/components/parameters/rowFilter.site_pages.title"},{"$ref":"#/components/parameters/rowFilter.site_pages.description"},{"$ref":"#/components/parameters/rowFilter.site_pages.node"},{"$ref":"#/components/parameters/rowFilter.site_pages.custom_html"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/site_pages"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Additional pages on a site","tags":["site_pages"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.site_pages"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Additional pages on a site","tags":["site_pages"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.site_pages.id"},{"$ref":"#/components/parameters/rowFilter.site_pages.created_at"},{"$ref":"#/components/parameters/rowFilter.site_pages.updated_at"},{"$ref":"#/components/parameters/rowFilter.site_pages.site_id"},{"$ref":"#/components/parameters/rowFilter.site_pages.status"},{"$ref":"#/components/parameters/rowFilter.site_pages.slug"},{"$ref":"#/components/parameters/rowFilter.site_pages.title"},{"$ref":"#/components/parameters/rowFilter.site_pages.description"},{"$ref":"#/components/parameters/rowFilter.site_pages.node"},{"$ref":"#/components/parameters/rowFilter.site_pages.custom_html"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Additional pages on a site","tags":["site_pages"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.site_pages.id"},{"$ref":"#/components/parameters/rowFilter.site_pages.created_at"},{"$ref":"#/components/parameters/rowFilter.site_pages.updated_at"},{"$ref":"#/components/parameters/rowFilter.site_pages.site_id"},{"$ref":"#/components/parameters/rowFilter.site_pages.status"},{"$ref":"#/components/parameters/rowFilter.site_pages.slug"},{"$ref":"#/components/parameters/rowFilter.site_pages.title"},{"$ref":"#/components/parameters/rowFilter.site_pages.description"},{"$ref":"#/components/parameters/rowFilter.site_pages.node"},{"$ref":"#/components/parameters/rowFilter.site_pages.custom_html"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.site_pages"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Additional pages on a site","tags":["site_pages"]}},"/site_views":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.site_views.id"},{"$ref":"#/components/parameters/rowFilter.site_views.site_id"},{"$ref":"#/components/parameters/rowFilter.site_views.referer"},{"$ref":"#/components/parameters/rowFilter.site_views.country"},{"$ref":"#/components/parameters/rowFilter.site_views.session"},{"$ref":"#/components/parameters/rowFilter.site_views.pathname"},{"$ref":"#/components/parameters/rowFilter.site_views.created_at"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/site_views"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Logs of each page view on a site","tags":["site_views"]}},"/sites":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.sites.id"},{"$ref":"#/components/parameters/rowFilter.sites.created_at"},{"$ref":"#/components/parameters/rowFilter.sites.updated_at"},{"$ref":"#/components/parameters/rowFilter.sites.autocomplete_date_selection"},{"$ref":"#/components/parameters/rowFilter.sites.color_background"},{"$ref":"#/components/parameters/rowFilter.sites.color_error"},{"$ref":"#/components/parameters/rowFilter.sites.color_primary"},{"$ref":"#/components/parameters/rowFilter.sites.color_text"},{"$ref":"#/components/parameters/rowFilter.sites.cover"},{"$ref":"#/components/parameters/rowFilter.sites.date_visibility"},{"$ref":"#/components/parameters/rowFilter.sites.font"},{"$ref":"#/components/parameters/rowFilter.sites.initial_date"},{"$ref":"#/components/parameters/rowFilter.sites.interval_wrap_style"},{"$ref":"#/components/parameters/rowFilter.sites.name"},{"$ref":"#/components/parameters/rowFilter.sites.rate_location"},{"$ref":"#/components/parameters/rowFilter.sites.rate_visibility"},{"$ref":"#/components/parameters/rowFilter.sites.show_branding"},{"$ref":"#/components/parameters/rowFilter.sites.show_legend"},{"$ref":"#/components/parameters/rowFilter.sites.show_totals"},{"$ref":"#/components/parameters/rowFilter.sites.subdomain"},{"$ref":"#/components/parameters/rowFilter.sites.filters"},{"$ref":"#/components/parameters/rowFilter.sites.currency"},{"$ref":"#/components/parameters/rowFilter.sites.password_hash"},{"$ref":"#/components/parameters/rowFilter.sites.organization_id"},{"$ref":"#/components/parameters/rowFilter.sites.first_week_contains_date"},{"$ref":"#/components/parameters/rowFilter.sites.week_starts_on"},{"$ref":"#/components/parameters/rowFilter.sites.logo"},{"$ref":"#/components/parameters/rowFilter.sites.icon"},{"$ref":"#/components/parameters/rowFilter.sites.custom_domain"},{"$ref":"#/components/parameters/rowFilter.sites.logo_alt"},{"$ref":"#/components/parameters/rowFilter.sites.type"},{"$ref":"#/components/parameters/rowFilter.sites.pricing_version"},{"$ref":"#/components/parameters/rowFilter.sites.show_unavailable_results"},{"$ref":"#/components/parameters/rowFilter.sites.color_header"},{"$ref":"#/components/parameters/rowFilter.sites.color_booked"},{"$ref":"#/components/parameters/rowFilter.sites.color_closed"},{"$ref":"#/components/parameters/rowFilter.sites.show_pending_as"},{"$ref":"#/components/parameters/rowFilter.sites.show_booked_as"},{"$ref":"#/components/parameters/rowFilter.sites.show_closed_as"},{"$ref":"#/components/parameters/rowFilter.sites.show_pricing"},{"$ref":"#/components/parameters/rowFilter.sites.color_warning"},{"$ref":"#/components/parameters/rowFilter.sites.color_info"},{"$ref":"#/components/parameters/rowFilter.sites.color_unavailable"},{"$ref":"#/components/parameters/rowFilter.sites.custom_html"},{"$ref":"#/components/parameters/rowFilter.sites.redirect_url"},{"$ref":"#/components/parameters/rowFilter.sites.related_products"},{"$ref":"#/components/parameters/rowFilter.sites.show_searchbar"},{"$ref":"#/components/parameters/rowFilter.sites.fts"},{"$ref":"#/components/parameters/rowFilter.sites.failure_url"},{"$ref":"#/components/parameters/rowFilter.sites.logo_size"},{"$ref":"#/components/parameters/rowFilter.sites.enable_shopping_cart"},{"$ref":"#/components/parameters/rowFilter.sites.show_complex_prices"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/sites"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Websites, either single-unit or catalog sites","tags":["sites"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.sites.id"},{"$ref":"#/components/parameters/rowFilter.sites.created_at"},{"$ref":"#/components/parameters/rowFilter.sites.updated_at"},{"$ref":"#/components/parameters/rowFilter.sites.autocomplete_date_selection"},{"$ref":"#/components/parameters/rowFilter.sites.color_background"},{"$ref":"#/components/parameters/rowFilter.sites.color_error"},{"$ref":"#/components/parameters/rowFilter.sites.color_primary"},{"$ref":"#/components/parameters/rowFilter.sites.color_text"},{"$ref":"#/components/parameters/rowFilter.sites.cover"},{"$ref":"#/components/parameters/rowFilter.sites.date_visibility"},{"$ref":"#/components/parameters/rowFilter.sites.font"},{"$ref":"#/components/parameters/rowFilter.sites.initial_date"},{"$ref":"#/components/parameters/rowFilter.sites.interval_wrap_style"},{"$ref":"#/components/parameters/rowFilter.sites.name"},{"$ref":"#/components/parameters/rowFilter.sites.rate_location"},{"$ref":"#/components/parameters/rowFilter.sites.rate_visibility"},{"$ref":"#/components/parameters/rowFilter.sites.show_branding"},{"$ref":"#/components/parameters/rowFilter.sites.show_legend"},{"$ref":"#/components/parameters/rowFilter.sites.show_totals"},{"$ref":"#/components/parameters/rowFilter.sites.subdomain"},{"$ref":"#/components/parameters/rowFilter.sites.filters"},{"$ref":"#/components/parameters/rowFilter.sites.currency"},{"$ref":"#/components/parameters/rowFilter.sites.password_hash"},{"$ref":"#/components/parameters/rowFilter.sites.organization_id"},{"$ref":"#/components/parameters/rowFilter.sites.first_week_contains_date"},{"$ref":"#/components/parameters/rowFilter.sites.week_starts_on"},{"$ref":"#/components/parameters/rowFilter.sites.logo"},{"$ref":"#/components/parameters/rowFilter.sites.icon"},{"$ref":"#/components/parameters/rowFilter.sites.custom_domain"},{"$ref":"#/components/parameters/rowFilter.sites.logo_alt"},{"$ref":"#/components/parameters/rowFilter.sites.type"},{"$ref":"#/components/parameters/rowFilter.sites.pricing_version"},{"$ref":"#/components/parameters/rowFilter.sites.show_unavailable_results"},{"$ref":"#/components/parameters/rowFilter.sites.color_header"},{"$ref":"#/components/parameters/rowFilter.sites.color_booked"},{"$ref":"#/components/parameters/rowFilter.sites.color_closed"},{"$ref":"#/components/parameters/rowFilter.sites.show_pending_as"},{"$ref":"#/components/parameters/rowFilter.sites.show_booked_as"},{"$ref":"#/components/parameters/rowFilter.sites.show_closed_as"},{"$ref":"#/components/parameters/rowFilter.sites.show_pricing"},{"$ref":"#/components/parameters/rowFilter.sites.color_warning"},{"$ref":"#/components/parameters/rowFilter.sites.color_info"},{"$ref":"#/components/parameters/rowFilter.sites.color_unavailable"},{"$ref":"#/components/parameters/rowFilter.sites.custom_html"},{"$ref":"#/components/parameters/rowFilter.sites.redirect_url"},{"$ref":"#/components/parameters/rowFilter.sites.related_products"},{"$ref":"#/components/parameters/rowFilter.sites.show_searchbar"},{"$ref":"#/components/parameters/rowFilter.sites.fts"},{"$ref":"#/components/parameters/rowFilter.sites.failure_url"},{"$ref":"#/components/parameters/rowFilter.sites.logo_size"},{"$ref":"#/components/parameters/rowFilter.sites.enable_shopping_cart"},{"$ref":"#/components/parameters/rowFilter.sites.show_complex_prices"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.sites"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Websites, either single-unit or catalog sites","tags":["sites"]}},"/task_assignees":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.task_assignees.task_id"},{"$ref":"#/components/parameters/rowFilter.task_assignees.member_id"},{"$ref":"#/components/parameters/rowFilter.task_assignees.id"},{"$ref":"#/components/parameters/rowFilter.task_assignees.created_at"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/task_assignees"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Members a task is assigned to","tags":["task_assignees"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.task_assignees"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Members a task is assigned to","tags":["task_assignees"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.task_assignees.task_id"},{"$ref":"#/components/parameters/rowFilter.task_assignees.member_id"},{"$ref":"#/components/parameters/rowFilter.task_assignees.id"},{"$ref":"#/components/parameters/rowFilter.task_assignees.created_at"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Members a task is assigned to","tags":["task_assignees"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.task_assignees.task_id"},{"$ref":"#/components/parameters/rowFilter.task_assignees.member_id"},{"$ref":"#/components/parameters/rowFilter.task_assignees.id"},{"$ref":"#/components/parameters/rowFilter.task_assignees.created_at"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.task_assignees"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Members a task is assigned to","tags":["task_assignees"]}},"/task_template_assignees":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.task_template_assignees.task_template_id"},{"$ref":"#/components/parameters/rowFilter.task_template_assignees.member_id"},{"$ref":"#/components/parameters/rowFilter.task_template_assignees.id"},{"$ref":"#/components/parameters/rowFilter.task_template_assignees.created_at"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/task_template_assignees"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Members that tasks from a task template are assigned to","tags":["task_template_assignees"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.task_template_assignees"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Members that tasks from a task template are assigned to","tags":["task_template_assignees"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.task_template_assignees.task_template_id"},{"$ref":"#/components/parameters/rowFilter.task_template_assignees.member_id"},{"$ref":"#/components/parameters/rowFilter.task_template_assignees.id"},{"$ref":"#/components/parameters/rowFilter.task_template_assignees.created_at"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Members that tasks from a task template are assigned to","tags":["task_template_assignees"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.task_template_assignees.task_template_id"},{"$ref":"#/components/parameters/rowFilter.task_template_assignees.member_id"},{"$ref":"#/components/parameters/rowFilter.task_template_assignees.id"},{"$ref":"#/components/parameters/rowFilter.task_template_assignees.created_at"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.task_template_assignees"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Members that tasks from a task template are assigned to","tags":["task_template_assignees"]}},"/task_templates":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.task_templates.id"},{"$ref":"#/components/parameters/rowFilter.task_templates.product_id"},{"$ref":"#/components/parameters/rowFilter.task_templates.created_at"},{"$ref":"#/components/parameters/rowFilter.task_templates.updated_at"},{"$ref":"#/components/parameters/rowFilter.task_templates.moment"},{"$ref":"#/components/parameters/rowFilter.task_templates.label"},{"$ref":"#/components/parameters/rowFilter.task_templates.status"},{"$ref":"#/components/parameters/rowFilter.task_templates.time"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/task_templates"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Tasks required for all bookings for a unit","tags":["task_templates"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.task_templates"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Tasks required for all bookings for a unit","tags":["task_templates"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.task_templates.id"},{"$ref":"#/components/parameters/rowFilter.task_templates.product_id"},{"$ref":"#/components/parameters/rowFilter.task_templates.created_at"},{"$ref":"#/components/parameters/rowFilter.task_templates.updated_at"},{"$ref":"#/components/parameters/rowFilter.task_templates.moment"},{"$ref":"#/components/parameters/rowFilter.task_templates.label"},{"$ref":"#/components/parameters/rowFilter.task_templates.status"},{"$ref":"#/components/parameters/rowFilter.task_templates.time"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Tasks required for all bookings for a unit","tags":["task_templates"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.task_templates.id"},{"$ref":"#/components/parameters/rowFilter.task_templates.product_id"},{"$ref":"#/components/parameters/rowFilter.task_templates.created_at"},{"$ref":"#/components/parameters/rowFilter.task_templates.updated_at"},{"$ref":"#/components/parameters/rowFilter.task_templates.moment"},{"$ref":"#/components/parameters/rowFilter.task_templates.label"},{"$ref":"#/components/parameters/rowFilter.task_templates.status"},{"$ref":"#/components/parameters/rowFilter.task_templates.time"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.task_templates"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Tasks required for all bookings for a unit","tags":["task_templates"]}},"/tasks":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.tasks.id"},{"$ref":"#/components/parameters/rowFilter.tasks.calendar_event_id"},{"$ref":"#/components/parameters/rowFilter.tasks.created_at"},{"$ref":"#/components/parameters/rowFilter.tasks.completed_at"},{"$ref":"#/components/parameters/rowFilter.tasks.task_template_id"},{"$ref":"#/components/parameters/rowFilter.tasks.label"},{"$ref":"#/components/parameters/rowFilter.tasks.due_at"},{"$ref":"#/components/parameters/rowFilter.tasks.schedule"},{"$ref":"#/components/parameters/rowFilter.tasks.notification_sent_at"},{"$ref":"#/components/parameters/rowFilter.tasks.updated_at"},{"$ref":"#/components/parameters/rowFilter.tasks.fts"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/tasks"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Tasks per calendar event","tags":["tasks"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.tasks"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Tasks per calendar event","tags":["tasks"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.tasks.id"},{"$ref":"#/components/parameters/rowFilter.tasks.calendar_event_id"},{"$ref":"#/components/parameters/rowFilter.tasks.created_at"},{"$ref":"#/components/parameters/rowFilter.tasks.completed_at"},{"$ref":"#/components/parameters/rowFilter.tasks.task_template_id"},{"$ref":"#/components/parameters/rowFilter.tasks.label"},{"$ref":"#/components/parameters/rowFilter.tasks.due_at"},{"$ref":"#/components/parameters/rowFilter.tasks.schedule"},{"$ref":"#/components/parameters/rowFilter.tasks.notification_sent_at"},{"$ref":"#/components/parameters/rowFilter.tasks.updated_at"},{"$ref":"#/components/parameters/rowFilter.tasks.fts"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Tasks per calendar event","tags":["tasks"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.tasks.id"},{"$ref":"#/components/parameters/rowFilter.tasks.calendar_event_id"},{"$ref":"#/components/parameters/rowFilter.tasks.created_at"},{"$ref":"#/components/parameters/rowFilter.tasks.completed_at"},{"$ref":"#/components/parameters/rowFilter.tasks.task_template_id"},{"$ref":"#/components/parameters/rowFilter.tasks.label"},{"$ref":"#/components/parameters/rowFilter.tasks.due_at"},{"$ref":"#/components/parameters/rowFilter.tasks.schedule"},{"$ref":"#/components/parameters/rowFilter.tasks.notification_sent_at"},{"$ref":"#/components/parameters/rowFilter.tasks.updated_at"},{"$ref":"#/components/parameters/rowFilter.tasks.fts"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.tasks"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Tasks per calendar event","tags":["tasks"]}},"/taxes":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.taxes.id"},{"$ref":"#/components/parameters/rowFilter.taxes.organization_id"},{"$ref":"#/components/parameters/rowFilter.taxes.percentage"},{"$ref":"#/components/parameters/rowFilter.taxes.created_at"},{"$ref":"#/components/parameters/rowFilter.taxes.updated_at"},{"$ref":"#/components/parameters/rowFilter.taxes.label"},{"$ref":"#/components/parameters/rowFilter.taxes.fts"},{"$ref":"#/components/parameters/rowFilter.taxes.type"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/taxes"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reusable tax definitions","tags":["taxes"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.taxes"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reusable tax definitions","tags":["taxes"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.taxes.id"},{"$ref":"#/components/parameters/rowFilter.taxes.organization_id"},{"$ref":"#/components/parameters/rowFilter.taxes.percentage"},{"$ref":"#/components/parameters/rowFilter.taxes.created_at"},{"$ref":"#/components/parameters/rowFilter.taxes.updated_at"},{"$ref":"#/components/parameters/rowFilter.taxes.label"},{"$ref":"#/components/parameters/rowFilter.taxes.fts"},{"$ref":"#/components/parameters/rowFilter.taxes.type"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reusable tax definitions","tags":["taxes"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.taxes.id"},{"$ref":"#/components/parameters/rowFilter.taxes.organization_id"},{"$ref":"#/components/parameters/rowFilter.taxes.percentage"},{"$ref":"#/components/parameters/rowFilter.taxes.created_at"},{"$ref":"#/components/parameters/rowFilter.taxes.updated_at"},{"$ref":"#/components/parameters/rowFilter.taxes.label"},{"$ref":"#/components/parameters/rowFilter.taxes.fts"},{"$ref":"#/components/parameters/rowFilter.taxes.type"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.taxes"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Reusable tax definitions","tags":["taxes"]}},"/user_profiles":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.user_profiles.created_at"},{"$ref":"#/components/parameters/rowFilter.user_profiles.updated_at"},{"$ref":"#/components/parameters/rowFilter.user_profiles.last_login_at"},{"$ref":"#/components/parameters/rowFilter.user_profiles.email"},{"$ref":"#/components/parameters/rowFilter.user_profiles.name"},{"$ref":"#/components/parameters/rowFilter.user_profiles.language"},{"$ref":"#/components/parameters/rowFilter.user_profiles.user_id"},{"$ref":"#/components/parameters/rowFilter.user_profiles.avatar"},{"$ref":"#/components/parameters/rowFilter.user_profiles.week_starts_on"},{"$ref":"#/components/parameters/rowFilter.user_profiles.first_week_contains_date"},{"$ref":"#/components/parameters/rowFilter.user_profiles.source"},{"$ref":"#/components/parameters/rowFilter.user_profiles.fts"},{"$ref":"#/components/parameters/rowFilter.user_profiles.referrer_id"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/user_profiles"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"User profiles","tags":["user_profiles"]}},"/webhook_notifications":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.webhook_notifications.id"},{"$ref":"#/components/parameters/rowFilter.webhook_notifications.webhook_id"},{"$ref":"#/components/parameters/rowFilter.webhook_notifications.created_at"},{"$ref":"#/components/parameters/rowFilter.webhook_notifications.updated_at"},{"$ref":"#/components/parameters/rowFilter.webhook_notifications.event_type"},{"$ref":"#/components/parameters/rowFilter.webhook_notifications.payload"},{"$ref":"#/components/parameters/rowFilter.webhook_notifications.status"},{"$ref":"#/components/parameters/rowFilter.webhook_notifications.response"},{"$ref":"#/components/parameters/rowFilter.webhook_notifications.tries"},{"$ref":"#/components/parameters/rowFilter.webhook_notifications.created_on"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/webhook_notifications"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Notifications sent and scheduled per webhook","tags":["webhook_notifications"]}},"/webhooks":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.webhooks.id"},{"$ref":"#/components/parameters/rowFilter.webhooks.created_at"},{"$ref":"#/components/parameters/rowFilter.webhooks.updated_at"},{"$ref":"#/components/parameters/rowFilter.webhooks.endpoint"},{"$ref":"#/components/parameters/rowFilter.webhooks.description"},{"$ref":"#/components/parameters/rowFilter.webhooks.organization_id"},{"$ref":"#/components/parameters/rowFilter.webhooks.events"},{"$ref":"#/components/parameters/rowFilter.webhooks.signing_secret"},{"$ref":"#/components/parameters/rowFilter.webhooks.source"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/webhooks"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Endpoints that are notified as soon as certain events happen in Bookingmood. See [our documentation](/docs/integrations/webhooks) for how webhooks work","tags":["webhooks"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.webhooks"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Endpoints that are notified as soon as certain events happen in Bookingmood. See [our documentation](/docs/integrations/webhooks) for how webhooks work","tags":["webhooks"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.webhooks.id"},{"$ref":"#/components/parameters/rowFilter.webhooks.created_at"},{"$ref":"#/components/parameters/rowFilter.webhooks.updated_at"},{"$ref":"#/components/parameters/rowFilter.webhooks.endpoint"},{"$ref":"#/components/parameters/rowFilter.webhooks.description"},{"$ref":"#/components/parameters/rowFilter.webhooks.organization_id"},{"$ref":"#/components/parameters/rowFilter.webhooks.events"},{"$ref":"#/components/parameters/rowFilter.webhooks.signing_secret"},{"$ref":"#/components/parameters/rowFilter.webhooks.source"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Endpoints that are notified as soon as certain events happen in Bookingmood. See [our documentation](/docs/integrations/webhooks) for how webhooks work","tags":["webhooks"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.webhooks.id"},{"$ref":"#/components/parameters/rowFilter.webhooks.created_at"},{"$ref":"#/components/parameters/rowFilter.webhooks.updated_at"},{"$ref":"#/components/parameters/rowFilter.webhooks.endpoint"},{"$ref":"#/components/parameters/rowFilter.webhooks.description"},{"$ref":"#/components/parameters/rowFilter.webhooks.organization_id"},{"$ref":"#/components/parameters/rowFilter.webhooks.events"},{"$ref":"#/components/parameters/rowFilter.webhooks.signing_secret"},{"$ref":"#/components/parameters/rowFilter.webhooks.source"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.webhooks"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Endpoints that are notified as soon as certain events happen in Bookingmood. See [our documentation](/docs/integrations/webhooks) for how webhooks work","tags":["webhooks"]}},"/widget_analytics":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.widget_analytics.widget_id"},{"$ref":"#/components/parameters/rowFilter.widget_analytics.date"},{"$ref":"#/components/parameters/rowFilter.widget_analytics.organization_id"},{"$ref":"#/components/parameters/rowFilter.widget_analytics.views"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/widget_analytics"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Daily views per widget","tags":["widget_analytics"]}},"/widget_listings":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.widget_listings.widget_id"},{"$ref":"#/components/parameters/rowFilter.widget_listings.product_id"},{"$ref":"#/components/parameters/rowFilter.widget_listings.created_at"},{"$ref":"#/components/parameters/rowFilter.widget_listings.updated_at"},{"$ref":"#/components/parameters/rowFilter.widget_listings.order"},{"$ref":"#/components/parameters/rowFilter.widget_listings.url"},{"$ref":"#/components/parameters/rowFilter.widget_listings.id"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/widget_listings"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units listed in a widget","tags":["widget_listings"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.widget_listings"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units listed in a widget","tags":["widget_listings"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.widget_listings.widget_id"},{"$ref":"#/components/parameters/rowFilter.widget_listings.product_id"},{"$ref":"#/components/parameters/rowFilter.widget_listings.created_at"},{"$ref":"#/components/parameters/rowFilter.widget_listings.updated_at"},{"$ref":"#/components/parameters/rowFilter.widget_listings.order"},{"$ref":"#/components/parameters/rowFilter.widget_listings.url"},{"$ref":"#/components/parameters/rowFilter.widget_listings.id"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units listed in a widget","tags":["widget_listings"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.widget_listings.widget_id"},{"$ref":"#/components/parameters/rowFilter.widget_listings.product_id"},{"$ref":"#/components/parameters/rowFilter.widget_listings.created_at"},{"$ref":"#/components/parameters/rowFilter.widget_listings.updated_at"},{"$ref":"#/components/parameters/rowFilter.widget_listings.order"},{"$ref":"#/components/parameters/rowFilter.widget_listings.url"},{"$ref":"#/components/parameters/rowFilter.widget_listings.id"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.widget_listings"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Units listed in a widget","tags":["widget_listings"]}},"/widgets":{"get":{"parameters":[{"$ref":"#/components/parameters/rowFilter.widgets.id"},{"$ref":"#/components/parameters/rowFilter.widgets.created_at"},{"$ref":"#/components/parameters/rowFilter.widgets.updated_at"},{"$ref":"#/components/parameters/rowFilter.widgets.title"},{"$ref":"#/components/parameters/rowFilter.widgets.type"},{"$ref":"#/components/parameters/rowFilter.widgets.organization_id"},{"$ref":"#/components/parameters/rowFilter.widgets.language"},{"$ref":"#/components/parameters/rowFilter.widgets.visible_months"},{"$ref":"#/components/parameters/rowFilter.widgets.show_bookingmood_branding"},{"$ref":"#/components/parameters/rowFilter.widgets.stay_expanded"},{"$ref":"#/components/parameters/rowFilter.widgets.font"},{"$ref":"#/components/parameters/rowFilter.widgets.show_past"},{"$ref":"#/components/parameters/rowFilter.widgets.redirect_url"},{"$ref":"#/components/parameters/rowFilter.widgets.currency"},{"$ref":"#/components/parameters/rowFilter.widgets.fts"},{"$ref":"#/components/parameters/rowFilter.widgets.date_visibility"},{"$ref":"#/components/parameters/rowFilter.widgets.initial_date"},{"$ref":"#/components/parameters/rowFilter.widgets.interaction"},{"$ref":"#/components/parameters/rowFilter.widgets.autocomplete_date_selection"},{"$ref":"#/components/parameters/rowFilter.widgets.settings"},{"$ref":"#/components/parameters/rowFilter.widgets.show_booked_as"},{"$ref":"#/components/parameters/rowFilter.widgets.show_closed_as"},{"$ref":"#/components/parameters/rowFilter.widgets.show_pending_as"},{"$ref":"#/components/parameters/rowFilter.widgets.show_reviews"},{"$ref":"#/components/parameters/rowFilter.widgets.failure_url"},{"$ref":"#/components/parameters/rowFilter.widgets.enable_shopping_cart"},{"$ref":"#/components/parameters/rowFilter.widgets.show_complex_prices"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/range"},{"$ref":"#/components/parameters/rangeUnit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/preferCount"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/widgets"},"type":"array"}}}},"206":{"description":"Partial Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Embeddable widgets","tags":["widgets"]},"post":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/preferPost"}],"requestBody":{"$ref":"#/components/requestBodies/body.widgets"},"responses":{"201":{"description":"Created"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Embeddable widgets","tags":["widgets"]},"delete":{"parameters":[{"$ref":"#/components/parameters/rowFilter.widgets.id"},{"$ref":"#/components/parameters/rowFilter.widgets.created_at"},{"$ref":"#/components/parameters/rowFilter.widgets.updated_at"},{"$ref":"#/components/parameters/rowFilter.widgets.title"},{"$ref":"#/components/parameters/rowFilter.widgets.type"},{"$ref":"#/components/parameters/rowFilter.widgets.organization_id"},{"$ref":"#/components/parameters/rowFilter.widgets.language"},{"$ref":"#/components/parameters/rowFilter.widgets.visible_months"},{"$ref":"#/components/parameters/rowFilter.widgets.show_bookingmood_branding"},{"$ref":"#/components/parameters/rowFilter.widgets.stay_expanded"},{"$ref":"#/components/parameters/rowFilter.widgets.font"},{"$ref":"#/components/parameters/rowFilter.widgets.show_past"},{"$ref":"#/components/parameters/rowFilter.widgets.redirect_url"},{"$ref":"#/components/parameters/rowFilter.widgets.currency"},{"$ref":"#/components/parameters/rowFilter.widgets.fts"},{"$ref":"#/components/parameters/rowFilter.widgets.date_visibility"},{"$ref":"#/components/parameters/rowFilter.widgets.initial_date"},{"$ref":"#/components/parameters/rowFilter.widgets.interaction"},{"$ref":"#/components/parameters/rowFilter.widgets.autocomplete_date_selection"},{"$ref":"#/components/parameters/rowFilter.widgets.settings"},{"$ref":"#/components/parameters/rowFilter.widgets.show_booked_as"},{"$ref":"#/components/parameters/rowFilter.widgets.show_closed_as"},{"$ref":"#/components/parameters/rowFilter.widgets.show_pending_as"},{"$ref":"#/components/parameters/rowFilter.widgets.show_reviews"},{"$ref":"#/components/parameters/rowFilter.widgets.failure_url"},{"$ref":"#/components/parameters/rowFilter.widgets.enable_shopping_cart"},{"$ref":"#/components/parameters/rowFilter.widgets.show_complex_prices"},{"$ref":"#/components/parameters/preferReturn"}],"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column or an invalid filter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Embeddable widgets","tags":["widgets"]},"patch":{"parameters":[{"$ref":"#/components/parameters/rowFilter.widgets.id"},{"$ref":"#/components/parameters/rowFilter.widgets.created_at"},{"$ref":"#/components/parameters/rowFilter.widgets.updated_at"},{"$ref":"#/components/parameters/rowFilter.widgets.title"},{"$ref":"#/components/parameters/rowFilter.widgets.type"},{"$ref":"#/components/parameters/rowFilter.widgets.organization_id"},{"$ref":"#/components/parameters/rowFilter.widgets.language"},{"$ref":"#/components/parameters/rowFilter.widgets.visible_months"},{"$ref":"#/components/parameters/rowFilter.widgets.show_bookingmood_branding"},{"$ref":"#/components/parameters/rowFilter.widgets.stay_expanded"},{"$ref":"#/components/parameters/rowFilter.widgets.font"},{"$ref":"#/components/parameters/rowFilter.widgets.show_past"},{"$ref":"#/components/parameters/rowFilter.widgets.redirect_url"},{"$ref":"#/components/parameters/rowFilter.widgets.currency"},{"$ref":"#/components/parameters/rowFilter.widgets.fts"},{"$ref":"#/components/parameters/rowFilter.widgets.date_visibility"},{"$ref":"#/components/parameters/rowFilter.widgets.initial_date"},{"$ref":"#/components/parameters/rowFilter.widgets.interaction"},{"$ref":"#/components/parameters/rowFilter.widgets.autocomplete_date_selection"},{"$ref":"#/components/parameters/rowFilter.widgets.settings"},{"$ref":"#/components/parameters/rowFilter.widgets.show_booked_as"},{"$ref":"#/components/parameters/rowFilter.widgets.show_closed_as"},{"$ref":"#/components/parameters/rowFilter.widgets.show_pending_as"},{"$ref":"#/components/parameters/rowFilter.widgets.show_reviews"},{"$ref":"#/components/parameters/rowFilter.widgets.failure_url"},{"$ref":"#/components/parameters/rowFilter.widgets.enable_shopping_cart"},{"$ref":"#/components/parameters/rowFilter.widgets.show_complex_prices"},{"$ref":"#/components/parameters/preferReturn"}],"requestBody":{"$ref":"#/components/requestBodies/body.widgets"},"responses":{"204":{"description":"No Content"},"400":{"description":"The request is malformed, for example an unknown column, an invalid filter or an invalid body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The API key has no permission for this change, for example when writing rows of another organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"Embeddable widgets","tags":["widgets"]}}},"components":{"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","description":"Your API key, sent as `Bearer YOUR_API_KEY`"}},"parameters":{"preferReturn":{"description":"Preference","in":"header","name":"Prefer","required":false,"schema":{"enum":["return=representation","return=minimal","return=none"],"type":"string"}},"preferCount":{"description":"Preference","in":"header","name":"Prefer","required":false,"schema":{"enum":["count=none"],"type":"string"}},"preferPost":{"description":"Preference","in":"header","name":"Prefer","required":false,"schema":{"enum":["return=representation","return=minimal","return=none","resolution=ignore-duplicates","resolution=merge-duplicates"],"type":"string"}},"select":{"description":"Filtering Columns","in":"query","name":"select","required":false,"schema":{"type":"string"}},"order":{"description":"Ordering","in":"query","name":"order","required":false,"schema":{"type":"string"}},"range":{"description":"Limiting and Pagination","in":"header","name":"Range","required":false,"schema":{"type":"string"}},"rangeUnit":{"description":"Limiting and Pagination","in":"header","name":"Range-Unit","required":false,"schema":{"default":"items","type":"string"}},"offset":{"description":"Limiting and Pagination","in":"query","name":"offset","required":false,"schema":{"type":"string"}},"limit":{"description":"Limiting and Pagination","in":"query","name":"limit","required":false,"schema":{"type":"string"}},"rowFilter.coupon_services.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.coupon_services.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.coupon_services.coupon_id":{"description":"Identifier of the related coupon","in":"query","name":"coupon_id","required":false,"schema":{"type":"string"}},"rowFilter.coupon_services.service_id":{"description":"Identifier of the related service","in":"query","name":"service_id","required":false,"schema":{"type":"string"}},"rowFilter.paddle_plans.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.paddle_plans.period":{"description":"Billing period of the plan","in":"query","name":"period","required":false,"schema":{"type":"string"}},"rowFilter.paddle_plans.tier":{"description":"Subscription tier of the plan","in":"query","name":"tier","required":false,"schema":{"type":"string"}},"rowFilter.paddle_plans.version":{"description":"Version of Paddle the plan is active on","in":"query","name":"version","required":false,"schema":{"type":"string"}},"rowFilter.payments.amount":{"description":"Total amount of the payment, in cents","in":"query","name":"amount","required":false,"schema":{"type":"string"}},"rowFilter.payments.currency":{"description":"Currency of the payment","in":"query","name":"currency","required":false,"schema":{"type":"string"}},"rowFilter.payments.paid":{"description":"Amount of the payment that was paid, in cents","in":"query","name":"paid","required":false,"schema":{"type":"string"}},"rowFilter.payments.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.payments.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.payments.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.payments.booking_id":{"description":"Identifier of the related booking","in":"query","name":"booking_id","required":false,"schema":{"type":"string"}},"rowFilter.payments.due_at":{"description":"Timestamp at which the payment is due","in":"query","name":"due_at","required":false,"schema":{"type":"string"}},"rowFilter.payments.invoice_id":{"description":"Identifier of the related invoice","in":"query","name":"invoice_id","required":false,"schema":{"type":"string"}},"rowFilter.payments.reference":{"description":"Reference of the payment","in":"query","name":"reference","required":false,"schema":{"type":"string"}},"rowFilter.payments.offline":{"description":"Whether the payment is made outside Bookingmood, e.g. by bank transfer","in":"query","name":"offline","required":false,"schema":{"type":"string"}},"rowFilter.payments.completed_at":{"description":"Timestamp at which the payment was completed","in":"query","name":"completed_at","required":false,"schema":{"type":"string"}},"rowFilter.payments.provider_id":{"description":"Identifier of the payment at the payment provider","in":"query","name":"provider_id","required":false,"schema":{"type":"string"}},"rowFilter.payments.fts":{"in":"query","name":"fts","required":false,"schema":{"type":"string"}},"rowFilter.payments.notification_sent_at":{"description":"Timestamp at which the guest was notified of the payment being due","in":"query","name":"notification_sent_at","required":false,"schema":{"type":"string"}},"rowFilter.payments.status":{"in":"query","name":"status","required":false,"schema":{"type":"string"}},"rowFilter.site_pages.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.site_pages.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.site_pages.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.site_pages.site_id":{"description":"Identifier of the site this page is defined in","in":"query","name":"site_id","required":false,"schema":{"type":"string"}},"rowFilter.site_pages.status":{"description":"Publication status of the page","in":"query","name":"status","required":false,"schema":{"type":"string"}},"rowFilter.site_pages.slug":{"description":"Localized slug of the page","in":"query","name":"slug","required":false,"schema":{"type":"string"}},"rowFilter.site_pages.title":{"description":"Localized title of the page","in":"query","name":"title","required":false,"schema":{"type":"string"}},"rowFilter.site_pages.description":{"description":"Localized description of the page","in":"query","name":"description","required":false,"schema":{"type":"string"}},"rowFilter.site_pages.node":{"description":"Content of the page, as a tree of nodes","in":"query","name":"node","required":false,"schema":{"type":"string"}},"rowFilter.site_pages.custom_html":{"description":"Custom HTML added to the page","in":"query","name":"custom_html","required":false,"schema":{"type":"string"}},"rowFilter.capacity_groups.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.capacity_groups.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.capacity_groups.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.capacity_groups.organization_id":{"description":"Identifier of the organization this capacity group is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.capacity_groups.name":{"description":"Localized name of the capacity group","in":"query","name":"name","required":false,"schema":{"type":"string"}},"rowFilter.capacity_groups.description":{"description":"Localized description of the capacity group","in":"query","name":"description","required":false,"schema":{"type":"string"}},"rowFilter.capacity_groups.order":{"description":"Order of the capacity group as displayed on widgets and websites","in":"query","name":"order","required":false,"schema":{"type":"string"}},"rowFilter.capacity_groups.type":{"description":"Type of the capacity group","in":"query","name":"type","required":false,"schema":{"type":"string"}},"rowFilter.capacity_groups.name_singular":{"description":"Localized singular name of the capacity group","in":"query","name":"name_singular","required":false,"schema":{"type":"string"}},"rowFilter.capacity_groups.requires_explicit_input":{"description":"Whether guests need to explicitly fill in the capacity before booking","in":"query","name":"requires_explicit_input","required":false,"schema":{"type":"string"}},"rowFilter.contacts.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.contacts.avatar":{"description":"URL of the avatar image","in":"query","name":"avatar","required":false,"schema":{"type":"string"}},"rowFilter.contacts.email":{"description":"Email address of the contact","in":"query","name":"email","required":false,"schema":{"type":"string"}},"rowFilter.contacts.phone":{"description":"Phone number of the contact","in":"query","name":"phone","required":false,"schema":{"type":"string"}},"rowFilter.contacts.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.contacts.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.contacts.organization_id":{"description":"Identifier of the organization this contact is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.contacts.language":{"description":"Language of the contact","in":"query","name":"language","required":false,"schema":{"type":"string"}},"rowFilter.contacts.creator_id":{"description":"Identifier of the user that created the contact","in":"query","name":"creator_id","required":false,"schema":{"type":"string"}},"rowFilter.contacts.first_name":{"description":"First name of the contact","in":"query","name":"first_name","required":false,"schema":{"type":"string"}},"rowFilter.contacts.last_name":{"description":"Last name of the contact","in":"query","name":"last_name","required":false,"schema":{"type":"string"}},"rowFilter.contacts.street":{"description":"Street address of the contact","in":"query","name":"street","required":false,"schema":{"type":"string"}},"rowFilter.contacts.street2":{"description":"Second line of the street address of the contact","in":"query","name":"street2","required":false,"schema":{"type":"string"}},"rowFilter.contacts.zip":{"description":"Postal code of the contact","in":"query","name":"zip","required":false,"schema":{"type":"string"}},"rowFilter.contacts.city":{"description":"City of the contact","in":"query","name":"city","required":false,"schema":{"type":"string"}},"rowFilter.contacts.province":{"description":"Province of the contact","in":"query","name":"province","required":false,"schema":{"type":"string"}},"rowFilter.contacts.state":{"description":"State of the contact","in":"query","name":"state","required":false,"schema":{"type":"string"}},"rowFilter.contacts.country":{"description":"Country of the contact","in":"query","name":"country","required":false,"schema":{"type":"string"}},"rowFilter.contacts.name":{"description":"Full name of the contact","in":"query","name":"name","required":false,"schema":{"type":"string"}},"rowFilter.contacts.fts":{"description":"Full text search index","in":"query","name":"fts","required":false,"schema":{"type":"string"}},"rowFilter.contacts.notes":{"description":"Private notes about the contact","in":"query","name":"notes","required":false,"schema":{"type":"string"}},"rowFilter.contacts.meta":{"description":"Metadata of the contact","in":"query","name":"meta","required":false,"schema":{"type":"string"}},"rowFilter.contacts.company_name":{"description":"Company name of the contact, for invoices","in":"query","name":"company_name","required":false,"schema":{"type":"string"}},"rowFilter.contacts.country_code":{"description":"ISO 3166-1 alpha-2 country code of the contact, or empty","in":"query","name":"country_code","required":false,"schema":{"type":"string"}},"rowFilter.contacts.e_invoice_scheme":{"description":"Scheme of the contact's e-invoicing address, e.g. a Peppol scheme","in":"query","name":"e_invoice_scheme","required":false,"schema":{"type":"string"}},"rowFilter.contacts.e_invoice_address":{"description":"E-invoicing address of the contact","in":"query","name":"e_invoice_address","required":false,"schema":{"type":"string"}},"rowFilter.contacts.sms_opt_in":{"description":"Whether the contact agreed to receive text messages","in":"query","name":"sms_opt_in","required":false,"schema":{"type":"string"}},"rowFilter.contacts.address":{"description":"Address of the contact, as a single line","in":"query","name":"address","required":false,"schema":{"type":"string"}},"rowFilter.coupon_uses.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.coupon_uses.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.coupon_uses.coupon_id":{"description":"Identifier of the used coupon","in":"query","name":"coupon_id","required":false,"schema":{"type":"string"}},"rowFilter.coupon_uses.booking_id":{"description":"Identifier of the booking the coupon is used in","in":"query","name":"booking_id","required":false,"schema":{"type":"string"}},"rowFilter.task_templates.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.task_templates.product_id":{"description":"Identifier of the related unit","in":"query","name":"product_id","required":false,"schema":{"type":"string"}},"rowFilter.task_templates.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.task_templates.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.task_templates.moment":{"description":"Moment at which the task is due","in":"query","name":"moment","required":false,"schema":{"type":"string"}},"rowFilter.task_templates.label":{"description":"Label of the task","in":"query","name":"label","required":false,"schema":{"type":"string"}},"rowFilter.task_templates.status":{"description":"Whether the task only applies to confirmed events, or also to pending events","in":"query","name":"status","required":false,"schema":{"type":"string"}},"rowFilter.task_templates.time":{"description":"Time of day at which the task is scheduled","in":"query","name":"time","required":false,"schema":{"type":"string"}},"rowFilter.review_widget_listings.id":{"in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.review_widget_listings.review_widget_id":{"description":"Identifier of the related review widget","in":"query","name":"review_widget_id","required":false,"schema":{"type":"string"}},"rowFilter.review_widget_listings.product_id":{"description":"Identifier of the related unit","in":"query","name":"product_id","required":false,"schema":{"type":"string"}},"rowFilter.review_widget_listings.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.line_item_taxes.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.line_item_taxes.line_item_id":{"description":"Identifier of the related line item","in":"query","name":"line_item_id","required":false,"schema":{"type":"string"}},"rowFilter.line_item_taxes.tax_id":{"description":"Identifier of the related tax","in":"query","name":"tax_id","required":false,"schema":{"type":"string"}},"rowFilter.line_item_taxes.amount":{"description":"Amount of the tax, in cents","in":"query","name":"amount","required":false,"schema":{"type":"string"}},"rowFilter.line_item_taxes.percentage":{"description":"Percentage of the tax","in":"query","name":"percentage","required":false,"schema":{"type":"string"}},"rowFilter.line_item_taxes.type":{"description":"Type of the tax","in":"query","name":"type","required":false,"schema":{"type":"string"}},"rowFilter.line_item_taxes.label":{"description":"Localized label of the tax","in":"query","name":"label","required":false,"schema":{"type":"string"}},"rowFilter.capacity_group_dependencies.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.capacity_group_dependencies.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.capacity_group_dependencies.accumulator_id":{"description":"Identifier of the accumulating capacity group","in":"query","name":"accumulator_id","required":false,"schema":{"type":"string"}},"rowFilter.capacity_group_dependencies.element_id":{"description":"Identifier of the accumulated capacity group","in":"query","name":"element_id","required":false,"schema":{"type":"string"}},"rowFilter.api_requests.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.api_requests.api_key_id":{"description":"Identifier of the API key used for the request","in":"query","name":"api_key_id","required":false,"schema":{"type":"string"}},"rowFilter.api_requests.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.api_requests.endpoint":{"description":"Endpoint of the request","in":"query","name":"endpoint","required":false,"schema":{"type":"string"}},"rowFilter.api_requests.method":{"description":"HTTP method of the request","in":"query","name":"method","required":false,"schema":{"type":"string"}},"rowFilter.api_requests.search":{"description":"Search params of the request","in":"query","name":"search","required":false,"schema":{"type":"string"}},"rowFilter.api_requests.created_on":{"description":"Creation date","in":"query","name":"created_on","required":false,"schema":{"type":"string"}},"rowFilter.api_requests.status":{"description":"HTTP status code of the response","in":"query","name":"status","required":false,"schema":{"type":"string"}},"rowFilter.message_events.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.message_events.message_id":{"description":"Identifier of the related message","in":"query","name":"message_id","required":false,"schema":{"type":"string"}},"rowFilter.message_events.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.message_events.event_type":{"description":"Type of the event","in":"query","name":"event_type","required":false,"schema":{"type":"string"}},"rowFilter.message_events.recipient":{"description":"Email address or phone number of the recipient","in":"query","name":"recipient","required":false,"schema":{"type":"string"}},"rowFilter.tasks.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.tasks.calendar_event_id":{"description":"Identifier of the related calendar event","in":"query","name":"calendar_event_id","required":false,"schema":{"type":"string"}},"rowFilter.tasks.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.tasks.completed_at":{"description":"Timestamp at which the task was completed","in":"query","name":"completed_at","required":false,"schema":{"type":"string"}},"rowFilter.tasks.task_template_id":{"description":"Identifier of the related task template","in":"query","name":"task_template_id","required":false,"schema":{"type":"string"}},"rowFilter.tasks.label":{"description":"Label of the task","in":"query","name":"label","required":false,"schema":{"type":"string"}},"rowFilter.tasks.due_at":{"description":"Timestamp at which the task is due","in":"query","name":"due_at","required":false,"schema":{"type":"string"}},"rowFilter.tasks.schedule":{"description":"Schedule of the task relative to the event","in":"query","name":"schedule","required":false,"schema":{"type":"string"}},"rowFilter.tasks.notification_sent_at":{"description":"Timestamp at which the last notification was sent","in":"query","name":"notification_sent_at","required":false,"schema":{"type":"string"}},"rowFilter.tasks.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.tasks.fts":{"in":"query","name":"fts","required":false,"schema":{"type":"string"}},"rowFilter.calendar_event_updates.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.calendar_event_updates.calendar_event_id":{"description":"Identifier of the related calendar event","in":"query","name":"calendar_event_id","required":false,"schema":{"type":"string"}},"rowFilter.calendar_event_updates.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.calendar_event_updates.prev_status":{"description":"Status of the event before the update","in":"query","name":"prev_status","required":false,"schema":{"type":"string"}},"rowFilter.calendar_event_updates.next_status":{"description":"Status of the event after the update","in":"query","name":"next_status","required":false,"schema":{"type":"string"}},"rowFilter.calendar_event_updates.prev_product_id":{"description":"Identifier of the unit of the event before the update","in":"query","name":"prev_product_id","required":false,"schema":{"type":"string"}},"rowFilter.calendar_event_updates.next_product_id":{"description":"Identifier of the unit of the event after the update","in":"query","name":"next_product_id","required":false,"schema":{"type":"string"}},"rowFilter.calendar_event_updates.user_id":{"description":"Identifier of the user or system that made the update","in":"query","name":"user_id","required":false,"schema":{"type":"string"}},"rowFilter.calendar_event_updates.prev_interval":{"description":"Interval of the event before the update","in":"query","name":"prev_interval","required":false,"schema":{"type":"string"}},"rowFilter.calendar_event_updates.next_interval":{"description":"Interval of the event after the update","in":"query","name":"next_interval","required":false,"schema":{"type":"string"}},"rowFilter.widgets.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.widgets.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.widgets.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.widgets.title":{"description":"Title of the widget","in":"query","name":"title","required":false,"schema":{"type":"string"}},"rowFilter.widgets.type":{"description":"Type of the widget: `calendar`, `timeline`, `inventory` or `search`","in":"query","name":"type","required":false,"schema":{"type":"string"}},"rowFilter.widgets.organization_id":{"description":"Identifier of the organization this widget is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.widgets.language":{"description":"Language of the widget","in":"query","name":"language","required":false,"schema":{"type":"string"}},"rowFilter.widgets.visible_months":{"description":"Months that are visible in the calendar. Deprecated","in":"query","name":"visible_months","required":false,"schema":{"type":"string"}},"rowFilter.widgets.show_bookingmood_branding":{"description":"Whether to show the Bookingmood branding","in":"query","name":"show_bookingmood_branding","required":false,"schema":{"type":"string"}},"rowFilter.widgets.stay_expanded":{"description":"Whether the date-selection section should stay expanded after selecting dates","in":"query","name":"stay_expanded","required":false,"schema":{"type":"string"}},"rowFilter.widgets.font":{"description":"Font of the widget","in":"query","name":"font","required":false,"schema":{"type":"string"}},"rowFilter.widgets.show_past":{"description":"Whether to show past dates in the calendar","in":"query","name":"show_past","required":false,"schema":{"type":"string"}},"rowFilter.widgets.redirect_url":{"description":"URL to redirect to after submitting a booking","in":"query","name":"redirect_url","required":false,"schema":{"type":"string"}},"rowFilter.widgets.currency":{"description":"Currency of the widget","in":"query","name":"currency","required":false,"schema":{"type":"string"}},"rowFilter.widgets.fts":{"description":"Full text search index","in":"query","name":"fts","required":false,"schema":{"type":"string"}},"rowFilter.widgets.date_visibility":{"description":"Which dates the calendar shows: `all`, `hide-closed` to hide closed dates, `hide-unavailable` to hide unavailable dates, or the deprecated `custom` to show selected months","in":"query","name":"date_visibility","required":false,"schema":{"type":"string"}},"rowFilter.widgets.initial_date":{"description":"Initial date shown in the calendar","in":"query","name":"initial_date","required":false,"schema":{"type":"string"}},"rowFilter.widgets.interaction":{"description":"What happens when a guest picks dates: `book` to book in the widget, or `forward` and `forward-same-tab` to open the listing URL in a new or the same tab","in":"query","name":"interaction","required":false,"schema":{"type":"string"}},"rowFilter.widgets.autocomplete_date_selection":{"description":"Whether to autocomplete the date selection when only one date is available","in":"query","name":"autocomplete_date_selection","required":false,"schema":{"type":"string"}},"rowFilter.widgets.settings":{"description":"Settings of the widget","in":"query","name":"settings","required":false,"schema":{"type":"string"}},"rowFilter.widgets.show_booked_as":{"description":"How to show booked dates","in":"query","name":"show_booked_as","required":false,"schema":{"type":"string"}},"rowFilter.widgets.show_closed_as":{"description":"How to show closed dates","in":"query","name":"show_closed_as","required":false,"schema":{"type":"string"}},"rowFilter.widgets.show_pending_as":{"description":"How to interpret pending events","in":"query","name":"show_pending_as","required":false,"schema":{"type":"string"}},"rowFilter.widgets.show_reviews":{"description":"Whether to show reviews","in":"query","name":"show_reviews","required":false,"schema":{"type":"string"}},"rowFilter.widgets.failure_url":{"description":"URL to redirect to when a payment fails. `__BOOKING_PAGE__` shows the guest page","in":"query","name":"failure_url","required":false,"schema":{"type":"string"}},"rowFilter.widgets.enable_shopping_cart":{"description":"Whether guests can book multiple units at once","in":"query","name":"enable_shopping_cart","required":false,"schema":{"type":"string"}},"rowFilter.widgets.show_complex_prices":{"description":"Whether guests can inspect seasonal prices in the calendar","in":"query","name":"show_complex_prices","required":false,"schema":{"type":"string"}},"rowFilter.booking_updates.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.booking_updates.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.booking_updates.booking_id":{"description":"Identifier of the related booking","in":"query","name":"booking_id","required":false,"schema":{"type":"string"}},"rowFilter.booking_updates.user_id":{"description":"Identifier of the user that made the update","in":"query","name":"user_id","required":false,"schema":{"type":"string"}},"rowFilter.site_nav_items.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.site_nav_items.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.site_nav_items.site_id":{"description":"Identifier of the site this navigation item is defined in","in":"query","name":"site_id","required":false,"schema":{"type":"string"}},"rowFilter.site_nav_items.parent_id":{"description":"Identifier of the parent navigation item","in":"query","name":"parent_id","required":false,"schema":{"type":"string"}},"rowFilter.site_nav_items.site_page_id":{"description":"Identifier of the related page. Only applies when `type` is `internal`","in":"query","name":"site_page_id","required":false,"schema":{"type":"string"}},"rowFilter.site_nav_items.label":{"description":"Localized label of the navigation item","in":"query","name":"label","required":false,"schema":{"type":"string"}},"rowFilter.site_nav_items.order":{"description":"Order of the navigation item as displayed on the site","in":"query","name":"order","required":false,"schema":{"type":"string"}},"rowFilter.site_nav_items.target":{"description":"Where the link opens: `_self` or `_blank`","in":"query","name":"target","required":false,"schema":{"type":"string"}},"rowFilter.site_nav_items.url":{"description":"Localized URL of the navigation item. Only applies when `type` is `external`","in":"query","name":"url","required":false,"schema":{"type":"string"}},"rowFilter.services.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.services.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.services.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.services.type":{"description":"Type of the service","in":"query","name":"type","required":false,"schema":{"type":"string"}},"rowFilter.services.order":{"description":"Order of the option within its parent service. Only applies to services of type `multiple-choice-option`","in":"query","name":"order","required":false,"schema":{"type":"string"}},"rowFilter.services.label":{"description":"Localized label of the service","in":"query","name":"label","required":false,"schema":{"type":"string"}},"rowFilter.services.description":{"description":"Localized description of the service","in":"query","name":"description","required":false,"schema":{"type":"string"}},"rowFilter.services.parent_id":{"description":"Identifier of the parent service. Only applies to services of type `multiple-choice-option`","in":"query","name":"parent_id","required":false,"schema":{"type":"string"}},"rowFilter.services.organization_id":{"description":"Identifier of the organization this service is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.services.meta":{"description":"Metadata of the service","in":"query","name":"meta","required":false,"schema":{"type":"string"}},"rowFilter.services.fts":{"description":"Full text search index","in":"query","name":"fts","required":false,"schema":{"type":"string"}},"rowFilter.services.attachment":{"description":"URL of a file attached to the service","in":"query","name":"attachment","required":false,"schema":{"type":"string"}},"rowFilter.services.fee":{"description":"Fee charged for the service","in":"query","name":"fee","required":false,"schema":{"type":"string"}},"rowFilter.services.deposit":{"description":"Deposit charged for the service","in":"query","name":"deposit","required":false,"schema":{"type":"string"}},"rowFilter.site_listings.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.site_listings.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.site_listings.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.site_listings.site_id":{"description":"Identifier of the site this listing is defined in","in":"query","name":"site_id","required":false,"schema":{"type":"string"}},"rowFilter.site_listings.product_id":{"description":"Identifier of the related unit","in":"query","name":"product_id","required":false,"schema":{"type":"string"}},"rowFilter.site_listings.order":{"description":"Order of the listing as displayed on the site","in":"query","name":"order","required":false,"schema":{"type":"string"}},"rowFilter.site_listings.slug":{"description":"Localized slug of the listing","in":"query","name":"slug","required":false,"schema":{"type":"string"}},"rowFilter.bookings.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.bookings.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.bookings.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.bookings.widget_id":{"description":"Identifier of the widget the booking was made in","in":"query","name":"widget_id","required":false,"schema":{"type":"string"}},"rowFilter.bookings.currency":{"description":"Base currency of the booking","in":"query","name":"currency","required":false,"schema":{"type":"string"}},"rowFilter.bookings.display_currency":{"description":"Currency used to display prices to the guest","in":"query","name":"display_currency","required":false,"schema":{"type":"string"}},"rowFilter.bookings.exchange_rate":{"description":"Exchange rate used to convert the booking currency to the display currency","in":"query","name":"exchange_rate","required":false,"schema":{"type":"string"}},"rowFilter.bookings.silent":{"description":"Whether the booking was made without automatically sending a confirmation email","in":"query","name":"silent","required":false,"schema":{"type":"string"}},"rowFilter.bookings.method":{"description":"Method used to make the booking: `request` or `book`","in":"query","name":"method","required":false,"schema":{"type":"string"}},"rowFilter.bookings.site_id":{"description":"Identifier of the site the booking was made on","in":"query","name":"site_id","required":false,"schema":{"type":"string"}},"rowFilter.bookings.organization_id":{"description":"Identifier of the organization this booking is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.bookings.confirmed_at":{"description":"Timestamp at which the booking was confirmed","in":"query","name":"confirmed_at","required":false,"schema":{"type":"string"}},"rowFilter.bookings.reference":{"description":"Publicly visible reference of the booking","in":"query","name":"reference","required":false,"schema":{"type":"string"}},"rowFilter.bookings.secret":{"description":"Secret reference of the booking","in":"query","name":"secret","required":false,"schema":{"type":"string"}},"rowFilter.bookings.fts":{"in":"query","name":"fts","required":false,"schema":{"type":"string"}},"rowFilter.bookings.creator_id":{"description":"Identifier of the user that created the booking","in":"query","name":"creator_id","required":false,"schema":{"type":"string"}},"rowFilter.attributes.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.attributes.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.attributes.order":{"description":"Order of the attribute as displayed on widgets and websites","in":"query","name":"order","required":false,"schema":{"type":"string"}},"rowFilter.attributes.name":{"description":"Localized name of the attribute","in":"query","name":"name","required":false,"schema":{"type":"string"}},"rowFilter.attributes.type":{"description":"Type of the attribute: `single-select` or `multi-select`","in":"query","name":"type","required":false,"schema":{"type":"string"}},"rowFilter.attributes.organization_id":{"description":"Identifier of the organization this attribute is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.product_message_templates.product_id":{"description":"Identifier of the related unit","in":"query","name":"product_id","required":false,"schema":{"type":"string"}},"rowFilter.product_message_templates.message_template_id":{"description":"Identifier of the related message template","in":"query","name":"message_template_id","required":false,"schema":{"type":"string"}},"rowFilter.product_message_templates.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.product_message_templates.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.product_message_templates.order":{"description":"Order of the message template as displayed in the admin","in":"query","name":"order","required":false,"schema":{"type":"string"}},"rowFilter.refunds.id":{"in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.refunds.booking_id":{"description":"Identifier of the related booking","in":"query","name":"booking_id","required":false,"schema":{"type":"string"}},"rowFilter.refunds.invoice_id":{"description":"Identifier of the related invoice","in":"query","name":"invoice_id","required":false,"schema":{"type":"string"}},"rowFilter.refunds.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.refunds.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.refunds.due_at":{"description":"Timestamp at which the refund is due","in":"query","name":"due_at","required":false,"schema":{"type":"string"}},"rowFilter.refunds.amount":{"description":"Amount of the refund, in cents","in":"query","name":"amount","required":false,"schema":{"type":"string"}},"rowFilter.refunds.comment":{"description":"Comment about the refund","in":"query","name":"comment","required":false,"schema":{"type":"string"}},"rowFilter.refunds.currency":{"description":"Currency of the refund","in":"query","name":"currency","required":false,"schema":{"type":"string"}},"rowFilter.refunds.paid":{"description":"Amount of the refund that was paid, in cents","in":"query","name":"paid","required":false,"schema":{"type":"string"}},"rowFilter.refunds.reference":{"description":"Reference of the refund","in":"query","name":"reference","required":false,"schema":{"type":"string"}},"rowFilter.refunds.status":{"description":"Status of the refund, either `pending` or `completed`","in":"query","name":"status","required":false,"schema":{"type":"string"}},"rowFilter.refunds.policy":{"description":"Localized refund policy that applies","in":"query","name":"policy","required":false,"schema":{"type":"string"}},"rowFilter.refunds.fts":{"in":"query","name":"fts","required":false,"schema":{"type":"string"}},"rowFilter.review_widgets.id":{"in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.review_widgets.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.review_widgets.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.review_widgets.color_background":{"description":"Background color of the widget","in":"query","name":"color_background","required":false,"schema":{"type":"string"}},"rowFilter.review_widgets.color_text":{"description":"Text color of the widget","in":"query","name":"color_text","required":false,"schema":{"type":"string"}},"rowFilter.review_widgets.color_primary":{"description":"Primary color of the widget","in":"query","name":"color_primary","required":false,"schema":{"type":"string"}},"rowFilter.review_widgets.layout":{"description":"Layout of the reviews: `grid`, `list` or `summary`","in":"query","name":"layout","required":false,"schema":{"type":"string"}},"rowFilter.review_widgets.organization_id":{"description":"Identifier of the organization this widget is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.review_widgets.title":{"description":"Title of the widget","in":"query","name":"title","required":false,"schema":{"type":"string"}},"rowFilter.review_widgets.font":{"description":"Font of the widget","in":"query","name":"font","required":false,"schema":{"type":"string"}},"rowFilter.review_widgets.number_of_items":{"description":"Number of reviews to show","in":"query","name":"number_of_items","required":false,"schema":{"type":"string"}},"rowFilter.review_widgets.language":{"description":"Language of the widget","in":"query","name":"language","required":false,"schema":{"type":"string"}},"rowFilter.review_widgets.show_branding":{"description":"Whether to show the Bookingmood branding","in":"query","name":"show_branding","required":false,"schema":{"type":"string"}},"rowFilter.review_widgets.fts":{"in":"query","name":"fts","required":false,"schema":{"type":"string"}},"rowFilter.products.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.products.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.products.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.products.ical_export_secret":{"description":"Secret used to generate iCal feed URLs","in":"query","name":"ical_export_secret","required":false,"schema":{"type":"string"}},"rowFilter.products.organization_id":{"description":"Identifier of the organization this unit is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.products.timezone":{"description":"Timezone of the unit","in":"query","name":"timezone","required":false,"schema":{"type":"string"}},"rowFilter.products.images":{"description":"Images of the unit","in":"query","name":"images","required":false,"schema":{"type":"string"}},"rowFilter.products.approximate_address":{"description":"Approximate address of the unit","in":"query","name":"approximate_address","required":false,"schema":{"type":"string"}},"rowFilter.products.ac_id":{"description":"Identifier of the unit on AvailabilityCalendar.com, for imported units","in":"query","name":"ac_id","required":false,"schema":{"type":"string"}},"rowFilter.products.rent_period":{"description":"Rent period of the unit","in":"query","name":"rent_period","required":false,"schema":{"type":"string"}},"rowFilter.products.ical_export_secret_no_details":{"description":"Secret used to generate iCal feed URLs without booking details","in":"query","name":"ical_export_secret_no_details","required":false,"schema":{"type":"string"}},"rowFilter.products.deleted_at":{"description":"Timestamp at which the unit was deleted","in":"query","name":"deleted_at","required":false,"schema":{"type":"string"}},"rowFilter.products.name":{"description":"Localized name of the unit","in":"query","name":"name","required":false,"schema":{"type":"string"}},"rowFilter.products.description":{"description":"Localized description of the unit","in":"query","name":"description","required":false,"schema":{"type":"string"}},"rowFilter.products.exact_address":{"description":"Exact address of the unit","in":"query","name":"exact_address","required":false,"schema":{"type":"string"}},"rowFilter.products.currency":{"description":"Currency bookings are made in","in":"query","name":"currency","required":false,"schema":{"type":"string"}},"rowFilter.products.approximate_coordinates":{"description":"Coordinates of the approximate address","in":"query","name":"approximate_coordinates","required":false,"schema":{"type":"string"}},"rowFilter.products.exact_coordinates":{"description":"Coordinates of the exact address","in":"query","name":"exact_coordinates","required":false,"schema":{"type":"string"}},"rowFilter.products.fts":{"description":"Full text search index","in":"query","name":"fts","required":false,"schema":{"type":"string"}},"rowFilter.products.hide_exact_address":{"description":"Whether to hide the exact address from guests until their booking is confirmed","in":"query","name":"hide_exact_address","required":false,"schema":{"type":"string"}},"rowFilter.products.confirmation_message":{"description":"Localized message shown after submitting a booking","in":"query","name":"confirmation_message","required":false,"schema":{"type":"string"}},"rowFilter.products.rent_pricing_definition":{"description":"How rent is priced: `service` with rent prices, `configurations` with a price calendar, or `pricelabs` with prices from PriceLabs","in":"query","name":"rent_pricing_definition","required":false,"schema":{"type":"string"}},"rowFilter.products.cooldown_time":{"description":"Minimum number of days between bookings","in":"query","name":"cooldown_time","required":false,"schema":{"type":"string"}},"rowFilter.products.interaction":{"description":"How guests book the unit: `request` or `book`","in":"query","name":"interaction","required":false,"schema":{"type":"string"}},"rowFilter.products.request_status":{"description":"Status of new booking requests: `TENTATIVE` keeps them pending until they are confirmed, `CONFIRMED` confirms them right away. Doesn't apply to instant bookings","in":"query","name":"request_status","required":false,"schema":{"type":"string"}},"rowFilter.products.confirm_after_initial_payment":{"description":"Whether to confirm bookings automatically after the initial payment. Only applies when `interaction` is `request`","in":"query","name":"confirm_after_initial_payment","required":false,"schema":{"type":"string"}},"rowFilter.products.cancel_after_initial_payment_error":{"description":"Whether to cancel bookings when their initial online payment fails, i.e. expires or is rejected","in":"query","name":"cancel_after_initial_payment_error","required":false,"schema":{"type":"string"}},"rowFilter.products.price_breakdown_specificity":{"description":"Whether multiple pricing lines of a single fee are `combined` into one or shown `separate`ly","in":"query","name":"price_breakdown_specificity","required":false,"schema":{"type":"string"}},"rowFilter.products.latest_arrival_time":{"description":"Latest time guests can book for the same day","in":"query","name":"latest_arrival_time","required":false,"schema":{"type":"string"}},"rowFilter.products.payment_expiration_duration":{"description":"Seconds after which an unpaid online payment expires","in":"query","name":"payment_expiration_duration","required":false,"schema":{"type":"string"}},"rowFilter.products.tentative_interaction":{"description":"How guests book tentative dates: `request` or `book`","in":"query","name":"tentative_interaction","required":false,"schema":{"type":"string"}},"rowFilter.products.fee":{"description":"Fee charged for rent","in":"query","name":"fee","required":false,"schema":{"type":"string"}},"rowFilter.products.deposit":{"description":"Deposit charged for rent","in":"query","name":"deposit","required":false,"schema":{"type":"string"}},"rowFilter.site_views.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.site_views.site_id":{"description":"Identifier of the viewed site","in":"query","name":"site_id","required":false,"schema":{"type":"string"}},"rowFilter.site_views.referer":{"description":"Referer of the view","in":"query","name":"referer","required":false,"schema":{"type":"string"}},"rowFilter.site_views.country":{"description":"Country of the visitor","in":"query","name":"country","required":false,"schema":{"type":"string"}},"rowFilter.site_views.session":{"description":"Identifier of the visitor's session","in":"query","name":"session","required":false,"schema":{"type":"string"}},"rowFilter.site_views.pathname":{"description":"Pathname of the viewed page","in":"query","name":"pathname","required":false,"schema":{"type":"string"}},"rowFilter.site_views.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.taxes.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.taxes.organization_id":{"description":"Identifier of the organization this tax is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.taxes.percentage":{"description":"Percentage of the tax","in":"query","name":"percentage","required":false,"schema":{"type":"string"}},"rowFilter.taxes.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.taxes.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.taxes.label":{"description":"Localized label of the tax","in":"query","name":"label","required":false,"schema":{"type":"string"}},"rowFilter.taxes.fts":{"description":"Full text search index","in":"query","name":"fts","required":false,"schema":{"type":"string"}},"rowFilter.taxes.type":{"description":"Type of the tax: `on-top` or `included`","in":"query","name":"type","required":false,"schema":{"type":"string"}},"rowFilter.permissions.member_id":{"description":"Identifier of the related member","in":"query","name":"member_id","required":false,"schema":{"type":"string"}},"rowFilter.permissions.product_id":{"description":"Identifier of the related unit","in":"query","name":"product_id","required":false,"schema":{"type":"string"}},"rowFilter.permissions.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.permissions.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.permissions.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.permissions.bookings":{"description":"Bookings permission level","in":"query","name":"bookings","required":false,"schema":{"type":"string"}},"rowFilter.permissions.notifications":{"description":"Notifications permission level","in":"query","name":"notifications","required":false,"schema":{"type":"string"}},"rowFilter.permissions.settings":{"description":"Settings permission level","in":"query","name":"settings","required":false,"schema":{"type":"string"}},"rowFilter.webhook_notifications.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.webhook_notifications.webhook_id":{"description":"Identifier of the related webhook","in":"query","name":"webhook_id","required":false,"schema":{"type":"string"}},"rowFilter.webhook_notifications.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.webhook_notifications.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.webhook_notifications.event_type":{"description":"Event the notification is about","in":"query","name":"event_type","required":false,"schema":{"type":"string"}},"rowFilter.webhook_notifications.payload":{"description":"JSON payload of the notification","in":"query","name":"payload","required":false,"schema":{"type":"string"}},"rowFilter.webhook_notifications.status":{"description":"Status of the notification: `pending`, `sent` or `error`","in":"query","name":"status","required":false,"schema":{"type":"string"}},"rowFilter.webhook_notifications.response":{"description":"Response of the endpoint","in":"query","name":"response","required":false,"schema":{"type":"string"}},"rowFilter.webhook_notifications.tries":{"description":"Number of delivery attempts","in":"query","name":"tries","required":false,"schema":{"type":"string"}},"rowFilter.webhook_notifications.created_on":{"description":"Date on which the webhook notification was created","in":"query","name":"created_on","required":false,"schema":{"type":"string"}},"rowFilter.capacities.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.capacities.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.capacities.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.capacities.product_id":{"description":"Identifier of the related unit","in":"query","name":"product_id","required":false,"schema":{"type":"string"}},"rowFilter.capacities.capacity_group_id":{"description":"Identifier of the related capacity group","in":"query","name":"capacity_group_id","required":false,"schema":{"type":"string"}},"rowFilter.capacities.min":{"description":"Minimum allowed occupancy","in":"query","name":"min","required":false,"schema":{"type":"string"}},"rowFilter.capacities.max":{"description":"Maximum allowed occupancy","in":"query","name":"max","required":false,"schema":{"type":"string"}},"rowFilter.contact_bookings.contact_id":{"description":"Identifier of the related contact","in":"query","name":"contact_id","required":false,"schema":{"type":"string"}},"rowFilter.contact_bookings.booking_id":{"description":"Identifier of the related booking","in":"query","name":"booking_id","required":false,"schema":{"type":"string"}},"rowFilter.contact_bookings.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.contact_bookings.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.pricelabs_pricing.product_id":{"description":"Identifier of the related unit","in":"query","name":"product_id","required":false,"schema":{"type":"string"}},"rowFilter.pricelabs_pricing.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.pricelabs_pricing.imported_at":{"description":"Timestamp at which the prices were last imported from PriceLabs","in":"query","name":"imported_at","required":false,"schema":{"type":"string"}},"rowFilter.pricelabs_pricing.pricelabs_email":{"description":"Email address of the PriceLabs account","in":"query","name":"pricelabs_email","required":false,"schema":{"type":"string"}},"rowFilter.pricelabs_pricing.entries":{"description":"Pricing definitions per interval","in":"query","name":"entries","required":false,"schema":{"type":"string"}},"rowFilter.pricelabs_pricing.dirty":{"description":"Whether the prices still need to be exported to PriceLabs","in":"query","name":"dirty","required":false,"schema":{"type":"string"}},"rowFilter.pricelabs_pricing.exported_at":{"description":"Timestamp at which the prices were last exported to PriceLabs","in":"query","name":"exported_at","required":false,"schema":{"type":"string"}},"rowFilter.pricelabs_pricing.number_of_bedrooms":{"description":"Number of bedrooms of the unit","in":"query","name":"number_of_bedrooms","required":false,"schema":{"type":"string"}},"rowFilter.price_calendar_entries.min_duration":{"description":"Minimum duration of a booking in days","in":"query","name":"min_duration","required":false,"schema":{"type":"string"}},"rowFilter.price_calendar_entries.max_duration":{"description":"Maximum duration of a booking in days","in":"query","name":"max_duration","required":false,"schema":{"type":"string"}},"rowFilter.price_calendar_entries.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.price_calendar_entries.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.price_calendar_entries.color":{"description":"Color to distinguish the configuration from others","in":"query","name":"color","required":false,"schema":{"type":"string"}},"rowFilter.price_calendar_entries.min_advance":{"description":"Minimum number of days between booking and arrival","in":"query","name":"min_advance","required":false,"schema":{"type":"string"}},"rowFilter.price_calendar_entries.max_advance":{"description":"Maximum number of days between booking and arrival","in":"query","name":"max_advance","required":false,"schema":{"type":"string"}},"rowFilter.price_calendar_entries.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.price_calendar_entries.product_id":{"description":"Identifier of the related unit","in":"query","name":"product_id","required":false,"schema":{"type":"string"}},"rowFilter.price_calendar_entries.name":{"description":"Localized name of the entry","in":"query","name":"name","required":false,"schema":{"type":"string"}},"rowFilter.price_calendar_entries.fts":{"description":"Full text search index","in":"query","name":"fts","required":false,"schema":{"type":"string"}},"rowFilter.price_calendar_entries.check_in_days":{"description":"List of days of the week on which check-in is possible","in":"query","name":"check_in_days","required":false,"schema":{"type":"string"}},"rowFilter.price_calendar_entries.checkout_days":{"description":"List of days of the week on which check-out is possible","in":"query","name":"checkout_days","required":false,"schema":{"type":"string"}},"rowFilter.price_calendar_entries.order":{"description":"Order in which the entry is shown in the price calendar editor","in":"query","name":"order","required":false,"schema":{"type":"string"}},"rowFilter.price_calendar_entries.intervals":{"description":"Date ranges the entry applies to","in":"query","name":"intervals","required":false,"schema":{"type":"string"}},"rowFilter.price_calendar_entries.rates":{"description":"Rate per night on day X of a booking given some occupancy","in":"query","name":"rates","required":false,"schema":{"type":"string"}},"rowFilter.sites.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.sites.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.sites.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.sites.autocomplete_date_selection":{"description":"Whether to autocomplete the date selection when only one date is available","in":"query","name":"autocomplete_date_selection","required":false,"schema":{"type":"string"}},"rowFilter.sites.color_background":{"description":"Background color of the site","in":"query","name":"color_background","required":false,"schema":{"type":"string"}},"rowFilter.sites.color_error":{"description":"Error color of the site","in":"query","name":"color_error","required":false,"schema":{"type":"string"}},"rowFilter.sites.color_primary":{"description":"Primary color of the site","in":"query","name":"color_primary","required":false,"schema":{"type":"string"}},"rowFilter.sites.color_text":{"description":"Text color of the site","in":"query","name":"color_text","required":false,"schema":{"type":"string"}},"rowFilter.sites.cover":{"description":"URL of the cover image","in":"query","name":"cover","required":false,"schema":{"type":"string"}},"rowFilter.sites.date_visibility":{"description":"Which dates the calendar shows: `all`, `hide-closed` to hide closed dates, `hide-unavailable` to hide unavailable dates, or the deprecated `custom` to show selected months","in":"query","name":"date_visibility","required":false,"schema":{"type":"string"}},"rowFilter.sites.font":{"description":"Font of the site","in":"query","name":"font","required":false,"schema":{"type":"string"}},"rowFilter.sites.initial_date":{"description":"Initial date shown in the calendar","in":"query","name":"initial_date","required":false,"schema":{"type":"string"}},"rowFilter.sites.interval_wrap_style":{"description":"Style of the interval when wrapping weeks","in":"query","name":"interval_wrap_style","required":false,"schema":{"type":"string"}},"rowFilter.sites.name":{"description":"Localized name of the site","in":"query","name":"name","required":false,"schema":{"type":"string"}},"rowFilter.sites.rate_location":{"description":"Where rates are shown in the calendar: `inline` or `tooltip`","in":"query","name":"rate_location","required":false,"schema":{"type":"string"}},"rowFilter.sites.rate_visibility":{"description":"Which rates the calendar shows: `all`, `available` or `none`","in":"query","name":"rate_visibility","required":false,"schema":{"type":"string"}},"rowFilter.sites.show_branding":{"description":"Whether to show the Bookingmood branding","in":"query","name":"show_branding","required":false,"schema":{"type":"string"}},"rowFilter.sites.show_legend":{"description":"Whether to show a legend in the calendar","in":"query","name":"show_legend","required":false,"schema":{"type":"string"}},"rowFilter.sites.show_totals":{"description":"Whether to show totals in the calendar","in":"query","name":"show_totals","required":false,"schema":{"type":"string"}},"rowFilter.sites.subdomain":{"description":"Subdomain of the site","in":"query","name":"subdomain","required":false,"schema":{"type":"string"}},"rowFilter.sites.filters":{"description":"Filters to show in the search bar","in":"query","name":"filters","required":false,"schema":{"type":"string"}},"rowFilter.sites.currency":{"description":"Currency of the site","in":"query","name":"currency","required":false,"schema":{"type":"string"}},"rowFilter.sites.password_hash":{"description":"Hash of the password required to access the site","in":"query","name":"password_hash","required":false,"schema":{"type":"string"}},"rowFilter.sites.organization_id":{"description":"Identifier of the organization this site is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.sites.first_week_contains_date":{"description":"Day of January the first week of the year contains: `1`, or `4` as in ISO 8601","in":"query","name":"first_week_contains_date","required":false,"schema":{"type":"string"}},"rowFilter.sites.week_starts_on":{"description":"First day of the week: `0` for Sunday or `1` for Monday","in":"query","name":"week_starts_on","required":false,"schema":{"type":"string"}},"rowFilter.sites.logo":{"description":"URL of the logo image","in":"query","name":"logo","required":false,"schema":{"type":"string"}},"rowFilter.sites.icon":{"description":"URL of the icon image","in":"query","name":"icon","required":false,"schema":{"type":"string"}},"rowFilter.sites.custom_domain":{"description":"Custom domain of the site","in":"query","name":"custom_domain","required":false,"schema":{"type":"string"}},"rowFilter.sites.logo_alt":{"description":"URL of the logo image for dark backgrounds","in":"query","name":"logo_alt","required":false,"schema":{"type":"string"}},"rowFilter.sites.type":{"description":"Type of the site: `single-unit-site` or `listing-site`","in":"query","name":"type","required":false,"schema":{"type":"string"}},"rowFilter.sites.pricing_version":{"description":"Version of Bookingmood's pricing that applies to the site: `V1` sites are paid, older `V0` sites are free","in":"query","name":"pricing_version","required":false,"schema":{"type":"string"}},"rowFilter.sites.show_unavailable_results":{"description":"Whether search results also list units that don't match the search","in":"query","name":"show_unavailable_results","required":false,"schema":{"type":"string"}},"rowFilter.sites.color_header":{"description":"Header color of the site","in":"query","name":"color_header","required":false,"schema":{"type":"string"}},"rowFilter.sites.color_booked":{"description":"Color of booked dates","in":"query","name":"color_booked","required":false,"schema":{"type":"string"}},"rowFilter.sites.color_closed":{"description":"Color of closed dates","in":"query","name":"color_closed","required":false,"schema":{"type":"string"}},"rowFilter.sites.show_pending_as":{"description":"How to interpret pending events","in":"query","name":"show_pending_as","required":false,"schema":{"type":"string"}},"rowFilter.sites.show_booked_as":{"description":"How to show booked dates","in":"query","name":"show_booked_as","required":false,"schema":{"type":"string"}},"rowFilter.sites.show_closed_as":{"description":"How to show closed dates","in":"query","name":"show_closed_as","required":false,"schema":{"type":"string"}},"rowFilter.sites.show_pricing":{"description":"Whether to show the pricing section on unit pages","in":"query","name":"show_pricing","required":false,"schema":{"type":"string"}},"rowFilter.sites.color_warning":{"description":"Warning color of the site","in":"query","name":"color_warning","required":false,"schema":{"type":"string"}},"rowFilter.sites.color_info":{"description":"Info color of the site","in":"query","name":"color_info","required":false,"schema":{"type":"string"}},"rowFilter.sites.color_unavailable":{"description":"Color of unavailable dates","in":"query","name":"color_unavailable","required":false,"schema":{"type":"string"}},"rowFilter.sites.custom_html":{"description":"Custom HTML added to every page of the site","in":"query","name":"custom_html","required":false,"schema":{"type":"string"}},"rowFilter.sites.redirect_url":{"description":"URL to redirect to after submitting a booking","in":"query","name":"redirect_url","required":false,"schema":{"type":"string"}},"rowFilter.sites.related_products":{"description":"Settings of the related units section on unit pages","in":"query","name":"related_products","required":false,"schema":{"type":"string"}},"rowFilter.sites.show_searchbar":{"description":"Whether to show the search bar","in":"query","name":"show_searchbar","required":false,"schema":{"type":"string"}},"rowFilter.sites.fts":{"in":"query","name":"fts","required":false,"schema":{"type":"string"}},"rowFilter.sites.failure_url":{"description":"URL to redirect to when a payment fails. `__BOOKING_PAGE__` shows the guest page","in":"query","name":"failure_url","required":false,"schema":{"type":"string"}},"rowFilter.sites.logo_size":{"description":"Size of the logo in pixels, or null for automatic","in":"query","name":"logo_size","required":false,"schema":{"type":"string"}},"rowFilter.sites.enable_shopping_cart":{"description":"Whether guests can book multiple units at once","in":"query","name":"enable_shopping_cart","required":false,"schema":{"type":"string"}},"rowFilter.sites.show_complex_prices":{"description":"Whether guests can inspect seasonal prices in the calendar","in":"query","name":"show_complex_prices","required":false,"schema":{"type":"string"}},"rowFilter.invoices.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.invoices.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.invoices.organization_id":{"description":"Identifier of the organization this invoice is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.invoices.reference":{"description":"Reference of the invoice","in":"query","name":"reference","required":false,"schema":{"type":"string"}},"rowFilter.invoices.booking_id":{"description":"Identifier of the related booking","in":"query","name":"booking_id","required":false,"schema":{"type":"string"}},"rowFilter.invoices.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.invoices.fts":{"in":"query","name":"fts","required":false,"schema":{"type":"string"}},"rowFilter.invoices.attachment":{"description":"URL of a custom attachment","in":"query","name":"attachment","required":false,"schema":{"type":"string"}},"rowFilter.task_assignees.task_id":{"description":"Identifier of the related task","in":"query","name":"task_id","required":false,"schema":{"type":"string"}},"rowFilter.task_assignees.member_id":{"description":"Identifier of the assigned member","in":"query","name":"member_id","required":false,"schema":{"type":"string"}},"rowFilter.task_assignees.id":{"in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.task_assignees.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.product_attribute_options.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.product_attribute_options.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.product_attribute_options.product_id":{"description":"Identifier of the related unit","in":"query","name":"product_id","required":false,"schema":{"type":"string"}},"rowFilter.product_attribute_options.option_id":{"description":"Identifier of the related option","in":"query","name":"option_id","required":false,"schema":{"type":"string"}},"rowFilter.coupons.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.coupons.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.coupons.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.coupons.organization_id":{"description":"Identifier of the organization this coupon is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.coupons.code":{"description":"Code guests enter to use the coupon","in":"query","name":"code","required":false,"schema":{"type":"string"}},"rowFilter.coupons.description":{"description":"Description of the coupon","in":"query","name":"description","required":false,"schema":{"type":"string"}},"rowFilter.coupons.quota":{"description":"Maximum number of times the coupon can be used","in":"query","name":"quota","required":false,"schema":{"type":"string"}},"rowFilter.coupons.definition":{"description":"Definition of the coupon","in":"query","name":"definition","required":false,"schema":{"type":"string"}},"rowFilter.coupons.scope":{"description":"Scope of the coupon","in":"query","name":"scope","required":false,"schema":{"type":"string"}},"rowFilter.coupons.deleted_at":{"description":"Timestamp at which the coupon was deleted","in":"query","name":"deleted_at","required":false,"schema":{"type":"string"}},"rowFilter.coupons.fts":{"description":"Full text search index","in":"query","name":"fts","required":false,"schema":{"type":"string"}},"rowFilter.coupons.stackable":{"description":"Whether the coupon can be used together with other coupons in one booking","in":"query","name":"stackable","required":false,"schema":{"type":"string"}},"rowFilter.user_profiles.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.user_profiles.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.user_profiles.last_login_at":{"description":"Timestamp at which the user last logged in","in":"query","name":"last_login_at","required":false,"schema":{"type":"string"}},"rowFilter.user_profiles.email":{"description":"Email address of the user","in":"query","name":"email","required":false,"schema":{"type":"string"}},"rowFilter.user_profiles.name":{"description":"Name of the user","in":"query","name":"name","required":false,"schema":{"type":"string"}},"rowFilter.user_profiles.language":{"description":"Language of the user","in":"query","name":"language","required":false,"schema":{"type":"string"}},"rowFilter.user_profiles.user_id":{"description":"Unique identifier","in":"query","name":"user_id","required":false,"schema":{"type":"string"}},"rowFilter.user_profiles.avatar":{"description":"URL of the avatar image","in":"query","name":"avatar","required":false,"schema":{"type":"string"}},"rowFilter.user_profiles.week_starts_on":{"description":"First day of the week: `0` for Sunday or `1` for Monday","in":"query","name":"week_starts_on","required":false,"schema":{"type":"string"}},"rowFilter.user_profiles.first_week_contains_date":{"description":"Day of January the first week of the year contains: `1`, or `4` as in ISO 8601","in":"query","name":"first_week_contains_date","required":false,"schema":{"type":"string"}},"rowFilter.user_profiles.source":{"description":"Source of the user","in":"query","name":"source","required":false,"schema":{"type":"string"}},"rowFilter.user_profiles.fts":{"description":"Full text search index","in":"query","name":"fts","required":false,"schema":{"type":"string"}},"rowFilter.user_profiles.referrer_id":{"description":"Identifier of the user that referred the user","in":"query","name":"referrer_id","required":false,"schema":{"type":"string"}},"rowFilter.calendar_event_notes.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.calendar_event_notes.calendar_event_id":{"description":"Identifier of the related calendar event","in":"query","name":"calendar_event_id","required":false,"schema":{"type":"string"}},"rowFilter.calendar_event_notes.author_id":{"description":"Identifier of the user that created the note","in":"query","name":"author_id","required":false,"schema":{"type":"string"}},"rowFilter.calendar_event_notes.note":{"description":"Content of the note","in":"query","name":"note","required":false,"schema":{"type":"string"}},"rowFilter.calendar_event_notes.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.calendar_event_notes.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.webhooks.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.webhooks.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.webhooks.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.webhooks.endpoint":{"description":"URL notifications are sent to","in":"query","name":"endpoint","required":false,"schema":{"type":"string"}},"rowFilter.webhooks.description":{"description":"Description of the webhook","in":"query","name":"description","required":false,"schema":{"type":"string"}},"rowFilter.webhooks.organization_id":{"description":"Identifier of the organization this webhook is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.webhooks.events":{"description":"Events the webhook is subscribed to. See [the complete list](/docs/integrations/webhooks#event-types)","in":"query","name":"events","required":false,"schema":{"type":"string"}},"rowFilter.webhooks.signing_secret":{"description":"Secret used to sign notifications, so their validity can be verified","in":"query","name":"signing_secret","required":false,"schema":{"type":"string"}},"rowFilter.webhooks.source":{"description":"Where the webhook was registered: in the admin, through the API, or by an external tool such as Zapier","in":"query","name":"source","required":false,"schema":{"type":"string"}},"rowFilter.review_products.id":{"in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.review_products.review_id":{"description":"Identifier of the related review","in":"query","name":"review_id","required":false,"schema":{"type":"string"}},"rowFilter.review_products.product_id":{"description":"Identifier of the related unit","in":"query","name":"product_id","required":false,"schema":{"type":"string"}},"rowFilter.review_products.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.product_calendar_logs.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.product_calendar_logs.product_id":{"description":"Identifier of the related unit","in":"query","name":"product_id","required":false,"schema":{"type":"string"}},"rowFilter.product_calendar_logs.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.product_calendar_logs.referrer":{"description":"Referrer of the request","in":"query","name":"referrer","required":false,"schema":{"type":"string"}},"rowFilter.product_calendar_logs.status":{"description":"Result of the request, e.g. `success`","in":"query","name":"status","required":false,"schema":{"type":"string"}},"rowFilter.product_calendar_logs.params":{"description":"Params of the request","in":"query","name":"params","required":false,"schema":{"type":"string"}},"rowFilter.organizations.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.organizations.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.organizations.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.organizations.avatar":{"description":"URL of the avatar image","in":"query","name":"avatar","required":false,"schema":{"type":"string"}},"rowFilter.organizations.expires_at":{"description":"Timestamp at which the trial or subscription expires","in":"query","name":"expires_at","required":false,"schema":{"type":"string"}},"rowFilter.organizations.paddle_subscription_id":{"description":"Identifier of the Paddle subscription of the organization","in":"query","name":"paddle_subscription_id","required":false,"schema":{"type":"string"}},"rowFilter.organizations.pricing_version":{"description":"Version of Bookingmood's pricing that applies to the organization and its units. Versions were introduced as the pricing changed over time","in":"query","name":"pricing_version","required":false,"schema":{"type":"string"}},"rowFilter.organizations.deleted_at":{"description":"Timestamp at which the organization was deleted","in":"query","name":"deleted_at","required":false,"schema":{"type":"string"}},"rowFilter.organizations.tier":{"description":"Subscription tier of the organization","in":"query","name":"tier","required":false,"schema":{"type":"string"}},"rowFilter.organizations.subscription_type":{"description":"How the subscription is paid: `trial`, `paddle`, `pre-paid` or `test`","in":"query","name":"subscription_type","required":false,"schema":{"type":"string"}},"rowFilter.organizations.name":{"description":"Localized name of the organization","in":"query","name":"name","required":false,"schema":{"type":"string"}},"rowFilter.organizations.credit":{"description":"Pre-paid credit balance of the organization, in cents","in":"query","name":"credit","required":false,"schema":{"type":"string"}},"rowFilter.organizations.active":{"description":"Whether the organization is active. Widgets, sites and iCal feeds of inactive organizations don't work","in":"query","name":"active","required":false,"schema":{"type":"string"}},"rowFilter.organizations.fts":{"description":"Full text search index","in":"query","name":"fts","required":false,"schema":{"type":"string"}},"rowFilter.organizations.thread_emails":{"description":"Whether emails about the same booking are grouped in a single thread","in":"query","name":"thread_emails","required":false,"schema":{"type":"string"}},"rowFilter.organizations.from_address":{"description":"Email address emails to guests are sent from","in":"query","name":"from_address","required":false,"schema":{"type":"string"}},"rowFilter.organizations.from_name":{"description":"Sender name of emails to guests","in":"query","name":"from_name","required":false,"schema":{"type":"string"}},"rowFilter.organizations.invoice_details":{"description":"Seller details shown on invoices, such as address and VAT number","in":"query","name":"invoice_details","required":false,"schema":{"type":"string"}},"rowFilter.organizations.stripe_account_id":{"description":"Identifier of the connected Stripe account","in":"query","name":"stripe_account_id","required":false,"schema":{"type":"string"}},"rowFilter.organizations.payment_method":{"description":"Payment provider for online payments","in":"query","name":"payment_method","required":false,"schema":{"type":"string"}},"rowFilter.organizations.color_background":{"description":"Background color of the guest page and emails","in":"query","name":"color_background","required":false,"schema":{"type":"string"}},"rowFilter.organizations.color_error":{"description":"Error color of the guest page and emails","in":"query","name":"color_error","required":false,"schema":{"type":"string"}},"rowFilter.organizations.color_primary":{"description":"Primary color of the guest page and emails","in":"query","name":"color_primary","required":false,"schema":{"type":"string"}},"rowFilter.organizations.color_text":{"description":"Text color of the guest page and emails","in":"query","name":"color_text","required":false,"schema":{"type":"string"}},"rowFilter.organizations.contact_details":{"description":"Contact details shown to guests","in":"query","name":"contact_details","required":false,"schema":{"type":"string"}},"rowFilter.organizations.description":{"description":"Localized description of the organization","in":"query","name":"description","required":false,"schema":{"type":"string"}},"rowFilter.organizations.font":{"description":"Font of the guest page and emails","in":"query","name":"font","required":false,"schema":{"type":"string"}},"rowFilter.organizations.logo_alt":{"description":"URL of the logo image for dark backgrounds","in":"query","name":"logo_alt","required":false,"schema":{"type":"string"}},"rowFilter.organizations.logo":{"description":"URL of the logo image","in":"query","name":"logo","required":false,"schema":{"type":"string"}},"rowFilter.organizations.show_branding_booking_status_page":{"description":"Whether to show the Bookingmood branding on the guest page","in":"query","name":"show_branding_booking_status_page","required":false,"schema":{"type":"string"}},"rowFilter.organizations.languages":{"description":"Languages the organization supports, the first being the default","in":"query","name":"languages","required":false,"schema":{"type":"string"}},"rowFilter.organizations.color_header":{"description":"Header color of the guest page and emails","in":"query","name":"color_header","required":false,"schema":{"type":"string"}},"rowFilter.organizations.arrival_label":{"description":"Localized label for the arrival date","in":"query","name":"arrival_label","required":false,"schema":{"type":"string"}},"rowFilter.organizations.departure_label":{"description":"Localized label for the departure date","in":"query","name":"departure_label","required":false,"schema":{"type":"string"}},"rowFilter.organizations.payment_details":{"description":"Localized payment instructions for manual payments","in":"query","name":"payment_details","required":false,"schema":{"type":"string"}},"rowFilter.organizations.initial_review_status":{"description":"Status of new reviews: `pending` or `approved`","in":"query","name":"initial_review_status","required":false,"schema":{"type":"string"}},"rowFilter.organizations.review_prompt":{"description":"Localized message asking guests to leave a review","in":"query","name":"review_prompt","required":false,"schema":{"type":"string"}},"rowFilter.organizations.show_review_prompt":{"description":"Whether the guest page asks for a review after the stay","in":"query","name":"show_review_prompt","required":false,"schema":{"type":"string"}},"rowFilter.organizations.color_info":{"description":"Info color of the guest page and emails","in":"query","name":"color_info","required":false,"schema":{"type":"string"}},"rowFilter.organizations.color_warning":{"description":"Warning color of the guest page and emails","in":"query","name":"color_warning","required":false,"schema":{"type":"string"}},"rowFilter.organizations.invoice_footer":{"description":"Text shown at the bottom of invoices","in":"query","name":"invoice_footer","required":false,"schema":{"type":"string"}},"rowFilter.organizations.onboarding_progress":{"description":"Progress of the organization through onboarding","in":"query","name":"onboarding_progress","required":false,"schema":{"type":"string"}},"rowFilter.organizations.referrer_id":{"description":"Identifier of the user that referred the organization","in":"query","name":"referrer_id","required":false,"schema":{"type":"string"}},"rowFilter.organizations.custom_domain":{"description":"Custom domain of the guest page","in":"query","name":"custom_domain","required":false,"schema":{"type":"string"}},"rowFilter.organizations.booking_form_cta":{"description":"Localized label of the booking form's submit button","in":"query","name":"booking_form_cta","required":false,"schema":{"type":"string"}},"rowFilter.organizations.confirmation_message_title":{"description":"Localized title of the message shown after submitting a booking","in":"query","name":"confirmation_message_title","required":false,"schema":{"type":"string"}},"rowFilter.organizations.confirmation_message":{"description":"Localized message shown after submitting a booking","in":"query","name":"confirmation_message","required":false,"schema":{"type":"string"}},"rowFilter.organizations.stripe_store_payment_details":{"description":"Whether to store guests' payment details with Stripe for future charges","in":"query","name":"stripe_store_payment_details","required":false,"schema":{"type":"string"}},"rowFilter.organizations.ical_export_secret":{"description":"Secret used to generate iCal feed URLs","in":"query","name":"ical_export_secret","required":false,"schema":{"type":"string"}},"rowFilter.organizations.ical_export_secret_no_details":{"description":"Secret used to generate iCal feed URLs without booking details","in":"query","name":"ical_export_secret_no_details","required":false,"schema":{"type":"string"}},"rowFilter.organizations.mollie_profile_id":{"description":"Identifier of the connected Mollie profile","in":"query","name":"mollie_profile_id","required":false,"schema":{"type":"string"}},"rowFilter.organizations.square_location_id":{"description":"Identifier of the connected Square location","in":"query","name":"square_location_id","required":false,"schema":{"type":"string"}},"rowFilter.organizations.clover_merchant_id":{"description":"Identifier of the connected Clover merchant","in":"query","name":"clover_merchant_id","required":false,"schema":{"type":"string"}},"rowFilter.organizations.company_name":{"description":"Company name of the organization, for invoices","in":"query","name":"company_name","required":false,"schema":{"type":"string"}},"rowFilter.organizations.country_code":{"description":"ISO 3166-1 alpha-2 country code of the organization, or empty","in":"query","name":"country_code","required":false,"schema":{"type":"string"}},"rowFilter.organizations.e_invoice_scheme":{"description":"Scheme of the organization's e-invoicing address, e.g. a Peppol scheme","in":"query","name":"e_invoice_scheme","required":false,"schema":{"type":"string"}},"rowFilter.organizations.e_invoice_address":{"description":"E-invoicing address of the organization","in":"query","name":"e_invoice_address","required":false,"schema":{"type":"string"}},"rowFilter.organizations.vat_number":{"description":"VAT number of the organization","in":"query","name":"vat_number","required":false,"schema":{"type":"string"}},"rowFilter.organizations.logo_size":{"description":"Size of the logo in pixels, or null for automatic","in":"query","name":"logo_size","required":false,"schema":{"type":"string"}},"rowFilter.organizations.sms_limit":{"description":"Maximum number of text messages the organization can send per day","in":"query","name":"sms_limit","required":false,"schema":{"type":"string"}},"rowFilter.organizations.buyer_label":{"description":"Localized label of the buyer details on invoices","in":"query","name":"buyer_label","required":false,"schema":{"type":"string"}},"rowFilter.organizations.seller_label":{"description":"Localized label of the seller details on invoices","in":"query","name":"seller_label","required":false,"schema":{"type":"string"}},"rowFilter.organizations.period":{"description":"Billing period of the subscription","in":"query","name":"period","required":false,"schema":{"type":"string"}},"rowFilter.reply_to_addresses.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.reply_to_addresses.organization_id":{"description":"Identifier of the organization this reply-to address is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.reply_to_addresses.email":{"description":"Email address replies are sent to","in":"query","name":"email","required":false,"schema":{"type":"string"}},"rowFilter.reply_to_addresses.name":{"description":"Display name of the reply-to address","in":"query","name":"name","required":false,"schema":{"type":"string"}},"rowFilter.product_reply_to_addresses.product_id":{"description":"Identifier of the related unit","in":"query","name":"product_id","required":false,"schema":{"type":"string"}},"rowFilter.product_reply_to_addresses.reply_to_address_id":{"description":"Identifier of the related reply-to address","in":"query","name":"reply_to_address_id","required":false,"schema":{"type":"string"}},"rowFilter.product_reply_to_addresses.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.product_reply_to_addresses.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.messages.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.messages.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.messages.html":{"description":"HTML of the email","in":"query","name":"html","required":false,"schema":{"type":"string"}},"rowFilter.messages.attachments":{"description":"Attachments included in the email","in":"query","name":"attachments","required":false,"schema":{"type":"string"}},"rowFilter.messages.status":{"description":"Status of the message","in":"query","name":"status","required":false,"schema":{"type":"string"}},"rowFilter.messages.send_at":{"description":"Timestamp at which the message is or was sent","in":"query","name":"send_at","required":false,"schema":{"type":"string"}},"rowFilter.messages.subject":{"description":"Subject of the email","in":"query","name":"subject","required":false,"schema":{"type":"string"}},"rowFilter.messages.body":{"description":"Body of the message","in":"query","name":"body","required":false,"schema":{"type":"string"}},"rowFilter.messages.include_booking_details":{"description":"Whether the message includes booking details","in":"query","name":"include_booking_details","required":false,"schema":{"type":"string"}},"rowFilter.messages.include_booking_link":{"description":"Whether the message includes a link to the guest page","in":"query","name":"include_booking_link","required":false,"schema":{"type":"string"}},"rowFilter.messages.include_ical_data":{"description":"Whether the email includes an iCal attachment","in":"query","name":"include_ical_data","required":false,"schema":{"type":"string"}},"rowFilter.messages.include_product_image":{"description":"Whether the email includes an image of the unit","in":"query","name":"include_product_image","required":false,"schema":{"type":"string"}},"rowFilter.messages.message_template_id":{"description":"Identifier of the message template the message is based on","in":"query","name":"message_template_id","required":false,"schema":{"type":"string"}},"rowFilter.messages.type":{"description":"Type of the message: `email` or `sms`","in":"query","name":"type","required":false,"schema":{"type":"string"}},"rowFilter.messages.booking_id":{"description":"Identifier of the related booking","in":"query","name":"booking_id","required":false,"schema":{"type":"string"}},"rowFilter.messages.include_transactions":{"description":"Whether the message includes the booking's transactions","in":"query","name":"include_transactions","required":false,"schema":{"type":"string"}},"rowFilter.attribute_options.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.attribute_options.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.attribute_options.attribute_id":{"description":"Identifier of the attribute this option is defined in","in":"query","name":"attribute_id","required":false,"schema":{"type":"string"}},"rowFilter.attribute_options.order":{"description":"Order of the option as displayed on widgets and websites","in":"query","name":"order","required":false,"schema":{"type":"string"}},"rowFilter.attribute_options.name":{"description":"Localized name of the option","in":"query","name":"name","required":false,"schema":{"type":"string"}},"rowFilter.widget_listings.widget_id":{"description":"Identifier of the related widget","in":"query","name":"widget_id","required":false,"schema":{"type":"string"}},"rowFilter.widget_listings.product_id":{"description":"Identifier of the related unit","in":"query","name":"product_id","required":false,"schema":{"type":"string"}},"rowFilter.widget_listings.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.widget_listings.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.widget_listings.order":{"description":"Order of the listing as displayed in the widget","in":"query","name":"order","required":false,"schema":{"type":"string"}},"rowFilter.widget_listings.url":{"description":"Localized URL of the listing. Only applies when `widgets.interaction` is `forward` or `forward-same-tab`","in":"query","name":"url","required":false,"schema":{"type":"string"}},"rowFilter.widget_listings.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.widget_analytics.widget_id":{"description":"Identifier of the viewed widget","in":"query","name":"widget_id","required":false,"schema":{"type":"string"}},"rowFilter.widget_analytics.date":{"description":"Date of the views","in":"query","name":"date","required":false,"schema":{"type":"string"}},"rowFilter.widget_analytics.organization_id":{"description":"Identifier of the organization the widget is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.widget_analytics.views":{"description":"Number of views on the date","in":"query","name":"views","required":false,"schema":{"type":"string"}},"rowFilter.organization_calendar_logs.id":{"in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.organization_calendar_logs.organization_id":{"description":"Identifier of the organization whose feed was read","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.organization_calendar_logs.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.organization_calendar_logs.referrer":{"description":"Referrer of the request","in":"query","name":"referrer","required":false,"schema":{"type":"string"}},"rowFilter.organization_calendar_logs.status":{"description":"Result of the request, e.g. `success`","in":"query","name":"status","required":false,"schema":{"type":"string"}},"rowFilter.organization_calendar_logs.params":{"description":"Params of the request","in":"query","name":"params","required":false,"schema":{"type":"string"}},"rowFilter.message_templates.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.message_templates.organization_id":{"description":"Identifier of the organization this message template is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.message_templates.trigger":{"description":"Trigger of the message template","in":"query","name":"trigger","required":false,"schema":{"type":"string"}},"rowFilter.message_templates.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.message_templates.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.message_templates.subject":{"description":"Localized subject of the email","in":"query","name":"subject","required":false,"schema":{"type":"string"}},"rowFilter.message_templates.body":{"description":"Localized body of the message","in":"query","name":"body","required":false,"schema":{"type":"string"}},"rowFilter.message_templates.attachments":{"description":"Attachments to include in the email","in":"query","name":"attachments","required":false,"schema":{"type":"string"}},"rowFilter.message_templates.fts":{"description":"Full text search index","in":"query","name":"fts","required":false,"schema":{"type":"string"}},"rowFilter.message_templates.include_booking_details":{"description":"Whether to include booking details in the message","in":"query","name":"include_booking_details","required":false,"schema":{"type":"string"}},"rowFilter.message_templates.include_booking_link":{"description":"Whether to include a link to the guest page in the message","in":"query","name":"include_booking_link","required":false,"schema":{"type":"string"}},"rowFilter.message_templates.include_ical_data":{"description":"Whether to include an iCal attachment in the email","in":"query","name":"include_ical_data","required":false,"schema":{"type":"string"}},"rowFilter.message_templates.include_product_image":{"description":"Whether to include an image of the unit in the email","in":"query","name":"include_product_image","required":false,"schema":{"type":"string"}},"rowFilter.message_templates.moment":{"description":"Moment at which the message is sent","in":"query","name":"moment","required":false,"schema":{"type":"string"}},"rowFilter.message_templates.status":{"description":"Whether messages are scheduled for pending and confirmed events, or for confirmed events only","in":"query","name":"status","required":false,"schema":{"type":"string"}},"rowFilter.message_templates.type":{"description":"Type of the message: `email` or `sms`","in":"query","name":"type","required":false,"schema":{"type":"string"}},"rowFilter.message_templates.past_schedule_behavior":{"description":"What happens when a message is created with a moment in the past","in":"query","name":"past_schedule_behavior","required":false,"schema":{"type":"string"}},"rowFilter.message_templates.time":{"description":"Time of day at which the message is sent","in":"query","name":"time","required":false,"schema":{"type":"string"}},"rowFilter.message_templates.include_transactions":{"description":"Whether to include the booking's transactions in the message","in":"query","name":"include_transactions","required":false,"schema":{"type":"string"}},"rowFilter.booking_details.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.booking_details.service_id":{"description":"Identifier of the related service","in":"query","name":"service_id","required":false,"schema":{"type":"string"}},"rowFilter.booking_details.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.booking_details.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.booking_details.value":{"description":"Value filled in by the guest","in":"query","name":"value","required":false,"schema":{"type":"string"}},"rowFilter.booking_details.booking_id":{"description":"Identifier of the related booking","in":"query","name":"booking_id","required":false,"schema":{"type":"string"}},"rowFilter.booking_details.name":{"description":"Localized name of the form field","in":"query","name":"name","required":false,"schema":{"type":"string"}},"rowFilter.booking_details.option_id":{"description":"Identifier of the selected option","in":"query","name":"option_id","required":false,"schema":{"type":"string"}},"rowFilter.booking_details.description":{"description":"Localized description of the form field","in":"query","name":"description","required":false,"schema":{"type":"string"}},"rowFilter.booking_details.attachment":{"description":"URL of the file the guest uploaded","in":"query","name":"attachment","required":false,"schema":{"type":"string"}},"rowFilter.booking_details.calendar_event_id":{"description":"Identifier of the related calendar event","in":"query","name":"calendar_event_id","required":false,"schema":{"type":"string"}},"rowFilter.product_services.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.product_services.product_id":{"description":"Identifier of the related unit","in":"query","name":"product_id","required":false,"schema":{"type":"string"}},"rowFilter.product_services.service_id":{"description":"Identifier of the related service","in":"query","name":"service_id","required":false,"schema":{"type":"string"}},"rowFilter.product_services.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.product_services.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.product_services.order":{"description":"Order of the service in the booking form of the unit","in":"query","name":"order","required":false,"schema":{"type":"string"}},"rowFilter.coupon_products.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.coupon_products.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.coupon_products.coupon_id":{"description":"Identifier of the related coupon","in":"query","name":"coupon_id","required":false,"schema":{"type":"string"}},"rowFilter.coupon_products.product_id":{"description":"Identifier of the related unit","in":"query","name":"product_id","required":false,"schema":{"type":"string"}},"rowFilter.task_template_assignees.task_template_id":{"description":"Identifier of the related task template","in":"query","name":"task_template_id","required":false,"schema":{"type":"string"}},"rowFilter.task_template_assignees.member_id":{"description":"Identifier of the assigned member","in":"query","name":"member_id","required":false,"schema":{"type":"string"}},"rowFilter.task_template_assignees.id":{"in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.task_template_assignees.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.members.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.members.organization_id":{"description":"Identifier of the organization this member is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.members.user_id":{"description":"Identifier of the related user","in":"query","name":"user_id","required":false,"schema":{"type":"string"}},"rowFilter.members.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.members.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.members.role":{"description":"Role of the member","in":"query","name":"role","required":false,"schema":{"type":"string"}},"rowFilter.pricing_widgets.id":{"in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.pricing_widgets.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.pricing_widgets.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.pricing_widgets.color_background":{"description":"Background color of the widget","in":"query","name":"color_background","required":false,"schema":{"type":"string"}},"rowFilter.pricing_widgets.color_text":{"description":"Text color of the widget","in":"query","name":"color_text","required":false,"schema":{"type":"string"}},"rowFilter.pricing_widgets.color_primary":{"description":"Primary color of the widget","in":"query","name":"color_primary","required":false,"schema":{"type":"string"}},"rowFilter.pricing_widgets.product_id":{"description":"Identifier of the unit whose prices the widget shows","in":"query","name":"product_id","required":false,"schema":{"type":"string"}},"rowFilter.pricing_widgets.organization_id":{"description":"Identifier of the organization this widget is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.pricing_widgets.title":{"description":"Title of the widget","in":"query","name":"title","required":false,"schema":{"type":"string"}},"rowFilter.pricing_widgets.font":{"description":"Font of the widget","in":"query","name":"font","required":false,"schema":{"type":"string"}},"rowFilter.pricing_widgets.show_branding":{"description":"Whether to show the Bookingmood branding","in":"query","name":"show_branding","required":false,"schema":{"type":"string"}},"rowFilter.pricing_widgets.language":{"description":"Language of the widget","in":"query","name":"language","required":false,"schema":{"type":"string"}},"rowFilter.pricing_widgets.fts":{"in":"query","name":"fts","required":false,"schema":{"type":"string"}},"rowFilter.line_items.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.line_items.booking_id":{"description":"Identifier of the related booking","in":"query","name":"booking_id","required":false,"schema":{"type":"string"}},"rowFilter.line_items.amount":{"description":"Amount of the line item, in cents","in":"query","name":"amount","required":false,"schema":{"type":"string"}},"rowFilter.line_items.quantity":{"description":"Quantity of the line item","in":"query","name":"quantity","required":false,"schema":{"type":"string"}},"rowFilter.line_items.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.line_items.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.line_items.item_type":{"description":"Type of the line item, most commonly `fee`","in":"query","name":"item_type","required":false,"schema":{"type":"string"}},"rowFilter.line_items.fee_type":{"description":"Type of the fee: `fee` or `deposit`","in":"query","name":"fee_type","required":false,"schema":{"type":"string"}},"rowFilter.line_items.service_id":{"description":"Identifier of the related service","in":"query","name":"service_id","required":false,"schema":{"type":"string"}},"rowFilter.line_items.invoice_id":{"description":"Identifier of the related invoice","in":"query","name":"invoice_id","required":false,"schema":{"type":"string"}},"rowFilter.line_items.name":{"description":"Localized name of the line item","in":"query","name":"name","required":false,"schema":{"type":"string"}},"rowFilter.line_items.event_id":{"description":"Identifier of the related calendar event","in":"query","name":"event_id","required":false,"schema":{"type":"string"}},"rowFilter.line_items.manual":{"description":"Whether the line item was added manually","in":"query","name":"manual","required":false,"schema":{"type":"string"}},"rowFilter.reviews.id":{"in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.reviews.booking_id":{"description":"Identifier of the reviewed booking","in":"query","name":"booking_id","required":false,"schema":{"type":"string"}},"rowFilter.reviews.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.reviews.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.reviews.author_name":{"description":"Name of the author","in":"query","name":"author_name","required":false,"schema":{"type":"string"}},"rowFilter.reviews.author_avatar":{"description":"URL of the author's avatar image","in":"query","name":"author_avatar","required":false,"schema":{"type":"string"}},"rowFilter.reviews.content":{"description":"Localized text of the review","in":"query","name":"content","required":false,"schema":{"type":"string"}},"rowFilter.reviews.rating":{"description":"Rating given by the author","in":"query","name":"rating","required":false,"schema":{"type":"string"}},"rowFilter.reviews.status":{"description":"Moderation status: `pending`, `approved` or `rejected`. Review widgets only show approved reviews","in":"query","name":"status","required":false,"schema":{"type":"string"}},"rowFilter.reviews.source":{"description":"Where the review comes from","in":"query","name":"source","required":false,"schema":{"type":"string"}},"rowFilter.reviews.source_url":{"description":"URL of the review on its source","in":"query","name":"source_url","required":false,"schema":{"type":"string"}},"rowFilter.reviews.source_id":{"description":"Identifier of the review on its source","in":"query","name":"source_id","required":false,"schema":{"type":"string"}},"rowFilter.reviews.organization_id":{"description":"Identifier of the organization this review is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.reviews.fts":{"in":"query","name":"fts","required":false,"schema":{"type":"string"}},"rowFilter.paddle_subscriptions.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.paddle_subscriptions.plan_id":{"description":"Identifier of the plan in Paddle","in":"query","name":"plan_id","required":false,"schema":{"type":"string"}},"rowFilter.paddle_subscriptions.state":{"description":"Activation state of the subscription","in":"query","name":"state","required":false,"schema":{"type":"string"}},"rowFilter.paddle_subscriptions.version":{"description":"Version of Paddle the subscription is active on","in":"query","name":"version","required":false,"schema":{"type":"string"}},"rowFilter.paddle_subscriptions.currency":{"description":"Currency the subscription is paid in","in":"query","name":"currency","required":false,"schema":{"type":"string"}},"rowFilter.paddle_subscriptions.organization_id":{"description":"Identifier of the organization this subscription is for","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.paddle_subscriptions.renews_at":{"description":"Timestamp at which the subscription renews","in":"query","name":"renews_at","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.product_id":{"description":"Identifier of the related unit","in":"query","name":"product_id","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.notes":{"description":"Private notes about the event","in":"query","name":"notes","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.calendar_id":{"description":"Identifier of the external calendar the event is imported from","in":"query","name":"calendar_id","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.type":{"description":"Type of the event","in":"query","name":"type","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.uid":{"description":"Identifier of the event in the external calendar","in":"query","name":"uid","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.title":{"description":"Title of the event","in":"query","name":"title","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.status":{"description":"Status of the event","in":"query","name":"status","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.creator_id":{"description":"Identifier of the user that created the event","in":"query","name":"creator_id","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.origin":{"description":"Origin of the event","in":"query","name":"origin","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.generated_title":{"description":"Title of the event, generated from the unit name and the guest name","in":"query","name":"generated_title","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.booking_id":{"description":"Identifier of the related booking","in":"query","name":"booking_id","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.padding":{"description":"Padding of the event due to cooldown time","in":"query","name":"padding","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.start_date":{"description":"Start date of the event","in":"query","name":"start_date","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.end_date":{"description":"End date of the event","in":"query","name":"end_date","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.organization_id":{"description":"Identifier of the organization this event is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.duration":{"description":"Number of nights of the event, or days for units rented per day","in":"query","name":"duration","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.fts":{"description":"Text search index","in":"query","name":"fts","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.has_open_payments":{"description":"Whether the booking of the event has payments that are due","in":"query","name":"has_open_payments","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.has_non_invoiced_items":{"description":"Whether the booking of the event has line items that are not on an invoice","in":"query","name":"has_non_invoiced_items","required":false,"schema":{"type":"string"}},"rowFilter.calendar_events.occupancy":{"description":"Occupancy per capacity group","in":"query","name":"occupancy","required":false,"schema":{"type":"string"}},"rowFilter.seasons.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.seasons.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.seasons.updated_at":{"description":"Last modification timestamp","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.seasons.organization_id":{"description":"Identifier of the organization this season is defined in","in":"query","name":"organization_id","required":false,"schema":{"type":"string"}},"rowFilter.seasons.name":{"description":"Localized name of the season","in":"query","name":"name","required":false,"schema":{"type":"string"}},"rowFilter.seasons.value":{"description":"Intervals defining the season","in":"query","name":"value","required":false,"schema":{"type":"string"}},"rowFilter.external_calendars.id":{"description":"Unique identifier","in":"query","name":"id","required":false,"schema":{"type":"string"}},"rowFilter.external_calendars.product_id":{"description":"Identifier of the related unit","in":"query","name":"product_id","required":false,"schema":{"type":"string"}},"rowFilter.external_calendars.name":{"description":"Name of the calendar","in":"query","name":"name","required":false,"schema":{"type":"string"}},"rowFilter.external_calendars.ical_url":{"description":"URL of the iCal feed","in":"query","name":"ical_url","required":false,"schema":{"type":"string"}},"rowFilter.external_calendars.last_synced":{"description":"Timestamp at which the calendar was last synced","in":"query","name":"last_synced","required":false,"schema":{"type":"string"}},"rowFilter.external_calendars.created_at":{"description":"Creation timestamp","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},"rowFilter.external_calendars.updated_at":{"description":"Timestamp at which the calendar last received new events","in":"query","name":"updated_at","required":false,"schema":{"type":"string"}},"rowFilter.external_calendars.sync_requested_at":{"description":"Timestamp at which a sync was last requested","in":"query","name":"sync_requested_at","required":false,"schema":{"type":"string"}},"rowFilter.external_calendars.error":{"description":"Error message if the calendar could not be synced","in":"query","name":"error","required":false,"schema":{"type":"string"}},"rowFilter.external_calendars.time_offset":{"description":"Time offset of the calendar in hours","in":"query","name":"time_offset","required":false,"schema":{"type":"string"}},"rowFilter.external_calendars.tld":{"description":"Top-level domain of the iCal feed URL","in":"query","name":"tld","required":false,"schema":{"type":"string"}},"rowFilter.external_calendars.event_status_sync":{"description":"How to treat incoming events","in":"query","name":"event_status_sync","required":false,"schema":{"type":"string"}},"rowFilter.external_calendars.deactivated_at":{"description":"Timestamp at which the import was deactivated","in":"query","name":"deactivated_at","required":false,"schema":{"type":"string"}},"rowFilter.external_calendars.active":{"description":"Whether the calendar is synced, i.e. it is not deactivated","in":"query","name":"active","required":false,"schema":{"type":"string"}}},"requestBodies":{"body.coupon_services":{"description":"coupon_services","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/coupon_services"}}}},"body.payments":{"description":"payments","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/payments"}}}},"body.site_pages":{"description":"site_pages","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/site_pages"}}}},"body.capacity_groups":{"description":"capacity_groups","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/capacity_groups"}}}},"body.contacts":{"description":"contacts","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/contacts"}}}},"body.coupon_uses":{"description":"coupon_uses","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/coupon_uses"}}}},"body.task_templates":{"description":"task_templates","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/task_templates"}}}},"body.review_widget_listings":{"description":"review_widget_listings","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/review_widget_listings"}}}},"body.line_item_taxes":{"description":"line_item_taxes","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/line_item_taxes"}}}},"body.capacity_group_dependencies":{"description":"capacity_group_dependencies","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/capacity_group_dependencies"}}}},"body.tasks":{"description":"tasks","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/tasks"}}}},"body.widgets":{"description":"widgets","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/widgets"}}}},"body.site_nav_items":{"description":"site_nav_items","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/site_nav_items"}}}},"body.services":{"description":"services","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/services"}}}},"body.site_listings":{"description":"site_listings","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/site_listings"}}}},"body.bookings":{"description":"bookings","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bookings"}}}},"body.attributes":{"description":"attributes","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/attributes"}}}},"body.product_message_templates":{"description":"product_message_templates","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/product_message_templates"}}}},"body.refunds":{"description":"refunds","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/refunds"}}}},"body.review_widgets":{"description":"review_widgets","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/review_widgets"}}}},"body.products":{"description":"products","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/products"}}}},"body.taxes":{"description":"taxes","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/taxes"}}}},"body.permissions":{"description":"permissions","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/permissions"}}}},"body.capacities":{"description":"capacities","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/capacities"}}}},"body.contact_bookings":{"description":"contact_bookings","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/contact_bookings"}}}},"body.price_calendar_entries":{"description":"price_calendar_entries","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/price_calendar_entries"}}}},"body.sites":{"description":"sites","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/sites"}}}},"body.invoices":{"description":"invoices","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoices"}}}},"body.task_assignees":{"description":"task_assignees","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/task_assignees"}}}},"body.product_attribute_options":{"description":"product_attribute_options","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/product_attribute_options"}}}},"body.coupons":{"description":"coupons","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/coupons"}}}},"body.calendar_event_notes":{"description":"calendar_event_notes","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/calendar_event_notes"}}}},"body.webhooks":{"description":"webhooks","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/webhooks"}}}},"body.review_products":{"description":"review_products","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/review_products"}}}},"body.reply_to_addresses":{"description":"reply_to_addresses","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/reply_to_addresses"}}}},"body.product_reply_to_addresses":{"description":"product_reply_to_addresses","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/product_reply_to_addresses"}}}},"body.attribute_options":{"description":"attribute_options","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/attribute_options"}}}},"body.widget_listings":{"description":"widget_listings","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/widget_listings"}}}},"body.message_templates":{"description":"message_templates","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/message_templates"}}}},"body.booking_details":{"description":"booking_details","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/booking_details"}}}},"body.product_services":{"description":"product_services","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/product_services"}}}},"body.coupon_products":{"description":"coupon_products","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/coupon_products"}}}},"body.task_template_assignees":{"description":"task_template_assignees","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/task_template_assignees"}}}},"body.pricing_widgets":{"description":"pricing_widgets","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pricing_widgets"}}}},"body.line_items":{"description":"line_items","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/line_items"}}}},"body.reviews":{"description":"reviews","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/reviews"}}}},"body.calendar_events":{"description":"calendar_events","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/calendar_events"}}}},"body.seasons":{"description":"seasons","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seasons"}}}},"body.external_calendars":{"description":"external_calendars","required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/external_calendars"}}}}},"schemas":{"api_requests":{"required":["id","api_key_id","created_at","endpoint","method","search","created_on","status"],"properties":{"id":{"format":"integer","type":"integer","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"api_key_id":{"format":"uuid","type":"string","description":"Identifier of the API key used for the request\n\nNote:\nThis is a Foreign Key to `api_keys.id`.<fk table='api_keys' column='id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"endpoint":{"format":"text","type":"string","description":"Endpoint of the request"},"method":{"format":"text","type":"string","description":"HTTP method of the request"},"search":{"format":"text","type":"string","description":"Search params of the request"},"created_on":{"default":"CURRENT_DATE","format":"date","type":"string","description":"Creation date"},"status":{"format":"smallint","type":"integer","description":"HTTP status code of the response"}},"type":"object","description":"Requests made with the organization's API keys"},"attribute_options":{"required":["id","created_at","attribute_id","order","name"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"attribute_id":{"format":"uuid","type":"string","description":"Identifier of the attribute this option is defined in\n\nNote:\nThis is a Foreign Key to `attributes.id`.<fk table='attributes' column='id'/>"},"order":{"default":1,"format":"integer","type":"integer","description":"Order of the option as displayed on widgets and websites"},"name":{"format":"jsonb","description":"Localized name of the option"}},"type":"object","description":"Possible options per attribute"},"attributes":{"required":["id","created_at","order","name","type","organization_id"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"order":{"default":1,"format":"integer","type":"integer","description":"Order of the attribute as displayed on widgets and websites"},"name":{"format":"jsonb","description":"Localized name of the attribute"},"type":{"enum":["single-select","multi-select"],"format":"public.attribute_type","type":"string","description":"Type of the attribute: `single-select` or `multi-select`"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this attribute is defined in\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"}},"type":"object","description":"Attributes to segment and filter units by"},"booking_details":{"required":["id","created_at","updated_at","booking_id","name","description"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"service_id":{"format":"uuid","type":"string","description":"Identifier of the related service\n\nNote:\nThis is a Foreign Key to `services.id`.<fk table='services' column='id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"value":{"format":"text","type":"string","description":"Value filled in by the guest"},"booking_id":{"format":"uuid","type":"string","description":"Identifier of the related booking\n\nNote:\nThis is a Foreign Key to `bookings.id`.<fk table='bookings' column='id'/>"},"name":{"format":"jsonb","description":"Localized name of the form field"},"option_id":{"format":"uuid","type":"string","description":"Identifier of the selected option\n\nNote:\nThis is a Foreign Key to `services.id`.<fk table='services' column='id'/>"},"description":{"format":"jsonb","description":"Localized description of the form field"},"attachment":{"format":"text","type":"string","description":"URL of the file the guest uploaded"},"calendar_event_id":{"format":"uuid","type":"string","description":"Identifier of the related calendar event\n\nNote:\nThis is a Foreign Key to `calendar_events.id`.<fk table='calendar_events' column='id'/>"}},"type":"object","description":"Details guests filled in on the booking form"},"booking_updates":{"required":["id","created_at","booking_id"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"booking_id":{"format":"uuid","type":"string","description":"Identifier of the related booking\n\nNote:\nThis is a Foreign Key to `bookings.id`.<fk table='bookings' column='id'/>"},"user_id":{"default":"auth.uid()","format":"uuid","type":"string","description":"Identifier of the user that made the update"}},"type":"object","description":"Logs of each time a booking is updated"},"bookings":{"required":["id","created_at","updated_at","currency","display_currency","exchange_rate","silent","method","organization_id","reference","secret","fts"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"widget_id":{"format":"uuid","type":"string","description":"Identifier of the widget the booking was made in\n\nNote:\nThis is a Foreign Key to `widgets.id`.<fk table='widgets' column='id'/>"},"currency":{"enum":["ARS","AUD","BRL","BYN","CAD","CHF","CLP","CNY","COP","CZK","DKK","EGP","EUR","GBP","HKD","HUF","ILS","INR","JPY","KRW","KYD","MAD","MXN","MYR","NGN","NOK","NZD","PEN","PHP","PLN","RON","RUB","SEK","SGD","THB","TRY","TWD","UAH","USD","VND","XOF","ZAR"],"format":"public.currency","type":"string","description":"Base currency of the booking"},"display_currency":{"enum":["ARS","AUD","BRL","BYN","CAD","CHF","CLP","CNY","COP","CZK","DKK","EGP","EUR","GBP","HKD","HUF","ILS","INR","JPY","KRW","KYD","MAD","MXN","MYR","NGN","NOK","NZD","PEN","PHP","PLN","RON","RUB","SEK","SGD","THB","TRY","TWD","UAH","USD","VND","XOF","ZAR"],"format":"public.currency","type":"string","description":"Currency used to display prices to the guest"},"exchange_rate":{"format":"real","type":"number","description":"Exchange rate used to convert the booking currency to the display currency"},"silent":{"default":false,"format":"boolean","type":"boolean","description":"Whether the booking was made without automatically sending a confirmation email"},"method":{"default":"request","enum":["book","request"],"format":"public.booking_method","type":"string","description":"Method used to make the booking: `request` or `book`"},"site_id":{"format":"uuid","type":"string","description":"Identifier of the site the booking was made on\n\nNote:\nThis is a Foreign Key to `sites.id`.<fk table='sites' column='id'/>"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this booking is defined in\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"confirmed_at":{"format":"timestamp with time zone","type":"string","description":"Timestamp at which the booking was confirmed"},"reference":{"default":"","format":"text","type":"string","description":"Publicly visible reference of the booking"},"secret":{"default":"extensions.uuid_generate_v4()","format":"text","type":"string","description":"Secret reference of the booking"},"fts":{"format":"tsvector","type":"string","readOnly":true},"creator_id":{"default":"auth.uid()","format":"uuid","type":"string","description":"Identifier of the user that created the booking"}},"type":"object","description":"Bookings, grouping the calendar events, invoices and payments of a guest's stay"},"calendar_event_notes":{"required":["id","calendar_event_id","note","created_at","updated_at"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"calendar_event_id":{"format":"uuid","type":"string","description":"Identifier of the related calendar event\n\nNote:\nThis is a Foreign Key to `calendar_events.id`.<fk table='calendar_events' column='id'/>"},"author_id":{"default":"auth.uid()","format":"uuid","type":"string","description":"Identifier of the user that created the note\n\nNote:\nThis is a Foreign Key to `user_profiles.user_id`.<fk table='user_profiles' column='user_id'/>"},"note":{"format":"text","type":"string","description":"Content of the note"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"}},"type":"object","description":"Private notes about calendar events"},"calendar_event_updates":{"required":["id","calendar_event_id","created_at","prev_status","next_status","prev_product_id","next_product_id","prev_interval","next_interval"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"calendar_event_id":{"format":"uuid","type":"string","description":"Identifier of the related calendar event\n\nNote:\nThis is a Foreign Key to `calendar_events.id`.<fk table='calendar_events' column='id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"prev_status":{"enum":["CANCELLED","TENTATIVE","CONFIRMED"],"format":"public.calendar_event_status","type":"string","description":"Status of the event before the update"},"next_status":{"enum":["CANCELLED","TENTATIVE","CONFIRMED"],"format":"public.calendar_event_status","type":"string","description":"Status of the event after the update"},"prev_product_id":{"format":"uuid","type":"string","description":"Identifier of the unit of the event before the update\n\nNote:\nThis is a Foreign Key to `products.id`.<fk table='products' column='id'/>"},"next_product_id":{"format":"uuid","type":"string","description":"Identifier of the unit of the event after the update\n\nNote:\nThis is a Foreign Key to `products.id`.<fk table='products' column='id'/>"},"user_id":{"default":"auth.uid()","format":"uuid","type":"string","description":"Identifier of the user or system that made the update"},"prev_interval":{"format":"daterange","type":"string","description":"Interval of the event before the update"},"next_interval":{"format":"daterange","type":"string","description":"Interval of the event after the update"}},"type":"object","description":"Snapshots of each time a calendar event is updated"},"calendar_events":{"required":["id","product_id","notes","created_at","updated_at","type","uid","title","status","generated_title","padding","start_date","end_date","organization_id","duration","fts","has_open_payments","has_non_invoiced_items","occupancy"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"product_id":{"format":"uuid","type":"string","description":"Identifier of the related unit\n\nNote:\nThis is a Foreign Key to `products.id`.<fk table='products' column='id'/>"},"notes":{"default":"","format":"text","type":"string","description":"Private notes about the event"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"calendar_id":{"format":"uuid","type":"string","description":"Identifier of the external calendar the event is imported from\n\nNote:\nThis is a Foreign Key to `external_calendars.id`.<fk table='external_calendars' column='id'/>"},"type":{"enum":["booking","note","blocked-period"],"format":"public.calendar_event_type","type":"string","description":"Type of the event"},"uid":{"format":"text","type":"string","description":"Identifier of the event in the external calendar"},"title":{"default":"","format":"text","type":"string","description":"Title of the event"},"status":{"default":"CONFIRMED","enum":["CANCELLED","TENTATIVE","CONFIRMED"],"format":"public.calendar_event_status","type":"string","description":"Status of the event"},"creator_id":{"default":"auth.uid()","format":"uuid","type":"string","description":"Identifier of the user that created the event\n\nNote:\nThis is a Foreign Key to `user_profiles.user_id`.<fk table='user_profiles' column='user_id'/>"},"origin":{"format":"text","type":"string","description":"Origin of the event"},"generated_title":{"default":"","format":"text","type":"string","description":"Title of the event, generated from the unit name and the guest name"},"booking_id":{"format":"uuid","type":"string","description":"Identifier of the related booking\n\nNote:\nThis is a Foreign Key to `bookings.id`.<fk table='bookings' column='id'/>"},"padding":{"default":0,"format":"smallint","type":"integer","description":"Padding of the event due to cooldown time"},"start_date":{"default":"CURRENT_DATE","format":"date","type":"string","description":"Start date of the event"},"end_date":{"default":"CURRENT_DATE","format":"date","type":"string","description":"End date of the event"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this event is defined in\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"duration":{"format":"integer","type":"integer","readOnly":true,"description":"Number of nights of the event, or days for units rented per day"},"fts":{"default":"","format":"tsvector","type":"string"},"has_open_payments":{"default":false,"format":"boolean","type":"boolean","description":"Whether the booking of the event has payments that are due"},"has_non_invoiced_items":{"default":false,"format":"boolean","type":"boolean","description":"Whether the booking of the event has line items that are not on an invoice"},"occupancy":{"format":"jsonb","description":"Occupancy per capacity group"}},"type":"object","description":"Events on the timeline: bookings, blocked periods or notes"},"capacities":{"required":["id","created_at","updated_at","product_id","capacity_group_id","min","max"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"product_id":{"format":"uuid","type":"string","description":"Identifier of the related unit\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `products.id`.<fk table='products' column='id'/>"},"capacity_group_id":{"format":"uuid","type":"string","description":"Identifier of the related capacity group\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `capacity_groups.id`.<fk table='capacity_groups' column='id'/>"},"min":{"default":0,"format":"integer","type":"integer","description":"Minimum allowed occupancy"},"max":{"default":1,"format":"integer","type":"integer","description":"Maximum allowed occupancy"}},"type":"object","description":"Occupancy limits per unit per capacity group"},"capacity_group_dependencies":{"required":["id","created_at","accumulator_id","element_id"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"accumulator_id":{"format":"uuid","type":"string","description":"Identifier of the accumulating capacity group\n\nNote:\nThis is a Foreign Key to `capacity_groups.id`.<fk table='capacity_groups' column='id'/>"},"element_id":{"format":"uuid","type":"string","description":"Identifier of the accumulated capacity group\n\nNote:\nThis is a Foreign Key to `capacity_groups.id`.<fk table='capacity_groups' column='id'/>"}},"type":"object","description":"Dependencies between capacity groups. When booking, the value of the group referenced by `accumulator_id` is set to the sum of the groups referenced by `element_id`"},"capacity_groups":{"required":["id","created_at","updated_at","organization_id","name","description","order","type","name_singular","requires_explicit_input"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this capacity group is defined in\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"name":{"format":"jsonb","description":"Localized name of the capacity group"},"description":{"format":"jsonb","description":"Localized description of the capacity group"},"order":{"default":1,"format":"integer","type":"integer","description":"Order of the capacity group as displayed on widgets and websites"},"type":{"default":"manual","enum":["manual","sum"],"format":"public.occupancy_group_type","type":"string","description":"Type of the capacity group"},"name_singular":{"format":"jsonb","description":"Localized singular name of the capacity group"},"requires_explicit_input":{"default":false,"format":"boolean","type":"boolean","description":"Whether guests need to explicitly fill in the capacity before booking"}},"type":"object","description":"Groups that can occupy units, such as adults, children or pets. Useful for separate prices and limits per group"},"contact_bookings":{"required":["contact_id","booking_id","created_at","id"],"properties":{"contact_id":{"format":"uuid","type":"string","description":"Identifier of the related contact\n\nNote:\nThis is a Foreign Key to `contacts.id`.<fk table='contacts' column='id'/>"},"booking_id":{"format":"uuid","type":"string","description":"Identifier of the related booking\n\nNote:\nThis is a Foreign Key to `bookings.id`.<fk table='bookings' column='id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"}},"type":"object","description":"Link between contacts and bookings"},"contacts":{"required":["id","email","phone","created_at","updated_at","organization_id","first_name","last_name","street","street2","zip","city","province","state","country","name","fts","notes","meta","company_name","country_code","e_invoice_scheme","e_invoice_address","sms_opt_in","address"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"avatar":{"format":"text","type":"string","description":"URL of the avatar image"},"email":{"default":"","format":"text","type":"string","description":"Email address of the contact"},"phone":{"default":"","format":"text","type":"string","description":"Phone number of the contact"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this contact is defined in\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"language":{"enum":["be-BY","bg-BG","cs-CZ","da-DK","de-DE","en-GB","en-NZ","en-US","es-ES","eu-ES","fr-FR","gr-EL","he-IL","hr-HR","hu-HU","it-IT","ja-JP","lt-LT","lv-LV","nl-NL","nn-NO","pl-PL","pt-BR","ro-RO","ru-RU","sk-SK","sl-SI","sr-Cyrl","sr-Latn","sv-SE","tr-TR","uk-UA"],"format":"public.language","type":"string","description":"Language of the contact"},"creator_id":{"default":"auth.uid()","format":"uuid","type":"string","description":"Identifier of the user that created the contact\n\nNote:\nThis is a Foreign Key to `user_profiles.user_id`.<fk table='user_profiles' column='user_id'/>"},"first_name":{"default":"","format":"text","type":"string","description":"First name of the contact"},"last_name":{"default":"","format":"text","type":"string","description":"Last name of the contact"},"street":{"default":"","format":"text","type":"string","description":"Street address of the contact"},"street2":{"default":"","format":"text","type":"string","description":"Second line of the street address of the contact"},"zip":{"default":"","format":"text","type":"string","description":"Postal code of the contact"},"city":{"default":"","format":"text","type":"string","description":"City of the contact"},"province":{"default":"","format":"text","type":"string","description":"Province of the contact"},"state":{"default":"","format":"text","type":"string","description":"State of the contact"},"country":{"default":"","format":"text","type":"string","description":"Country of the contact"},"name":{"format":"text","type":"string","readOnly":true,"description":"Full name of the contact"},"fts":{"format":"tsvector","type":"string","readOnly":true,"description":"Full text search index"},"notes":{"default":"","format":"text","type":"string","description":"Private notes about the contact"},"meta":{"format":"jsonb","description":"Metadata of the contact"},"company_name":{"default":"","format":"text","type":"string","description":"Company name of the contact, for invoices"},"country_code":{"default":"","format":"text","type":"string","description":"ISO 3166-1 alpha-2 country code of the contact, or empty"},"e_invoice_scheme":{"default":"","format":"text","type":"string","description":"Scheme of the contact's e-invoicing address, e.g. a Peppol scheme"},"e_invoice_address":{"default":"","format":"text","type":"string","description":"E-invoicing address of the contact"},"sms_opt_in":{"default":true,"format":"boolean","type":"boolean","description":"Whether the contact agreed to receive text messages"},"address":{"format":"text","type":"string","readOnly":true,"description":"Address of the contact, as a single line"}},"type":"object","description":"Guests and other contacts of the organization"},"coupon_products":{"required":["id","created_at","coupon_id","product_id"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"coupon_id":{"format":"uuid","type":"string","description":"Identifier of the related coupon\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `coupons.id`.<fk table='coupons' column='id'/>"},"product_id":{"format":"uuid","type":"string","description":"Identifier of the related unit\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `products.id`.<fk table='products' column='id'/>"}},"type":"object","description":"Units a coupon applies to. Only checked when `coupons.scope` is `rent` or `product`"},"coupon_services":{"required":["id","created_at","coupon_id","service_id"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"coupon_id":{"format":"uuid","type":"string","description":"Identifier of the related coupon\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `coupons.id`.<fk table='coupons' column='id'/>"},"service_id":{"format":"uuid","type":"string","description":"Identifier of the related service\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `services.id`.<fk table='services' column='id'/>"}},"type":"object","description":"Services a coupon applies to. Only checked when `coupons.scope` is `service`"},"coupon_uses":{"required":["id","created_at","coupon_id","booking_id"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"coupon_id":{"format":"uuid","type":"string","description":"Identifier of the used coupon\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `coupons.id`.<fk table='coupons' column='id'/>"},"booking_id":{"format":"uuid","type":"string","description":"Identifier of the booking the coupon is used in\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `bookings.id`.<fk table='bookings' column='id'/>"}},"type":"object","description":"Coupons used in bookings"},"coupons":{"required":["id","created_at","updated_at","organization_id","code","description","definition","scope","fts","stackable"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this coupon is defined in\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"code":{"format":"text","type":"string","description":"Code guests enter to use the coupon"},"description":{"default":"","format":"text","type":"string","description":"Description of the coupon"},"quota":{"format":"integer","type":"integer","description":"Maximum number of times the coupon can be used"},"definition":{"format":"jsonb","description":"Definition of the coupon"},"scope":{"default":"global","enum":["global","product","service","rent"],"format":"public.coupon_scope","type":"string","description":"Scope of the coupon"},"deleted_at":{"format":"timestamp with time zone","type":"string","description":"Timestamp at which the coupon was deleted"},"fts":{"format":"tsvector","type":"string","readOnly":true,"description":"Full text search index"},"stackable":{"default":true,"format":"boolean","type":"boolean","description":"Whether the coupon can be used together with other coupons in one booking"}},"type":"object","description":"Codes guests can enter for additional discounts"},"external_calendars":{"required":["id","product_id","name","ical_url","created_at","sync_requested_at","time_offset","tld","event_status_sync","active"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"product_id":{"format":"uuid","type":"string","description":"Identifier of the related unit\n\nNote:\nThis is a Foreign Key to `products.id`.<fk table='products' column='id'/>"},"name":{"default":"Nameless iCal import","format":"text","type":"string","description":"Name of the calendar"},"ical_url":{"format":"text","type":"string","description":"URL of the iCal feed"},"last_synced":{"format":"timestamp with time zone","type":"string","description":"Timestamp at which the calendar was last synced"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"format":"timestamp with time zone","type":"string","readOnly":true,"description":"Timestamp at which the calendar last received new events"},"sync_requested_at":{"default":"2000-01-01 00:00:00+00","format":"timestamp with time zone","type":"string","description":"Timestamp at which a sync was last requested"},"error":{"format":"text","type":"string","description":"Error message if the calendar could not be synced"},"time_offset":{"default":0,"format":"integer","type":"integer","description":"Time offset of the calendar in hours"},"tld":{"default":"","format":"text","type":"string","description":"Top-level domain of the iCal feed URL"},"event_status_sync":{"default":"import","enum":["CONFIRMED","TENTATIVE","import"],"format":"public.event_status_sync","type":"string","description":"How to treat incoming events"},"deactivated_at":{"format":"timestamp with time zone","type":"string","description":"Timestamp at which the import was deactivated"},"active":{"format":"boolean","type":"boolean","readOnly":true,"description":"Whether the calendar is synced, i.e. it is not deactivated"}},"type":"object","description":"Imported iCal calendars, for syncing bookings with platforms like Airbnb or Booking.com"},"invoices":{"required":["id","created_at","organization_id","reference","updated_at","fts"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this invoice is defined in\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"reference":{"format":"text","type":"string","description":"Reference of the invoice"},"booking_id":{"format":"uuid","type":"string","description":"Identifier of the related booking\n\nNote:\nThis is a Foreign Key to `bookings.id`.<fk table='bookings' column='id'/>"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"fts":{"format":"tsvector","type":"string","readOnly":true},"attachment":{"format":"text","type":"string","description":"URL of a custom attachment"}},"type":"object","description":"Invoices for bookings"},"line_item_taxes":{"required":["id","line_item_id","amount","percentage","type","label"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"line_item_id":{"format":"uuid","type":"string","description":"Identifier of the related line item\n\nNote:\nThis is a Foreign Key to `line_items.id`.<fk table='line_items' column='id'/>"},"tax_id":{"format":"uuid","type":"string","description":"Identifier of the related tax\n\nNote:\nThis is a Foreign Key to `taxes.id`.<fk table='taxes' column='id'/>"},"amount":{"format":"integer","type":"integer","description":"Amount of the tax, in cents"},"percentage":{"format":"real","type":"number","description":"Percentage of the tax"},"type":{"default":"on-top","enum":["on-top","included"],"format":"public.tax_type","type":"string","description":"Type of the tax"},"label":{"format":"jsonb","description":"Localized label of the tax"}},"type":"object","description":"Taxes applying on line items"},"line_items":{"required":["id","booking_id","amount","quantity","created_at","updated_at","item_type","fee_type","name","manual"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"booking_id":{"format":"uuid","type":"string","description":"Identifier of the related booking\n\nNote:\nThis is a Foreign Key to `bookings.id`.<fk table='bookings' column='id'/>"},"amount":{"format":"integer","type":"integer","description":"Amount of the line item, in cents"},"quantity":{"format":"integer","type":"integer","description":"Quantity of the line item"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"item_type":{"default":"rent","enum":["coupon","fee","price-difference","rent"],"format":"public.line_item_type","type":"string","description":"Type of the line item, most commonly `fee`"},"fee_type":{"default":"fee","enum":["fee","deposit"],"format":"public.fee_type","type":"string","description":"Type of the fee: `fee` or `deposit`"},"service_id":{"format":"uuid","type":"string","description":"Identifier of the related service\n\nNote:\nThis is a Foreign Key to `services.id`.<fk table='services' column='id'/>"},"invoice_id":{"format":"uuid","type":"string","description":"Identifier of the related invoice\n\nNote:\nThis is a Foreign Key to `invoices.id`.<fk table='invoices' column='id'/>"},"name":{"format":"jsonb","description":"Localized name of the line item"},"event_id":{"format":"uuid","type":"string","description":"Identifier of the related calendar event\n\nNote:\nThis is a Foreign Key to `calendar_events.id`.<fk table='calendar_events' column='id'/>"},"manual":{"default":false,"format":"boolean","type":"boolean","description":"Whether the line item was added manually"}},"type":"object","description":"Lines of booking invoices"},"members":{"required":["id","organization_id","user_id","created_at","updated_at","role"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this member is defined in\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"user_id":{"format":"uuid","type":"string","description":"Identifier of the related user\n\nNote:\nThis is a Foreign Key to `user_profiles.user_id`.<fk table='user_profiles' column='user_id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"role":{"default":"user","enum":["user","admin","superuser"],"format":"public.member_role","type":"string","description":"Role of the member"}},"type":"object","description":"Members of organizations"},"message_events":{"required":["id","message_id","created_at","event_type","recipient"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"message_id":{"format":"uuid","type":"string","description":"Identifier of the related message\n\nNote:\nThis is a Foreign Key to `messages.id`.<fk table='messages' column='id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"event_type":{"enum":["bounce","click","deferred","delivered","dropped","group_resubscribe","group_unsubscribe","open","processed","spamreport","unsubscribe"],"format":"public.message_event_type","type":"string","description":"Type of the event"},"recipient":{"format":"text","type":"string","description":"Email address or phone number of the recipient"}},"type":"object","description":"Bounce, delivery and open events of messages"},"message_templates":{"required":["id","organization_id","created_at","updated_at","subject","body","attachments","fts","include_booking_details","include_booking_link","include_ical_data","include_product_image","status","type","past_schedule_behavior","include_transactions"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this message template is defined in\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"trigger":{"enum":["all-payments-completed","booking-request-confirmed","booking-request-pending","booking-request-received","booking-request-rejected","booking-updated","direct-booking-received","invoice-created","payment-due","payment-received"],"format":"public.message_trigger","type":"string","description":"Trigger of the message template"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"subject":{"format":"jsonb","description":"Localized subject of the email"},"body":{"format":"jsonb","description":"Localized body of the message"},"attachments":{"format":"jsonb","description":"Attachments to include in the email"},"fts":{"format":"tsvector","type":"string","readOnly":true,"description":"Full text search index"},"include_booking_details":{"default":false,"format":"boolean","type":"boolean","description":"Whether to include booking details in the message"},"include_booking_link":{"default":true,"format":"boolean","type":"boolean","description":"Whether to include a link to the guest page in the message"},"include_ical_data":{"default":false,"format":"boolean","type":"boolean","description":"Whether to include an iCal attachment in the email"},"include_product_image":{"default":false,"format":"boolean","type":"boolean","description":"Whether to include an image of the unit in the email"},"moment":{"format":"jsonb","description":"Moment at which the message is sent"},"status":{"default":"CONFIRMED","enum":["CANCELLED","TENTATIVE","CONFIRMED"],"format":"public.calendar_event_status","type":"string","description":"Whether messages are scheduled for pending and confirmed events, or for confirmed events only"},"type":{"default":"email","enum":["email","sms"],"format":"public.message_type","type":"string","description":"Type of the message: `email` or `sms`"},"past_schedule_behavior":{"default":"send","enum":["send","skip"],"format":"public.message_past_schedule_behavior","type":"string","description":"What happens when a message is created with a moment in the past"},"time":{"format":"time without time zone","type":"string","description":"Time of day at which the message is sent"},"include_transactions":{"default":false,"format":"boolean","type":"boolean","description":"Whether to include the booking's transactions in the message"}},"type":"object","description":"Reusable templates for emails and text messages"},"messages":{"required":["id","created_at","status","send_at","subject","body","include_booking_details","include_booking_link","include_ical_data","include_product_image","type","booking_id","include_transactions"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"html":{"format":"text","type":"string","description":"HTML of the email"},"attachments":{"format":"jsonb","description":"Attachments included in the email"},"status":{"default":"sent","enum":["manually-scheduled","scheduled-around-arrival","scheduled-around-departure","sent"],"format":"public.message_status","type":"string","description":"Status of the message"},"send_at":{"default":"now()","format":"timestamp with time zone","type":"string","description":"Timestamp at which the message is or was sent"},"subject":{"default":"","format":"text","type":"string","description":"Subject of the email"},"body":{"format":"text","type":"string","description":"Body of the message"},"include_booking_details":{"default":false,"format":"boolean","type":"boolean","description":"Whether the message includes booking details"},"include_booking_link":{"default":false,"format":"boolean","type":"boolean","description":"Whether the message includes a link to the guest page"},"include_ical_data":{"default":false,"format":"boolean","type":"boolean","description":"Whether the email includes an iCal attachment"},"include_product_image":{"default":false,"format":"boolean","type":"boolean","description":"Whether the email includes an image of the unit"},"message_template_id":{"format":"uuid","type":"string","description":"Identifier of the message template the message is based on\n\nNote:\nThis is a Foreign Key to `message_templates.id`.<fk table='message_templates' column='id'/>"},"type":{"default":"email","enum":["email","sms"],"format":"public.message_type","type":"string","description":"Type of the message: `email` or `sms`"},"booking_id":{"format":"uuid","type":"string","description":"Identifier of the related booking\n\nNote:\nThis is a Foreign Key to `bookings.id`.<fk table='bookings' column='id'/>"},"include_transactions":{"default":false,"format":"boolean","type":"boolean","description":"Whether the message includes the booking's transactions"}},"type":"object","description":"Emails and text messages, scheduled or sent to guests"},"organization_calendar_logs":{"required":["id","organization_id","created_at","referrer","status","params"],"properties":{"id":{"format":"integer","type":"integer","description":"Note:\nThis is a Primary Key.<pk/>"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization whose feed was read\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"referrer":{"default":"","format":"text","type":"string","description":"Referrer of the request"},"status":{"default":"success","enum":["error","success"],"format":"public.organization_calendar_log_status","type":"string","description":"Result of the request, e.g. `success`"},"params":{"format":"jsonb","description":"Params of the request"}},"type":"object","description":"Logs of each time the organization's iCal feed is read by an external platform"},"organizations":{"required":["created_at","updated_at","id","pricing_version","tier","subscription_type","name","credit","active","fts","thread_emails","invoice_details","payment_method","color_background","color_error","color_primary","color_text","contact_details","description","show_branding_booking_status_page","languages","color_header","arrival_label","departure_label","payment_details","initial_review_status","review_prompt","show_review_prompt","color_info","color_warning","invoice_footer","onboarding_progress","booking_form_cta","confirmation_message_title","confirmation_message","stripe_store_payment_details","ical_export_secret","ical_export_secret_no_details","company_name","country_code","e_invoice_scheme","e_invoice_address","vat_number","sms_limit","buyer_label","seller_label","period"],"properties":{"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"avatar":{"format":"text","type":"string","description":"URL of the avatar image"},"expires_at":{"default":"(now() + '14 days'::interval)","format":"timestamp with time zone","type":"string","description":"Timestamp at which the trial or subscription expires"},"paddle_subscription_id":{"format":"text","type":"string","description":"Identifier of the Paddle subscription of the organization\n\nNote:\nThis is a Foreign Key to `paddle_subscriptions.id`.<fk table='paddle_subscriptions' column='id'/>"},"pricing_version":{"default":"V5","enum":["V1","V2","V3","V4","V5"],"format":"public.organization_pricing_version","type":"string","description":"Version of Bookingmood's pricing that applies to the organization and its units. Versions were introduced as the pricing changed over time"},"deleted_at":{"format":"timestamp with time zone","type":"string","description":"Timestamp at which the organization was deleted"},"tier":{"default":"premium","enum":["free","basic","plus","premium"],"format":"public.subscription_plan_tier","type":"string","description":"Subscription tier of the organization"},"subscription_type":{"default":"trial","enum":["duda","duda-trial","paddle","pre-paid","test","trial"],"format":"public.subscription_type","type":"string","description":"How the subscription is paid: `trial`, `paddle`, `pre-paid` or `test`"},"name":{"format":"jsonb","description":"Localized name of the organization"},"credit":{"default":0,"format":"integer","type":"integer","description":"Pre-paid credit balance of the organization, in cents"},"active":{"default":true,"format":"boolean","type":"boolean","description":"Whether the organization is active. Widgets, sites and iCal feeds of inactive organizations don't work"},"fts":{"format":"tsvector","type":"string","readOnly":true,"description":"Full text search index"},"thread_emails":{"default":true,"format":"boolean","type":"boolean","description":"Whether emails about the same booking are grouped in a single thread"},"from_address":{"format":"text","type":"string","description":"Email address emails to guests are sent from"},"from_name":{"format":"text","type":"string","description":"Sender name of emails to guests"},"invoice_details":{"default":"","format":"text","type":"string","description":"Seller details shown on invoices, such as address and VAT number"},"stripe_account_id":{"format":"text","type":"string","description":"Identifier of the connected Stripe account"},"payment_method":{"default":"manual","enum":["clover","custom","manual","mollie","square","stripe"],"format":"public.payment_method","type":"string","description":"Payment provider for online payments"},"color_background":{"default":"#fff","format":"text","type":"string","description":"Background color of the guest page and emails"},"color_error":{"default":"#faa5a5","format":"text","type":"string","description":"Error color of the guest page and emails"},"color_primary":{"default":"#059669","format":"text","type":"string","description":"Primary color of the guest page and emails"},"color_text":{"default":"#000","format":"text","type":"string","description":"Text color of the guest page and emails"},"contact_details":{"format":"jsonb","description":"Contact details shown to guests"},"description":{"format":"jsonb","description":"Localized description of the organization"},"font":{"format":"text","type":"string","description":"Font of the guest page and emails"},"logo_alt":{"format":"text","type":"string","description":"URL of the logo image for dark backgrounds"},"logo":{"format":"text","type":"string","description":"URL of the logo image"},"show_branding_booking_status_page":{"default":true,"format":"boolean","type":"boolean","description":"Whether to show the Bookingmood branding on the guest page"},"languages":{"format":"text[]","items":{"type":"string"},"type":"array","description":"Languages the organization supports, the first being the default"},"color_header":{"default":"#000","format":"text","type":"string","description":"Header color of the guest page and emails"},"arrival_label":{"format":"jsonb","description":"Localized label for the arrival date"},"departure_label":{"format":"jsonb","description":"Localized label for the departure date"},"payment_details":{"format":"jsonb","description":"Localized payment instructions for manual payments"},"initial_review_status":{"default":"pending","enum":["approved","pending","rejected"],"format":"public.review_status","type":"string","description":"Status of new reviews: `pending` or `approved`"},"review_prompt":{"format":"jsonb","description":"Localized message asking guests to leave a review"},"show_review_prompt":{"default":true,"format":"boolean","type":"boolean","description":"Whether the guest page asks for a review after the stay"},"color_info":{"default":"#2463eb","format":"text","type":"string","description":"Info color of the guest page and emails"},"color_warning":{"default":"#a75c03","format":"text","type":"string","description":"Warning color of the guest page and emails"},"invoice_footer":{"default":"","format":"text","type":"string","description":"Text shown at the bottom of invoices"},"onboarding_progress":{"format":"jsonb","description":"Progress of the organization through onboarding"},"referrer_id":{"format":"uuid","type":"string","description":"Identifier of the user that referred the organization\n\nNote:\nThis is a Foreign Key to `user_profiles.user_id`.<fk table='user_profiles' column='user_id'/>"},"custom_domain":{"format":"text","type":"string","description":"Custom domain of the guest page"},"booking_form_cta":{"format":"jsonb","description":"Localized label of the booking form's submit button"},"confirmation_message_title":{"format":"jsonb","description":"Localized title of the message shown after submitting a booking"},"confirmation_message":{"format":"jsonb","description":"Localized message shown after submitting a booking"},"stripe_store_payment_details":{"default":false,"format":"boolean","type":"boolean","description":"Whether to store guests' payment details with Stripe for future charges"},"ical_export_secret":{"default":"md5((random())::text)","format":"text","type":"string","description":"Secret used to generate iCal feed URLs"},"ical_export_secret_no_details":{"default":"md5((random())::text)","format":"text","type":"string","description":"Secret used to generate iCal feed URLs without booking details"},"mollie_profile_id":{"format":"text","type":"string","description":"Identifier of the connected Mollie profile"},"square_location_id":{"format":"text","type":"string","description":"Identifier of the connected Square location"},"clover_merchant_id":{"format":"text","type":"string","description":"Identifier of the connected Clover merchant"},"company_name":{"default":"","format":"text","type":"string","description":"Company name of the organization, for invoices"},"country_code":{"default":"","format":"text","type":"string","description":"ISO 3166-1 alpha-2 country code of the organization, or empty"},"e_invoice_scheme":{"default":"","format":"text","type":"string","description":"Scheme of the organization's e-invoicing address, e.g. a Peppol scheme"},"e_invoice_address":{"default":"","format":"text","type":"string","description":"E-invoicing address of the organization"},"vat_number":{"default":"","format":"text","type":"string","description":"VAT number of the organization"},"logo_size":{"format":"integer","type":"integer","description":"Size of the logo in pixels, or null for automatic"},"sms_limit":{"default":0,"format":"integer","type":"integer","description":"Maximum number of text messages the organization can send per day"},"buyer_label":{"format":"jsonb","description":"Localized label of the buyer details on invoices"},"seller_label":{"format":"jsonb","description":"Localized label of the seller details on invoices"},"period":{"default":"monthly","enum":["monthly","yearly"],"format":"public.subscription_period","type":"string","description":"Billing period of the subscription"}},"type":"object","description":"Organizations, which own all other data. An API key gives access to a single organization"},"paddle_plans":{"required":["id","period","tier","version"],"properties":{"id":{"format":"text","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"period":{"enum":["monthly","yearly"],"format":"public.subscription_period","type":"string","description":"Billing period of the plan"},"tier":{"enum":["free","basic","plus","premium"],"format":"public.subscription_plan_tier","type":"string","description":"Subscription tier of the plan"},"version":{"enum":["billing","classic"],"format":"public.paddle_version","type":"string","description":"Version of Paddle the plan is active on"}},"type":"object","description":"Bookingmood subscription plans, billed through Paddle"},"paddle_subscriptions":{"required":["id","plan_id","state","version","currency"],"properties":{"id":{"format":"text","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"plan_id":{"format":"text","type":"string","description":"Identifier of the plan in Paddle\n\nNote:\nThis is a Foreign Key to `paddle_plans.id`.<fk table='paddle_plans' column='id'/>"},"state":{"enum":["active","deleted","past_due","paused","trialing"],"format":"public.paddle_subscription_state","type":"string","description":"Activation state of the subscription"},"version":{"default":"classic","enum":["billing","classic"],"format":"public.paddle_version","type":"string","description":"Version of Paddle the subscription is active on"},"currency":{"default":"USD","enum":["ARS","AUD","BRL","CAD","CHF","CLP","CNY","COP","CZK","DKK","EUR","GBP","HKD","HUF","ILS","INR","JPY","KRW","MXN","NOK","NZD","PEN","PLN","RUB","SEK","SGD","THB","TRY","TWD","UAH","USD","VND","ZAR"],"format":"public.paddle_currency","type":"string","description":"Currency the subscription is paid in"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this subscription is for\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"renews_at":{"format":"timestamp with time zone","type":"string","description":"Timestamp at which the subscription renews"}},"type":"object","description":"Bookingmood subscriptions of organizations, billed through Paddle"},"payments":{"required":["amount","currency","paid","created_at","updated_at","id","booking_id","due_at","invoice_id","reference","offline","fts","status"],"properties":{"amount":{"default":0,"format":"integer","type":"integer","description":"Total amount of the payment, in cents"},"currency":{"enum":["ARS","AUD","BRL","BYN","CAD","CHF","CLP","CNY","COP","CZK","DKK","EGP","EUR","GBP","HKD","HUF","ILS","INR","JPY","KRW","KYD","MAD","MXN","MYR","NGN","NOK","NZD","PEN","PHP","PLN","RON","RUB","SEK","SGD","THB","TRY","TWD","UAH","USD","VND","XOF","ZAR"],"format":"public.currency","type":"string","description":"Currency of the payment"},"paid":{"default":0,"format":"integer","type":"integer","description":"Amount of the payment that was paid, in cents"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"booking_id":{"format":"uuid","type":"string","description":"Identifier of the related booking\n\nNote:\nThis is a Foreign Key to `bookings.id`.<fk table='bookings' column='id'/>"},"due_at":{"format":"timestamp with time zone","type":"string","description":"Timestamp at which the payment is due"},"invoice_id":{"format":"uuid","type":"string","description":"Identifier of the related invoice\n\nNote:\nThis is a Foreign Key to `invoices.id`.<fk table='invoices' column='id'/>"},"reference":{"default":"","format":"text","type":"string","description":"Reference of the payment"},"offline":{"default":false,"format":"boolean","type":"boolean","description":"Whether the payment is made outside Bookingmood, e.g. by bank transfer"},"completed_at":{"format":"timestamp with time zone","type":"string","description":"Timestamp at which the payment was completed"},"provider_id":{"format":"text","type":"string","description":"Identifier of the payment at the payment provider"},"fts":{"format":"tsvector","type":"string","readOnly":true},"notification_sent_at":{"format":"timestamp with time zone","type":"string","description":"Timestamp at which the guest was notified of the payment being due"},"status":{"enum":["cancelled","due","paid"],"format":"public.payment_status","type":"string","readOnly":true,"description":"Status of the payment: `due`, `paid` or `cancelled`"}},"type":"object","description":"Payments of bookings, whether planned, partially paid or paid"},"permissions":{"required":["member_id","product_id","created_at","updated_at","id","bookings","notifications","settings"],"properties":{"member_id":{"format":"uuid","type":"string","description":"Identifier of the related member\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `members.id`.<fk table='members' column='id'/>"},"product_id":{"format":"uuid","type":"string","description":"Identifier of the related unit\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `products.id`.<fk table='products' column='id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier"},"bookings":{"default":"view","enum":["none","maintenance","view","manage"],"format":"public.bookings_permission","type":"string","description":"Bookings permission level"},"notifications":{"default":"none","enum":["none","non-financial","all"],"format":"public.notifications_permission","type":"string","description":"Notifications permission level"},"settings":{"default":"none","enum":["none","all"],"format":"public.settings_permission","type":"string","description":"Settings permission level"}},"type":"object","description":"Access levels per unit of members with the `user` role"},"price_calendar_entries":{"required":["min_duration","max_duration","created_at","updated_at","color","min_advance","max_advance","id","product_id","name","fts","check_in_days","checkout_days","order","intervals","rates"],"properties":{"min_duration":{"default":1,"format":"integer","type":"integer","description":"Minimum duration of a booking in days"},"max_duration":{"default":30,"format":"integer","type":"integer","description":"Maximum duration of a booking in days"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"color":{"default":"#FACC15","format":"text","type":"string","description":"Color to distinguish the configuration from others"},"min_advance":{"default":0,"format":"integer","type":"integer","description":"Minimum number of days between booking and arrival"},"max_advance":{"default":365,"format":"integer","type":"integer","description":"Maximum number of days between booking and arrival"},"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"product_id":{"format":"uuid","type":"string","description":"Identifier of the related unit\n\nNote:\nThis is a Foreign Key to `products.id`.<fk table='products' column='id'/>"},"name":{"format":"jsonb","description":"Localized name of the entry"},"fts":{"format":"tsvector","type":"string","readOnly":true,"description":"Full text search index"},"check_in_days":{"format":"boolean[]","items":{"type":"boolean"},"type":"array","description":"List of days of the week on which check-in is possible"},"checkout_days":{"format":"boolean[]","items":{"type":"boolean"},"type":"array","description":"List of days of the week on which check-out is possible"},"order":{"default":0,"format":"integer","type":"integer","description":"Order in which the entry is shown in the price calendar editor"},"intervals":{"default":"datemultirange()","format":"datemultirange","type":"string","description":"Date ranges the entry applies to"},"rates":{"format":"jsonb","description":"Rate per night on day X of a booking given some occupancy"}},"type":"object","description":"Rate and availability configurations of units, each applying to one or more date ranges"},"pricelabs_pricing":{"required":["product_id","created_at","imported_at","pricelabs_email","entries","dirty","exported_at","number_of_bedrooms"],"properties":{"product_id":{"format":"uuid","type":"string","description":"Identifier of the related unit\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `products.id`.<fk table='products' column='id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"imported_at":{"default":"now()","format":"timestamp with time zone","type":"string","description":"Timestamp at which the prices were last imported from PriceLabs"},"pricelabs_email":{"default":"","format":"text","type":"string","description":"Email address of the PriceLabs account"},"entries":{"format":"jsonb","description":"Pricing definitions per interval"},"dirty":{"default":false,"format":"boolean","type":"boolean","description":"Whether the prices still need to be exported to PriceLabs"},"exported_at":{"default":"now()","format":"timestamp with time zone","type":"string","description":"Timestamp at which the prices were last exported to PriceLabs"},"number_of_bedrooms":{"default":1,"format":"integer","type":"integer","description":"Number of bedrooms of the unit"}},"type":"object","description":"Prices from PriceLabs, for units priced by PriceLabs"},"pricing_widgets":{"required":["id","created_at","updated_at","color_background","color_text","color_primary","organization_id","title","show_branding","language","fts"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Note:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"color_background":{"default":"#fff","format":"text","type":"string","description":"Background color of the widget"},"color_text":{"default":"#000","format":"text","type":"string","description":"Text color of the widget"},"color_primary":{"default":"#067f54","format":"text","type":"string","description":"Primary color of the widget"},"product_id":{"format":"uuid","type":"string","description":"Identifier of the unit whose prices the widget shows\n\nNote:\nThis is a Foreign Key to `products.id`.<fk table='products' column='id'/>"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this widget is defined in\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"title":{"default":"","format":"text","type":"string","description":"Title of the widget"},"font":{"format":"text","type":"string","description":"Font of the widget"},"show_branding":{"default":true,"format":"boolean","type":"boolean","description":"Whether to show the Bookingmood branding"},"language":{"default":"en-US","enum":["be-BY","bg-BG","cs-CZ","da-DK","de-DE","en-GB","en-NZ","en-US","es-ES","eu-ES","fr-FR","gr-EL","he-IL","hr-HR","hu-HU","it-IT","ja-JP","lt-LT","lv-LV","nl-NL","nn-NO","pl-PL","pt-BR","ro-RO","ru-RU","sk-SK","sl-SI","sr-Cyrl","sr-Latn","sv-SE","tr-TR","uk-UA"],"format":"public.language","type":"string","description":"Language of the widget"},"fts":{"format":"tsvector","type":"string","readOnly":true}},"type":"object","description":"Embeddable widgets showing the prices of a unit"},"product_attribute_options":{"required":["id","created_at","product_id","option_id"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"product_id":{"format":"uuid","type":"string","description":"Identifier of the related unit\n\nNote:\nThis is a Foreign Key to `products.id`.<fk table='products' column='id'/>"},"option_id":{"format":"uuid","type":"string","description":"Identifier of the related option\n\nNote:\nThis is a Foreign Key to `attribute_options.id`.<fk table='attribute_options' column='id'/>"}},"type":"object","description":"Attribute options assigned to each unit"},"product_calendar_logs":{"required":["id","product_id","created_at","referrer","status","params"],"properties":{"id":{"format":"bigint","type":"integer","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"product_id":{"format":"uuid","type":"string","description":"Identifier of the related unit\n\nNote:\nThis is a Foreign Key to `products.id`.<fk table='products' column='id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"referrer":{"default":"","format":"text","type":"string","description":"Referrer of the request"},"status":{"default":"success","enum":["error","success"],"format":"public.product_calendar_log_status","type":"string","description":"Result of the request, e.g. `success`"},"params":{"format":"jsonb","description":"Params of the request"}},"type":"object","description":"Logs of each time a unit's iCal feed is read by an external platform"},"product_message_templates":{"required":["product_id","message_template_id","created_at","id","order"],"properties":{"product_id":{"format":"uuid","type":"string","description":"Identifier of the related unit\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `products.id`.<fk table='products' column='id'/>"},"message_template_id":{"format":"uuid","type":"string","description":"Identifier of the related message template\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `message_templates.id`.<fk table='message_templates' column='id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier"},"order":{"default":0,"format":"integer","type":"integer","description":"Order of the message template as displayed in the admin"}},"type":"object","description":"Message templates active per unit"},"product_reply_to_addresses":{"required":["product_id","reply_to_address_id","created_at","id"],"properties":{"product_id":{"format":"uuid","type":"string","description":"Identifier of the related unit\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `products.id`.<fk table='products' column='id'/>"},"reply_to_address_id":{"format":"uuid","type":"string","description":"Identifier of the related reply-to address\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `reply_to_addresses.id`.<fk table='reply_to_addresses' column='id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier"}},"type":"object","description":"Reply-to addresses per unit"},"product_services":{"required":["id","product_id","service_id","created_at","updated_at","order"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier"},"product_id":{"format":"uuid","type":"string","description":"Identifier of the related unit\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `products.id`.<fk table='products' column='id'/>"},"service_id":{"format":"uuid","type":"string","description":"Identifier of the related service\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `services.id`.<fk table='services' column='id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"order":{"default":0,"format":"integer","type":"integer","description":"Order of the service in the booking form of the unit"}},"type":"object","description":"Services included in the booking form of a unit"},"products":{"required":["id","created_at","updated_at","ical_export_secret","organization_id","timezone","images","approximate_address","rent_period","ical_export_secret_no_details","name","description","exact_address","currency","fts","hide_exact_address","confirmation_message","rent_pricing_definition","cooldown_time","interaction","request_status","confirm_after_initial_payment","cancel_after_initial_payment_error","price_breakdown_specificity","payment_expiration_duration","tentative_interaction","fee"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"ical_export_secret":{"default":"md5((random())::text)","format":"text","type":"string","description":"Secret used to generate iCal feed URLs"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this unit is defined in\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"timezone":{"default":"UTC","format":"text","type":"string","description":"Timezone of the unit"},"images":{"format":"json","description":"Images of the unit"},"approximate_address":{"default":"","format":"text","type":"string","description":"Approximate address of the unit"},"ac_id":{"format":"text","type":"string","description":"Identifier of the unit on AvailabilityCalendar.com, for imported units"},"rent_period":{"default":"nightly","enum":["daily","nightly"],"format":"public.rent_period","type":"string","description":"Rent period of the unit"},"ical_export_secret_no_details":{"default":"md5((random())::text)","format":"text","type":"string","description":"Secret used to generate iCal feed URLs without booking details"},"deleted_at":{"format":"timestamp with time zone","type":"string","description":"Timestamp at which the unit was deleted"},"name":{"format":"jsonb","description":"Localized name of the unit"},"description":{"format":"jsonb","description":"Localized description of the unit"},"exact_address":{"default":"","format":"text","type":"string","description":"Exact address of the unit"},"currency":{"enum":["ARS","AUD","BRL","BYN","CAD","CHF","CLP","CNY","COP","CZK","DKK","EGP","EUR","GBP","HKD","HUF","ILS","INR","JPY","KRW","KYD","MAD","MXN","MYR","NGN","NOK","NZD","PEN","PHP","PLN","RON","RUB","SEK","SGD","THB","TRY","TWD","UAH","USD","VND","XOF","ZAR"],"format":"public.currency","type":"string","description":"Currency bookings are made in"},"approximate_coordinates":{"format":"jsonb","description":"Coordinates of the approximate address"},"exact_coordinates":{"format":"jsonb","description":"Coordinates of the exact address"},"fts":{"format":"tsvector","type":"string","readOnly":true,"description":"Full text search index"},"hide_exact_address":{"default":false,"format":"boolean","type":"boolean","description":"Whether to hide the exact address from guests until their booking is confirmed"},"confirmation_message":{"format":"jsonb","description":"Localized message shown after submitting a booking"},"rent_pricing_definition":{"default":"configurations","enum":["configurations","pricelabs","service"],"format":"public.rent_pricing_definition","type":"string","description":"How rent is priced: `service` with rent prices, `configurations` with a price calendar, or `pricelabs` with prices from PriceLabs"},"cooldown_time":{"default":0,"format":"integer","type":"integer","description":"Minimum number of days between bookings"},"interaction":{"default":"request","enum":["book","request"],"format":"public.booking_method","type":"string","description":"How guests book the unit: `request` or `book`"},"request_status":{"default":"TENTATIVE","enum":["CANCELLED","TENTATIVE","CONFIRMED"],"format":"public.calendar_event_status","type":"string","description":"Status of new booking requests: `TENTATIVE` keeps them pending until they are confirmed, `CONFIRMED` confirms them right away. Doesn't apply to instant bookings"},"confirm_after_initial_payment":{"default":false,"format":"boolean","type":"boolean","description":"Whether to confirm bookings automatically after the initial payment. Only applies when `interaction` is `request`"},"cancel_after_initial_payment_error":{"default":false,"format":"boolean","type":"boolean","description":"Whether to cancel bookings when their initial online payment fails, i.e. expires or is rejected"},"price_breakdown_specificity":{"default":"combined","enum":["combined","separate"],"format":"public.price_breakdown_specificity","type":"string","description":"Whether multiple pricing lines of a single fee are `combined` into one or shown `separate`ly"},"latest_arrival_time":{"format":"time without time zone","type":"string","description":"Latest time guests can book for the same day"},"payment_expiration_duration":{"format":"integer","type":"integer","description":"Seconds after which an unpaid online payment expires"},"tentative_interaction":{"default":"request","enum":["book","request"],"format":"public.booking_method","type":"string","description":"How guests book tentative dates: `request` or `book`"},"fee":{"format":"jsonb","description":"Fee charged for rent"},"deposit":{"format":"jsonb","description":"Deposit charged for rent"}},"type":"object","description":"Units that can be booked individually"},"refunds":{"required":["id","booking_id","invoice_id","created_at","updated_at","due_at","amount","comment","currency","paid","reference","status","policy","fts"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Note:\nThis is a Primary Key.<pk/>"},"booking_id":{"format":"uuid","type":"string","description":"Identifier of the related booking\n\nNote:\nThis is a Foreign Key to `bookings.id`.<fk table='bookings' column='id'/>"},"invoice_id":{"format":"uuid","type":"string","description":"Identifier of the related invoice\n\nNote:\nThis is a Foreign Key to `invoices.id`.<fk table='invoices' column='id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"due_at":{"format":"timestamp with time zone","type":"string","description":"Timestamp at which the refund is due"},"amount":{"format":"integer","type":"integer","description":"Amount of the refund, in cents"},"comment":{"default":"","format":"text","type":"string","description":"Comment about the refund"},"currency":{"enum":["ARS","AUD","BRL","BYN","CAD","CHF","CLP","CNY","COP","CZK","DKK","EGP","EUR","GBP","HKD","HUF","ILS","INR","JPY","KRW","KYD","MAD","MXN","MYR","NGN","NOK","NZD","PEN","PHP","PLN","RON","RUB","SEK","SGD","THB","TRY","TWD","UAH","USD","VND","XOF","ZAR"],"format":"public.currency","type":"string","description":"Currency of the refund"},"paid":{"default":0,"format":"integer","type":"integer","description":"Amount of the refund that was paid, in cents"},"reference":{"format":"text","type":"string","description":"Reference of the refund"},"status":{"enum":["completed","pending"],"format":"public.refund_status","type":"string","description":"Status of the refund, either `pending` or `completed`"},"policy":{"format":"jsonb","description":"Localized refund policy that applies"},"fts":{"format":"tsvector","type":"string","readOnly":true}},"type":"object","description":"Refunds of booking payments"},"reply_to_addresses":{"required":["id","organization_id","email","name"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this reply-to address is defined in\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"email":{"format":"text","type":"string","description":"Email address replies are sent to"},"name":{"format":"text","type":"string","description":"Display name of the reply-to address"}},"type":"object","description":"Reply-to email addresses"},"review_products":{"required":["id","review_id","product_id","created_at"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string"},"review_id":{"format":"uuid","type":"string","description":"Identifier of the related review\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `reviews.id`.<fk table='reviews' column='id'/>"},"product_id":{"format":"uuid","type":"string","description":"Identifier of the related unit\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `products.id`.<fk table='products' column='id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"}},"type":"object","description":"Units a review is about"},"review_widget_listings":{"required":["id","review_widget_id","product_id","created_at"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string"},"review_widget_id":{"format":"uuid","type":"string","description":"Identifier of the related review widget\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `review_widgets.id`.<fk table='review_widgets' column='id'/>"},"product_id":{"format":"uuid","type":"string","description":"Identifier of the related unit\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `products.id`.<fk table='products' column='id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"}},"type":"object","description":"Units listed in a review widget"},"review_widgets":{"required":["id","created_at","updated_at","color_background","color_text","color_primary","layout","organization_id","title","number_of_items","language","show_branding","fts"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Note:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"color_background":{"default":"#fff","format":"text","type":"string","description":"Background color of the widget"},"color_text":{"default":"#000","format":"text","type":"string","description":"Text color of the widget"},"color_primary":{"default":"#067f54","format":"text","type":"string","description":"Primary color of the widget"},"layout":{"default":"grid","enum":["grid","list","summary"],"format":"public.review_widget_layout","type":"string","description":"Layout of the reviews: `grid`, `list` or `summary`"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this widget is defined in\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"title":{"default":"","format":"text","type":"string","description":"Title of the widget"},"font":{"format":"text","type":"string","description":"Font of the widget"},"number_of_items":{"default":6,"format":"integer","type":"integer","description":"Number of reviews to show"},"language":{"default":"en-US","enum":["be-BY","bg-BG","cs-CZ","da-DK","de-DE","en-GB","en-NZ","en-US","es-ES","eu-ES","fr-FR","gr-EL","he-IL","hr-HR","hu-HU","it-IT","ja-JP","lt-LT","lv-LV","nl-NL","nn-NO","pl-PL","pt-BR","ro-RO","ru-RU","sk-SK","sl-SI","sr-Cyrl","sr-Latn","sv-SE","tr-TR","uk-UA"],"format":"public.language","type":"string","description":"Language of the widget"},"show_branding":{"default":true,"format":"boolean","type":"boolean","description":"Whether to show the Bookingmood branding"},"fts":{"format":"tsvector","type":"string","readOnly":true}},"type":"object","description":"Embeddable widgets showing reviews"},"reviews":{"required":["id","created_at","updated_at","author_name","content","status","source","organization_id","fts"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Note:\nThis is a Primary Key.<pk/>"},"booking_id":{"format":"uuid","type":"string","description":"Identifier of the reviewed booking\n\nNote:\nThis is a Foreign Key to `bookings.id`.<fk table='bookings' column='id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"author_name":{"default":"","format":"text","type":"string","description":"Name of the author"},"author_avatar":{"format":"text","type":"string","description":"URL of the author's avatar image"},"content":{"format":"jsonb","description":"Localized text of the review"},"rating":{"format":"integer","type":"integer","description":"Rating given by the author"},"status":{"default":"pending","enum":["approved","pending","rejected"],"format":"public.review_status","type":"string","description":"Moderation status: `pending`, `approved` or `rejected`. Review widgets only show approved reviews"},"source":{"format":"text","type":"string","description":"Where the review comes from"},"source_url":{"format":"text","type":"string","description":"URL of the review on its source"},"source_id":{"format":"text","type":"string","description":"Identifier of the review on its source"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this review is defined in\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"fts":{"format":"tsvector","type":"string","readOnly":true}},"type":"object","description":"Reviews of stays, left by guests or imported from other platforms"},"seasons":{"required":["id","created_at","updated_at","organization_id","name","value"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this season is defined in\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"name":{"format":"jsonb","description":"Localized name of the season"},"value":{"format":"jsonb","description":"Intervals defining the season"}},"type":"object","description":"Seasons, for reusable pricing definitions"},"services":{"required":["id","created_at","updated_at","type","order","label","description","organization_id","meta","fts"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"type":{"enum":["address","checkbox","contact-meta","email","long-text","multiple-choice","multiple-choice-option","name","number","phone","short-text","statement","time"],"format":"public.service_type","type":"string","description":"Type of the service"},"order":{"default":0,"format":"smallint","type":"integer","description":"Order of the option within its parent service. Only applies to services of type `multiple-choice-option`"},"label":{"format":"jsonb","description":"Localized label of the service"},"description":{"format":"jsonb","description":"Localized description of the service"},"parent_id":{"format":"uuid","type":"string","description":"Identifier of the parent service. Only applies to services of type `multiple-choice-option`\n\nNote:\nThis is a Foreign Key to `services.id`.<fk table='services' column='id'/>"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this service is defined in\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"meta":{"format":"jsonb","description":"Metadata of the service"},"fts":{"format":"tsvector","type":"string","readOnly":true,"description":"Full text search index"},"attachment":{"format":"text","type":"string","description":"URL of a file attached to the service"},"fee":{"format":"jsonb","description":"Fee charged for the service"},"deposit":{"format":"jsonb","description":"Deposit charged for the service"}},"type":"object","description":"Reusable elements that can be included in the booking forms of units"},"site_listings":{"required":["id","created_at","updated_at","site_id","product_id","order","slug"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"site_id":{"format":"uuid","type":"string","description":"Identifier of the site this listing is defined in\n\nNote:\nThis is a Foreign Key to `sites.id`.<fk table='sites' column='id'/>"},"product_id":{"format":"uuid","type":"string","description":"Identifier of the related unit\n\nNote:\nThis is a Foreign Key to `products.id`.<fk table='products' column='id'/>"},"order":{"default":0,"format":"integer","type":"integer","description":"Order of the listing as displayed on the site"},"slug":{"format":"jsonb","description":"Localized slug of the listing"}},"type":"object","description":"Units listed on a site"},"site_nav_items":{"required":["id","created_at","site_id","label","order","target","url"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"site_id":{"format":"uuid","type":"string","description":"Identifier of the site this navigation item is defined in\n\nNote:\nThis is a Foreign Key to `sites.id`.<fk table='sites' column='id'/>"},"parent_id":{"format":"uuid","type":"string","description":"Identifier of the parent navigation item\n\nNote:\nThis is a Foreign Key to `site_nav_items.id`.<fk table='site_nav_items' column='id'/>"},"site_page_id":{"format":"uuid","type":"string","description":"Identifier of the related page. Only applies when `type` is `internal`\n\nNote:\nThis is a Foreign Key to `site_pages.id`.<fk table='site_pages' column='id'/>"},"label":{"format":"jsonb","description":"Localized label of the navigation item"},"order":{"default":0,"format":"integer","type":"integer","description":"Order of the navigation item as displayed on the site"},"target":{"default":"_self","enum":["_blank","_self"],"format":"public.site_nav_item_target","type":"string","description":"Where the link opens: `_self` or `_blank`"},"url":{"format":"jsonb","description":"Localized URL of the navigation item. Only applies when `type` is `external`"}},"type":"object","description":"Items in the navigation bar of a site"},"site_pages":{"required":["id","created_at","updated_at","site_id","status","slug","title","description","node","custom_html"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"site_id":{"format":"uuid","type":"string","description":"Identifier of the site this page is defined in\n\nNote:\nThis is a Foreign Key to `sites.id`.<fk table='sites' column='id'/>"},"status":{"default":"draft","enum":["draft","published"],"format":"public.page_status","type":"string","description":"Publication status of the page"},"slug":{"format":"jsonb","description":"Localized slug of the page"},"title":{"format":"jsonb","description":"Localized title of the page"},"description":{"format":"jsonb","description":"Localized description of the page"},"node":{"format":"jsonb","description":"Content of the page, as a tree of nodes"},"custom_html":{"default":"","format":"text","type":"string","description":"Custom HTML added to the page"}},"type":"object","description":"Additional pages on a site"},"site_views":{"required":["id","site_id","session","pathname","created_at"],"properties":{"id":{"format":"integer","type":"integer","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"site_id":{"format":"uuid","type":"string","description":"Identifier of the viewed site\n\nNote:\nThis is a Foreign Key to `sites.id`.<fk table='sites' column='id'/>"},"referer":{"format":"text","type":"string","description":"Referer of the view"},"country":{"format":"text","type":"string","description":"Country of the visitor"},"session":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Identifier of the visitor's session"},"pathname":{"default":"","format":"text","type":"string","description":"Pathname of the viewed page"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"}},"type":"object","description":"Logs of each page view on a site"},"sites":{"required":["id","created_at","updated_at","autocomplete_date_selection","color_background","color_error","color_primary","color_text","date_visibility","initial_date","interval_wrap_style","name","rate_location","rate_visibility","show_branding","show_legend","show_totals","subdomain","filters","currency","organization_id","type","pricing_version","show_unavailable_results","color_header","color_booked","color_closed","show_pending_as","show_booked_as","show_closed_as","show_pricing","color_warning","color_info","color_unavailable","custom_html","show_searchbar","fts","failure_url","enable_shopping_cart","show_complex_prices"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"autocomplete_date_selection":{"default":false,"format":"boolean","type":"boolean","description":"Whether to autocomplete the date selection when only one date is available"},"color_background":{"default":"#fff","format":"text","type":"string","description":"Background color of the site"},"color_error":{"default":"#faa5a5","format":"text","type":"string","description":"Error color of the site"},"color_primary":{"default":"#22c55e","format":"text","type":"string","description":"Primary color of the site"},"color_text":{"default":"#000","format":"text","type":"string","description":"Text color of the site"},"cover":{"format":"text","type":"string","description":"URL of the cover image"},"date_visibility":{"default":"all","enum":["all","custom","hide-closed","hide-unavailable"],"format":"public.widget_date_visibility","type":"string","description":"Which dates the calendar shows: `all`, `hide-closed` to hide closed dates, `hide-unavailable` to hide unavailable dates, or the deprecated `custom` to show selected months"},"font":{"format":"text","type":"string","description":"Font of the site"},"initial_date":{"default":"today","enum":["next-available","today"],"format":"public.widget_initial_date","type":"string","description":"Initial date shown in the calendar"},"interval_wrap_style":{"default":"square","enum":["jagged","square"],"format":"public.channel_interval_wrap_style","type":"string","description":"Style of the interval when wrapping weeks"},"name":{"format":"jsonb","description":"Localized name of the site"},"rate_location":{"default":"inline","enum":["inline","tooltip"],"format":"public.channel_rate_location","type":"string","description":"Where rates are shown in the calendar: `inline` or `tooltip`"},"rate_visibility":{"default":"available","enum":["all","available","none"],"format":"public.channel_rate_visibility","type":"string","description":"Which rates the calendar shows: `all`, `available` or `none`"},"show_branding":{"default":true,"format":"boolean","type":"boolean","description":"Whether to show the Bookingmood branding"},"show_legend":{"default":true,"format":"boolean","type":"boolean","description":"Whether to show a legend in the calendar"},"show_totals":{"default":true,"format":"boolean","type":"boolean","description":"Whether to show totals in the calendar"},"subdomain":{"format":"text","type":"string","description":"Subdomain of the site"},"filters":{"format":"text[]","items":{"type":"string"},"type":"array","description":"Filters to show in the search bar"},"currency":{"default":"USD","enum":["ARS","AUD","BRL","BYN","CAD","CHF","CLP","CNY","COP","CZK","DKK","EGP","EUR","GBP","HKD","HUF","ILS","INR","JPY","KRW","KYD","MAD","MXN","MYR","NGN","NOK","NZD","PEN","PHP","PLN","RON","RUB","SEK","SGD","THB","TRY","TWD","UAH","USD","VND","XOF","ZAR"],"format":"public.currency","type":"string","description":"Currency of the site"},"password_hash":{"format":"text","type":"string","description":"Hash of the password required to access the site"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this site is defined in\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"first_week_contains_date":{"format":"smallint","type":"integer","description":"Day of January the first week of the year contains: `1`, or `4` as in ISO 8601"},"week_starts_on":{"format":"smallint","type":"integer","description":"First day of the week: `0` for Sunday or `1` for Monday"},"logo":{"format":"text","type":"string","description":"URL of the logo image"},"icon":{"format":"text","type":"string","description":"URL of the icon image"},"custom_domain":{"format":"text","type":"string","description":"Custom domain of the site"},"logo_alt":{"format":"text","type":"string","description":"URL of the logo image for dark backgrounds"},"type":{"enum":["calendar","google-vr","inventory","multi-unit-site","pricing","review","search","single-unit-site","timeline"],"format":"public.channel_type","type":"string","description":"Type of the site: `single-unit-site` or `multi-unit-site`"},"pricing_version":{"default":"V0","enum":["V0","V1"],"format":"public.site_pricing_version","type":"string","description":"Version of Bookingmood's pricing that applies to the site: `V1` sites are paid, older `V0` sites are free"},"show_unavailable_results":{"default":true,"format":"boolean","type":"boolean","description":"Whether search results also list units that don't match the search"},"color_header":{"default":"#000","format":"text","type":"string","description":"Header color of the site"},"color_booked":{"default":"#faa5a5","format":"text","type":"string","description":"Color of booked dates"},"color_closed":{"default":"#f5f5f5","format":"text","type":"string","description":"Color of closed dates"},"show_pending_as":{"default":"TENTATIVE","enum":["CANCELLED","TENTATIVE","CONFIRMED"],"format":"public.calendar_event_status","type":"string","description":"How to interpret pending events"},"show_booked_as":{"default":"unavailable","enum":["booked","unavailable"],"format":"public.show_booked_as","type":"string","description":"How to show booked dates"},"show_closed_as":{"default":"closed","enum":["closed","unavailable"],"format":"public.show_closed_as","type":"string","description":"How to show closed dates"},"show_pricing":{"default":true,"format":"boolean","type":"boolean","description":"Whether to show the pricing section on unit pages"},"color_warning":{"default":"#a75c03","format":"text","type":"string","description":"Warning color of the site"},"color_info":{"default":"#2463eb","format":"text","type":"string","description":"Info color of the site"},"color_unavailable":{"default":"#faa5a5","format":"text","type":"string","description":"Color of unavailable dates"},"custom_html":{"default":"","format":"text","type":"string","description":"Custom HTML added to every page of the site"},"redirect_url":{"format":"text","type":"string","description":"URL to redirect to after submitting a booking"},"related_products":{"format":"jsonb","description":"Settings of the related units section on unit pages"},"show_searchbar":{"default":true,"format":"boolean","type":"boolean","description":"Whether to show the search bar"},"fts":{"format":"tsvector","type":"string","readOnly":true},"failure_url":{"default":"__BOOKING_PAGE__","format":"text","type":"string","description":"URL to redirect to when a payment fails. `__BOOKING_PAGE__` shows the guest page"},"logo_size":{"format":"integer","type":"integer","description":"Size of the logo in pixels, or null for automatic"},"enable_shopping_cart":{"default":false,"format":"boolean","type":"boolean","description":"Whether guests can book multiple units at once"},"show_complex_prices":{"default":true,"format":"boolean","type":"boolean","description":"Whether guests can inspect seasonal prices in the calendar"}},"type":"object","description":"Websites, either single-unit or catalog sites"},"task_assignees":{"required":["task_id","member_id","id","created_at"],"properties":{"task_id":{"format":"uuid","type":"string","description":"Identifier of the related task\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `tasks.id`.<fk table='tasks' column='id'/>"},"member_id":{"format":"uuid","type":"string","description":"Identifier of the assigned member\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `members.id`.<fk table='members' column='id'/>"},"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"}},"type":"object","description":"Members a task is assigned to"},"task_template_assignees":{"required":["task_template_id","member_id","id","created_at"],"properties":{"task_template_id":{"format":"uuid","type":"string","description":"Identifier of the related task template\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `task_templates.id`.<fk table='task_templates' column='id'/>"},"member_id":{"format":"uuid","type":"string","description":"Identifier of the assigned member\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `members.id`.<fk table='members' column='id'/>"},"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"}},"type":"object","description":"Members that tasks from a task template are assigned to"},"task_templates":{"required":["id","product_id","created_at","updated_at","moment","label","status"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"product_id":{"format":"uuid","type":"string","description":"Identifier of the related unit\n\nNote:\nThis is a Foreign Key to `products.id`.<fk table='products' column='id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"moment":{"format":"jsonb","description":"Moment at which the task is due"},"label":{"default":"","format":"text","type":"string","description":"Label of the task"},"status":{"default":"CONFIRMED","enum":["CANCELLED","TENTATIVE","CONFIRMED"],"format":"public.calendar_event_status","type":"string","description":"Whether the task only applies to confirmed events, or also to pending events"},"time":{"format":"time without time zone","type":"string","description":"Time of day at which the task is scheduled"}},"type":"object","description":"Tasks required for all bookings for a unit"},"tasks":{"required":["id","calendar_event_id","created_at","label","due_at","schedule","updated_at","fts"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"calendar_event_id":{"format":"uuid","type":"string","description":"Identifier of the related calendar event\n\nNote:\nThis is a Foreign Key to `calendar_events.id`.<fk table='calendar_events' column='id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"completed_at":{"format":"timestamp with time zone","type":"string","description":"Timestamp at which the task was completed"},"task_template_id":{"format":"uuid","type":"string","description":"Identifier of the related task template\n\nNote:\nThis is a Foreign Key to `task_templates.id`.<fk table='task_templates' column='id'/>"},"label":{"format":"text","type":"string","description":"Label of the task"},"due_at":{"default":"now()","format":"timestamp with time zone","type":"string","description":"Timestamp at which the task is due"},"schedule":{"default":"arrival","enum":["arrival","departure","manual"],"format":"public.task_schedule","type":"string","description":"Schedule of the task relative to the event"},"notification_sent_at":{"format":"timestamp with time zone","type":"string","description":"Timestamp at which the last notification was sent"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"fts":{"format":"tsvector","type":"string","readOnly":true}},"type":"object","description":"Tasks per calendar event"},"taxes":{"required":["id","organization_id","percentage","created_at","updated_at","label","type"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this tax is defined in\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"percentage":{"format":"real","type":"number","description":"Percentage of the tax"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"label":{"format":"jsonb","description":"Localized label of the tax"},"fts":{"format":"tsvector","type":"string","readOnly":true,"description":"Full text search index"},"type":{"default":"on-top","enum":["on-top","included"],"format":"public.tax_type","type":"string","description":"Type of the tax: `on-top` or `included`"}},"type":"object","description":"Reusable tax definitions"},"user_profiles":{"required":["created_at","updated_at","email","language","user_id","fts"],"properties":{"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"last_login_at":{"format":"timestamp with time zone","type":"string","description":"Timestamp at which the user last logged in"},"email":{"format":"text","type":"string","description":"Email address of the user"},"name":{"format":"text","type":"string","description":"Name of the user"},"language":{"default":"en-US","enum":["be-BY","bg-BG","cs-CZ","da-DK","de-DE","en-GB","en-NZ","en-US","es-ES","eu-ES","fr-FR","gr-EL","he-IL","hr-HR","hu-HU","it-IT","ja-JP","lt-LT","lv-LV","nl-NL","nn-NO","pl-PL","pt-BR","ro-RO","ru-RU","sk-SK","sl-SI","sr-Cyrl","sr-Latn","sv-SE","tr-TR","uk-UA"],"format":"public.language","type":"string","description":"Language of the user"},"user_id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"avatar":{"format":"text","type":"string","description":"URL of the avatar image"},"week_starts_on":{"format":"smallint","type":"integer","description":"First day of the week: `0` for Sunday or `1` for Monday"},"first_week_contains_date":{"format":"smallint","type":"integer","description":"Day of January the first week of the year contains: `1`, or `4` as in ISO 8601"},"source":{"format":"text","type":"string","description":"Source of the user"},"fts":{"format":"tsvector","type":"string","readOnly":true,"description":"Full text search index"},"referrer_id":{"format":"uuid","type":"string","description":"Identifier of the user that referred the user"}},"type":"object","description":"User profiles"},"webhook_notifications":{"required":["id","webhook_id","created_at","updated_at","event_type","payload","status","tries","created_on"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"webhook_id":{"format":"uuid","type":"string","description":"Identifier of the related webhook\n\nNote:\nThis is a Foreign Key to `webhooks.id`.<fk table='webhooks' column='id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"event_type":{"enum":["bookings.created","bookings.updated","calendar_events.cancelled","calendar_events.confirmed","calendar_events.created","calendar_events.updated","contacts.created","contacts.updated","invoices.created","invoices.updated","members.created","members.updated","payments.created","payments.paid","payments.updated","products.created","products.updated","sites.created","sites.updated","tasks.completed","tasks.created","tasks.updated","widgets.created","widgets.updated"],"format":"public.webhook_event","type":"string","description":"Event the notification is about"},"payload":{"format":"jsonb","description":"JSON payload of the notification"},"status":{"default":"pending","enum":["error","pending","sent"],"format":"public.webhook_notification_status","type":"string","description":"Status of the notification: `pending`, `sent` or `error`"},"response":{"format":"text","type":"string","description":"Response of the endpoint"},"tries":{"default":0,"format":"integer","type":"integer","description":"Number of delivery attempts"},"created_on":{"default":"CURRENT_DATE","format":"date","type":"string","description":"Date on which the webhook notification was created"}},"type":"object","description":"Notifications sent and scheduled per webhook"},"webhooks":{"required":["id","created_at","updated_at","endpoint","description","organization_id","events","signing_secret","source"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"endpoint":{"format":"text","type":"string","description":"URL notifications are sent to"},"description":{"default":"","format":"text","type":"string","description":"Description of the webhook"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this webhook is defined in\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"events":{"format":"public.webhook_event[]","items":{"type":"string"},"type":"array","description":"Events the webhook is subscribed to. See [the complete list](/docs/integrations/webhooks#event-types)"},"signing_secret":{"default":"md5((random())::text)","format":"text","type":"string","description":"Secret used to sign notifications, so their validity can be verified"},"source":{"format":"text","type":"string","description":"Where the webhook was registered: in the admin, through the API, or by an external tool such as Zapier"}},"type":"object","description":"Endpoints that are notified as soon as certain events happen in Bookingmood. See [our documentation](/docs/integrations/webhooks) for how webhooks work"},"widget_analytics":{"required":["widget_id","date","organization_id","views"],"properties":{"widget_id":{"format":"uuid","type":"string","description":"Identifier of the viewed widget\n\nNote:\nThis is a Primary Key.<pk/>"},"date":{"default":"CURRENT_DATE","format":"date","type":"string","description":"Date of the views\n\nNote:\nThis is a Primary Key.<pk/>"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization the widget is defined in"},"views":{"default":1,"format":"integer","type":"integer","description":"Number of views on the date"}},"type":"object","description":"Daily views per widget"},"widget_listings":{"required":["widget_id","product_id","created_at","updated_at","order","url","id"],"properties":{"widget_id":{"format":"uuid","type":"string","description":"Identifier of the related widget\n\nNote:\nThis is a Foreign Key to `widgets.id`.<fk table='widgets' column='id'/>"},"product_id":{"format":"uuid","type":"string","description":"Identifier of the related unit\n\nNote:\nThis is a Foreign Key to `products.id`.<fk table='products' column='id'/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"order":{"format":"smallint","type":"integer","description":"Order of the listing as displayed in the widget"},"url":{"format":"jsonb","description":"Localized URL of the listing. Only applies when `widgets.interaction` is `forward` or `forward-same-tab`"},"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"}},"type":"object","description":"Units listed in a widget"},"widgets":{"required":["id","created_at","updated_at","title","type","organization_id","language","show_bookingmood_branding","stay_expanded","show_past","date_visibility","initial_date","autocomplete_date_selection","settings","show_booked_as","show_closed_as","show_pending_as","show_reviews","failure_url","enable_shopping_cart","show_complex_prices"],"properties":{"id":{"default":"extensions.uuid_generate_v4()","format":"uuid","type":"string","description":"Unique identifier\n\nNote:\nThis is a Primary Key.<pk/>"},"created_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Creation timestamp"},"updated_at":{"default":"now()","format":"timestamp with time zone","type":"string","readOnly":true,"description":"Last modification timestamp"},"title":{"default":"","format":"text","type":"string","description":"Title of the widget"},"type":{"default":"calendar","enum":["calendar","google-vr","inventory","multi-unit-site","pricing","review","search","single-unit-site","timeline"],"format":"public.channel_type","type":"string","description":"Type of the widget: `calendar`, `timeline`, `inventory` or `search`"},"organization_id":{"format":"uuid","type":"string","description":"Identifier of the organization this widget is defined in\n\nNote:\nThis is a Foreign Key to `organizations.id`.<fk table='organizations' column='id'/>"},"language":{"default":"en-US","enum":["be-BY","bg-BG","cs-CZ","da-DK","de-DE","en-GB","en-NZ","en-US","es-ES","eu-ES","fr-FR","gr-EL","he-IL","hr-HR","hu-HU","it-IT","ja-JP","lt-LT","lv-LV","nl-NL","nn-NO","pl-PL","pt-BR","ro-RO","ru-RU","sk-SK","sl-SI","sr-Cyrl","sr-Latn","sv-SE","tr-TR","uk-UA"],"format":"public.language","type":"string","description":"Language of the widget"},"visible_months":{"format":"boolean[]","items":{"type":"boolean"},"type":"array","description":"Months that are visible in the calendar. Deprecated"},"show_bookingmood_branding":{"default":true,"format":"boolean","type":"boolean","description":"Whether to show the Bookingmood branding"},"stay_expanded":{"default":false,"format":"boolean","type":"boolean","description":"Whether the date-selection section should stay expanded after selecting dates"},"font":{"format":"text","type":"string","description":"Font of the widget"},"show_past":{"default":false,"format":"boolean","type":"boolean","description":"Whether to show past dates in the calendar"},"redirect_url":{"format":"text","type":"string","description":"URL to redirect to after submitting a booking"},"currency":{"enum":["ARS","AUD","BRL","BYN","CAD","CHF","CLP","CNY","COP","CZK","DKK","EGP","EUR","GBP","HKD","HUF","ILS","INR","JPY","KRW","KYD","MAD","MXN","MYR","NGN","NOK","NZD","PEN","PHP","PLN","RON","RUB","SEK","SGD","THB","TRY","TWD","UAH","USD","VND","XOF","ZAR"],"format":"public.currency","type":"string","description":"Currency of the widget"},"fts":{"format":"tsvector","type":"string","readOnly":true,"description":"Full text search index"},"date_visibility":{"default":"all","enum":["all","custom","hide-closed","hide-unavailable"],"format":"public.widget_date_visibility","type":"string","description":"Which dates the calendar shows: `all`, `hide-closed` to hide closed dates, `hide-unavailable` to hide unavailable dates, or the deprecated `custom` to show selected months"},"initial_date":{"default":"today","enum":["next-available","today"],"format":"public.widget_initial_date","type":"string","description":"Initial date shown in the calendar"},"interaction":{"enum":["book","forward","forward-same-tab"],"format":"public.channel_interaction","type":"string","description":"What happens when a guest picks dates: `book` to book in the widget, or `forward` and `forward-same-tab` to open the listing URL in a new or the same tab"},"autocomplete_date_selection":{"default":false,"format":"boolean","type":"boolean","description":"Whether to autocomplete the date selection when only one date is available"},"settings":{"format":"jsonb","description":"Settings of the widget"},"show_booked_as":{"default":"unavailable","enum":["booked","unavailable"],"format":"public.show_booked_as","type":"string","description":"How to show booked dates"},"show_closed_as":{"default":"unavailable","enum":["closed","unavailable"],"format":"public.show_closed_as","type":"string","description":"How to show closed dates"},"show_pending_as":{"default":"TENTATIVE","enum":["CANCELLED","TENTATIVE","CONFIRMED"],"format":"public.calendar_event_status","type":"string","description":"How to interpret pending events"},"show_reviews":{"default":false,"format":"boolean","type":"boolean","description":"Whether to show reviews"},"failure_url":{"default":"__BOOKING_PAGE__","format":"text","type":"string","description":"URL to redirect to when a payment fails. `__BOOKING_PAGE__` shows the guest page"},"enable_shopping_cart":{"default":false,"format":"boolean","type":"boolean","description":"Whether guests can book multiple units at once"},"show_complex_prices":{"default":true,"format":"boolean","type":"boolean","description":"Whether guests can inspect seasonal prices in the calendar"}},"type":"object","description":"Embeddable widgets"},"BookingConfirmation":{"type":"object","properties":{"booking_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$","description":"The identifier of the booking"},"payment_expiry_timestamp":{"nullable":true,"description":"When the payment session expires, in milliseconds since epoch","type":"number"},"payment_url":{"nullable":true,"description":"The URL to redirect the user to, to pay for the booking. If set, the booking is completed once paid.","type":"string"},"reference":{"type":"string","description":"The public reference of the booking"},"secret":{"type":"string","description":"The secret reference of the booking, used in the guest page URL"}},"required":["booking_id","payment_expiry_timestamp","payment_url","reference","secret"],"additionalProperties":false,"title":"BookingConfirmation"},"Error":{"type":"object","properties":{"code":{"type":"string"},"details":{"nullable":true,"type":"string"},"hint":{"nullable":true,"type":"string"},"message":{"type":"string"}},"required":["code","details","hint","message"],"additionalProperties":false,"title":"Error"},"WebhookEvent":{"description":"Event a webhook can subscribe to","enum":["bookings.created","bookings.updated","calendar_events.created","calendar_events.updated","calendar_events.confirmed","calendar_events.cancelled","contacts.created","contacts.updated","invoices.created","invoices.updated","payments.created","payments.updated","payments.paid","tasks.created","tasks.updated","tasks.completed","members.created","members.updated","products.created","products.updated","sites.created","sites.updated","widgets.created","widgets.updated"],"type":"string","x-enum-descriptions":{"bookings.created":"A booking was created","bookings.updated":"A booking was updated","calendar_events.created":"A calendar event was created","calendar_events.updated":"A calendar event was updated","calendar_events.confirmed":"A calendar event was confirmed","calendar_events.cancelled":"A calendar event was cancelled","contacts.created":"A contact was created","contacts.updated":"A contact was updated","invoices.created":"An invoice was created","invoices.updated":"An invoice was updated","payments.created":"A payment was created","payments.updated":"A payment was updated","payments.paid":"A payment was paid","tasks.created":"A task was created","tasks.updated":"A task was updated","tasks.completed":"A task was completed","members.created":"A member was created","members.updated":"A member was updated","products.created":"A product was created","products.updated":"A product was updated","sites.created":"A site was created","sites.updated":"A site was updated","widgets.created":"A widget was created","widgets.updated":"A widget was updated"}}}}}