KIS icon

KIS

Interact with KIS data

Actions5

Data → Update

AI-generated

Summary

Updates a document in a KIS collection

Inputs

  • collection (required) — The name or ID of the collection to operate on
  • documentId (required) — The ID of the document to update
  • applyToAllItems — If true, the operation runs once per incoming item; otherwise it runs only once
  • jsonParameters — When true, fields are sent as raw JSON instead of UI fields
  • fieldsUi — UI-defined fields to update, each with a name and value
  • fieldsJson — JSON string of fields to update, e.g. {"field":"value"}

Output shape

An array of objects, each containing the API response JSON for the updated document; for delete operations the object may contain a status message instead

The result array length matches the number of items processed (0 if none); delete responses include a status field indicating success (204) or failure with body

Examples

Example 1: Update a single document using UI fields

Set Collection to "customers", Document ID to "123", JSON Parameters false, Fields (UI) with name "status" and value "active"

Example 2: Update multiple items in batch

Enable Apply To All Items, provide collection and documentId via previous node, use JSON Parameters true with fieldsJson "{"name":"John"}"

Example 3: Delete a document

Set Operation to "delete", provide Collection and Document ID, leave JSON Parameters and fields unchanged

Links

Discussion