Patches an item in a collection.
Call this method when you need a partial update and want fields that aren't mentioned in the request to stay unchanged. Patch requests are also the right place to use fieldModifications actions such as SET_FIELD for a direct replacement and INCREMENT_FIELD for arithmetic changes. For different behavior, you can call:
This method modifies the specified item's existing data. Unlike Update Data Item, only the fields specified in the request are modified. Data that isn't explicitly modified remains unchanged.
To patch an item, specify its ID, the ID of the collection that contains it, and the modifications you want to apply. If an item is found in the specified collection with the specified ID, that item is patched. If the collection doesn't contain an item with that ID, the request fails.
Notes:
data._updatedDate property is updated to the current date and time.You can only call this method when authenticated as a Wix app or Wix user identity.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.