Actions11
- Context Actions
- List Actions
- Object Actions
- Process Actions
- Schema Actions
Object → Update
AI-generatedSummary
Update an existing Flexygo object via PUT request.
Inputs
- objectName (required) — Entity object name
- identifyBy — How to identify the object: ID or Filter. Default: id. Options: id, filter
- objectId (required) — The ID of the object. Shown when identifyBy is id.
- filter (required) — WHERE sentence to filter the object. Shown when identifyBy is filter
- fields — Fields to set on the object. Fixed collection with name and value sub-fields.
Output shape
array
JSON array containing the updated object data returned by the Flexygo Web API.
Examples
Example 1: Update object record by ID
identifyBy=ID, objectId='123', fields=[{name:'status', value:'active'}]
Example 2: Update object record by filter
identifyBy=Filter, filter='status=active', fields=[{name:'updatedAt', value='now()'}]