Discussions

Ask a Question
Back to All

API, updated_at field not updating proprely

We use the API with the following function:
https://api.lodgify.com/v2/properties/{id}

We use the updated_at to verify if we already have the property up to date in out database and if not, we update our database.

My client told me an item wasn't updated properly. After verification, we got the latest property up to date according to Lodgify but not to the reality.

It seem the property does not change the updated_at field properly when the client make a change in Lodgify.

Step to reproduce:

Fetch a property with https://api.lodgify.com/v2/properties/{id} ->Take note of the updated_at field
Open an existing property in Lodgify and make a change (change the title or image for exemple)
Fetch the property again with the same function. -> Verify if the updated_at field changed or not.