> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: queryExtendedBookings(query: CommonQueryV2, options: QueryExtendedBookingsOptions) # Method package: wixBookingsV2 # Method menu location: wixBookingsV2 --> extendedBookings --> queryExtendedBookings # Method Link: https://dev.wix.com/docs/velo/apis/wix-bookings-v2/extended-bookings/query-extended-bookings.md # Method Description: Retrieves a list of bookings, including additional extended information, given the provided paging, filtering, and sorting. Up to 100 extended bookings can be returned per request. `queryExtendedBookings()` runs with these defaults, which you can override: - `createdDate` sorted in `DESC` order - `cursorPaging.limit` is `50` You can retrieve information about which actions the customer can perform for the bookings. To do so, pass `withBookingAllowedActions` as `true`. For field support, see [supported filters](https://www.wix.com/velo/reference/wix-bookings-v2/extendedbookings/supported-filters) for more information. You can specify a filter only once per query. If you specify a filter more than once, only the first filter determines the extended bookings that are returned. When filtering by date, you must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## queryExtendedBookings example ```javascript import { extendedBookings } from 'wix-bookings.v2'; async function queryExtendedBookings(query, options) { try { const result = await extendedBookings.queryExtendedBookings(query, options); return result; } catch (error) { console.error(error); // Handle the error } } ``` ## queryExtendedBookings example for exporting from backend code ```javascript import { extendedBookings } from 'wix-bookings.v2'; import { webMethod, Permissions } from 'wix-web-module'; export const queryExtendedBookings = webMethod( Permissions.Anyone, async (query, options) => { try { const result = await extendedBookings.queryExtendedBookings(query, options); return result; } catch (error) { console.error(error); // Handle the error } } ); ``` ---