How to pass array of object roomTypes when get info of a quote?

Discussions

Ask a Question
Back to All

How to pass array of object roomTypes when get info of a quote?

The response says "Cannot get data from api/v1/rates/calculate. The endpoint responded with: RoomTypesSettings must be provided." when I try to get detail information of a quote.
I tried some syntax to pass the array of objects through this GET request:

https://api.lodgify.com/v2/quote/279715?arrival=2022-07-01&departure=2022-12-31&roomTypes=[{id: "342405", people: 2}]

Please show me what is the corrent way, thanks.