find( )


Returns the bookings that match the query.

The find() function returns a Promise that resolves to the results found by the query and some information about the results. The Promise is rejected if find() is called with incorrect permissions or if any of the functions used to refine the query are invalid.

Note: Only users with Bookings Admin permissions can retrieve other customers' bookings. You can override the permissions by setting the suppressAuth options to true.

Method Declaration
Copy
Method Parameters
optionsQueryOptions

Options to use when performing a query.

Returns
Return Type:Promise<BookingsQueryResult>
Was this helpful?
Yes
No