No one at WIX seems to know how this works: booking API

and from what I can tell, it doesn’t. I asked all of the WIX support entities (standard bot, WIX dev) and they have been unable to make it work. Possibly the documentation is wrong. but no one seems to take responsibility at WIX for fixing it.

Start here:
https://dev.wix.com/api/rest/wix-bookings/bookings/bookings-reader/list

The base API works fine and returns all bookings. However, if you try the query filter, it throws an error. I have tried every possible format and and nothing works for the filter. NONE of the examples provided work! Like this one which is close to what I need to accomplish:

curl -X GET /
    'http://www.wixapis.com/bookings/v1/bookings?withBookingAllowedActions=true&query.filter.stringValue={%22startTime%22:%20{%22$gte%22:%20%222020-04-27T10:00:00.000Z%22%20}}' \
    -H 'Authorization: <auth>'

To be complete:

  • I do not have a permissions issue, works fine pulling all bookings
  • I’ve tried dozens of queries including including placing the JSON equivalent in the body of the request (there are a few examples in other API’s which are POST that send the data in the body of the transaction)

Any ideas welcome, apparently WIX doesn’t know what their product does.

Thanks!

Note that this forum is dedicated to Corvid. For questions regarding the Wix Developers Program, go to the Developers Program site .

No place on that site to ask a question.

This forum is for Corvid discussions only. If you can’t get what you want at the Developers Program site then you should reach to Wix Customer Care .

This post will be closed.