Craft Documents icon

Craft Documents

Interact with Craft Multi-Document API - manage documents, blocks, collections, and search

Collection → Update Items

AI-generated

Summary

Update existing items within a specified collection by providing their IDs and optionally new titles and updated properties in JSON format.

Inputs

  • Collection Name or ID (required) — Select a target collection from your documents by choosing from the list or specifying an ID via expression.
  • Items to Update (required) — Provide one or more items to update, each with an Item ID (required), optional new title, and optional updated JSON-formatted properties.
  • Allow New Select Options — Optionally enable creating new select options if property values don't exist in the schema; use with caution.

Output shape

no body — success/failure only

The output of this operation does not return the updated items but indicates success or failure of the update request.

Examples

Example 1: Update items in a collection by specifying their IDs, new titles, and properties in JSON format.

Select the collection, add one or multiple items with their IDs and desired updates, optionally enable new select options, then execute to update those items in Craft.

Links

Discussion