Patch

Update one or more fields of an item in a collection.

Parameters:

  • collectionName: The name of the collection to update the item in.
  • id: The ID of the item to update.
  • update: An object containing the fields to update and their new values.