fetch booked products

Is it possible to get the ff... 
  1. product category together with the bookings?
  2. fetch booked products in between dates?


  • Hi raymond_wend,

    Thanks for the question!

    For your first question, yes it appears you can use the start_date and end_date parameters to filter the results and only return bookings that were created between those two dates. For example, booking/?start_date=20181001&end_date=20181113 would return every booking that starts between October 1st, 2018, and November 13th, 2018. 

    As for getting the item category when pulling the booking information, at this time you will have to do a second query for the items themselves. This is to keep the individual requests as slim and fast as possible, as most people don't require the item's category when querying bookings. If you'd like I could make a feature request to have the API endpoint improved to include this information. This isn't a guarantee it will be added, but the more who ask for it, the more likely it is to be added. :)

    If you have any more questions or concerns feel free to email me at support@checkfront.com, and my team and I will be happy to help you out.

    Have a great day and Happy Bookings! :)

    Checkfront Support Team
Sign In or Register to comment.