updateClick
Correct click metadata by updating an existing click record with its ID. Only specified fields are changed; omitted fields remain unchanged.
Instructions
Update a click record - Update an existing click record by ID. Fields omitted are untouched. Writes live data.
Use when: correcting click metadata. Rare - click records are typically append-only analytics.
Required: click_id.
See also: createClick (add new), deleteClick (remove permanently).
Returns: { status: "success", message: {...updatedRecord} } - the full updated record after changes applied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| click_id | Yes | ||
| click_type | No | ||
| click_name | No | ||
| click_url | No | ||
| _clear_fields | No | Column names to clear to empty string. Available on every `update*` operation. Works on base columns AND EAV/`users_meta` rows (rows preserved with `value=""`). To actually clear a field you MUST use this parameter — sending the field with `""` alone is a no-op (BD drops empty values). To remove a `users_meta` row entirely, use `deleteUserMeta`. See **Rule: Clearing fields**. Example: `_clear_fields: ["h2", "hero_link_url"]`. |