legacy-knowledge-base
公開されました Sep. 10, 2025

Objects API PUT Calls Partially Update Resources Instead of Replacing Them

written-by

Emma Carr-Gardner

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • When using the Objects headless API, PUT commands for Objects are only overwriting fields included in the API call, rather than replacing the elements entirely.
  • PUT calls should update every object field. If a field is not in the request, the PUT call should remove the current value. Instead, it is working like a PATCH call.

Environment

  • Liferay DXP Quarterly Release

Resolution

  • To resolve this behavior, upgrade to Liferay DXP 2025.Q2, or request a hotfix built on LPD-53245, if you are still within the Liferay Support Phase as per the Liferay Service Life Policy.

Additional Information

 

 

did-this-article-resolve-your-issue

legacy-knowledge-base