POST

Query Extended Bookings


Retrieves up to 100 bookings, given the specified paging, filtering, and sorting.

Query Extended Bookings runs with these defaults, which you can override:

  • id sorted in ASC order
  • cursorPaging.limit is 50

To retrieve course bookings, filter by scheduleId of the relevant service.

You can retrieve information about which actions the customer can perform for the bookings. To do so, pass withBookingAllowedActions as true.

When using filters for dates, you must use UTC time.

See Supported Filters for a list of supported filters and sorting options.

To learn about working with Query endpoints, see API Query Language, Sorting and Paging, and Field Projection.

PropertyFiltersSort
booking.id$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithSort: ASC, DESC
booking.createdDate$eq, $ne, $in, $exists, $gt, $gte, $lt, $lteSort: ASC, DESC
booking.updatedDate$eq, $ne, $in, $exists, $gt, $gte, $lt, $lteSort: ASC, DESC
booking.startDate$eq, $ne, $in, $exists, $gt, $gte, $lt, $lteSort: ASC, DESC
booking.endDate$eq, $ne, $in, $exists, $gt, $gte, $lt, $lteSort: ASC, DESC
booking.bookedEntity.slot.sessionId$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithNone
booking.bookedEntity.slot.eventId$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithNone
booking.bookedEntity.slot.serviceId$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithNone
booking.bookedEntity.slot.scheduleId$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithNone
booking.bookedEntity.slot.resource.id$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithNone
booking.bookedEntity.slot.location.id$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithNone
booking.bookedEntity.slot.location.locationType$eq, $ne, $in, $existsNone
booking.bookedEntity.schedule.scheduleId$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithNone
booking.bookedEntity.schedule.serviceId$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithNone
booking.bookedEntity.schedule.location.id$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithNone
booking.bookedEntity.schedule.location.locationType$eq, $ne, $in, $existsNone
booking.bookedEntity.tags$hasSome, $hasAll, $exists, $isEmptyNone
booking.contactDetails.contactId$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithNone
booking.contactDetails.email$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithNone
booking.status$eq, $ne, $in, $existsNone
booking.paymentStatus$eq, $ne, $in, $existsNone
booking.selectedPaymentOption$eq, $ne, $in, $existsNone
booking.externalUserId$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithNone
booking.createdBy.contactId$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithNone
booking.createdBy.appId$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithNone
booking.createdBy.wixUserId$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithNone
booking.createdBy.memberId$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithNone
booking.createdBy.anonymousVisitorId$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithNone
booking.doubleBooked$eq, $ne, $in, $existsNone
booking.totalParticipants$eq, $ne, $in, $exists, $gt, $gte, $lt, $lteNone
booking.participantsChoices.serviceChoices.choices.optionId$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithNone
booking.participantsChoices.serviceChoices.choices.custom$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithNone
Permission Scopes
Read bookings calendar - including participants
Manage Bookings
Read Bookings - Including Participants
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/_api/bookings-reader/v2/extended-bookings/query

Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?