Actions14
- Collection Actions
- Global Actions
- Endpoint Actions
Collection → Update
AI-generatedSummary
Update documents in a selected Payload CMS collection
Inputs
- collection (required) — Choose the collection to operate on
- data (required) — The data to send (JSON format)
- additionalOptions — Optional query, pagination, filtering, and other parameters for the request
Output shape
array of objects, each containing a json field with the API response
Each element corresponds to one workflow item; on error the
jsonfield may hold error details, otherwise it contains the successful response.
Examples
Example 1: Update a post document with extra query parameters
collection: 'posts', data: {title: 'Updated Title'}, additionalOptions: {where: {}, query: {populate: 'author'}}