Hi there, I am currently trying to use this endpoint: Accounts Dashboard | HubSpot to batch update landing pages. I am trying to update values of a custom module (simply toggling a Boolean field in that module) for multiple landing pages.
The problem I’m running into, as per the (limited) documentation on that page, the payload is an array of JSON objects that contains the fields to be updated. This works, I can provide the correct id and the correct JSON to update the widgets portion of the landing page. However, it seems that if I do not provide the data for the other modules (widgets) as well in my payload, it will delete that data from the page. The solution I can think of is to make a batch retrieve for the same landing pages, paste that JSON into the payload for the batch update and simply modify the parts I need to in that JSON.
I want to know if there is a different endpoint/method that can make this easier? I am concerned that I will accidentally delete things from my landing pages that I neglected to include in the payload for the batch update endpoint, as there doesn’t seem to be any checks on HubSpots end.