Patch API

Explore the methods and properties available in the Patch API.

Patches allow you to modify a particular entity, such as user profiles or session attributes, without knowing its current state.

Croct's mascot winking
Looking for something specific?

Use the search bar at the top of the page or press / to quickly search through the documentation.

Use the summary below to quickly jump to a specific topic:

PageDescription
setSet a value at a given path.
addAdd a value to a collection.
combineCombine two sets of values.
removeRemove values from a collection.
mergeMerge two maps or lists.
incrementIncrement a value by a given amount.
decrementDecrement a value by a given amount.
clearClear the value at the given path.
unsetDelete the key and value at a given path.
saveApply the changes to the entity.