Actions28
- Entity Actions
- Relation Actions
- Query Actions
- Search Actions
- Tool Actions
Relation → Update Detail
AI-generatedSummary
Updates fields on a detail relation belonging to an Efficy entity, using the entity’s edit context and the API’s updateDetail function.
Inputs
- Entity (required) — Efficy entity code for the parent record, such as
ComporCont. - Entity Key (required) — Primary key of the parent record.
- Detail Entity (required) — Entity code of the detail record to update.
- Detail Key (required) — Key of the detail relation, in the API’s
K_xxxorK_xxx_K_RELATIONformat. - Fields (JSON) (required) — JSON object mapping field names to values to update on the detail relation; defaults to
{ "QUANTITY": 1 }. - Options — Return Full Response defaults to false. When enabled, returns the complete API response array; otherwise, returns its first context result.
Output shape
A single n8n item containing the first API context result by default, or an object with a response array when Return Full Response is enabled.
The node sends an Efficy
editrequest withcommitandclosecontextenabled, then invokesupdateDetailwith the detail entity, detail key, and fields as@data. API errors are raised unless Continue On Fail is enabled, in which case the item contains anerrorfield.
Examples
Example 1: Update a product detail’s quantity on a company record.
Set Entity to Comp, Entity Key to the company key, Detail Entity to Prod, Detail Key to the relation key, and Fields (JSON) to { "QUANTITY": 3 }.