Zoho: Update Zia Enrichment Configurations for a specific module
Zoho ziaEnrichment.updateZiaEnrichmentConfigurations: arguments, response, policy and SDK examples.
← Zia enrichment operations · Get started
Operation zoho.updateziaenrichmentconfigurations
Provider route: PUT /crm/v8/settings/zia/data_enrichment/{id}. Alter supplies the connection’s credentials and routing.
Call through Alter
Section titled “Call through Alter”Install @alter-ai/sdk @alter-ai/zoho with npm, or alter-sdk-zoho with pip. Supply your connected customer’s grant ID and the arguments described below.
import { App } from "@alter-ai/sdk";import { ZohoIntegration } from "@alter-ai/zoho";
async function execute(input: Parameters<ZohoIntegration["ziaEnrichment"]["updateZiaEnrichmentConfigurations"]>[0]) { const app = new App({ apiKey: process.env.ALTER_API_KEY! }); try { const provider = new ZohoIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! }); const call = await provider.ziaEnrichment.updateZiaEnrichmentConfigurations(input); const result = await call.wait(); return result.bodyJson(); } finally { await app.close(); }}import osfrom alter_sdk import Appfrom alter_sdk_zoho import ZohoIntegration
async def execute(arguments): async with App(api_key=os.environ["ALTER_API_KEY"]) as app: provider = ZohoIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]}) call = await provider.zia_enrichment.update_zia_enrichment_configurations(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
path | object | Required within parent | Additional keys: not allowed |
path.id | string | Required within parent | Unique identifier of the Data Enrichment configuration to update. Maximum length: 19 |
body | object | Required within parent | Request body schema for updating Zia Enrichment configurations. Additional keys: not allowed |
body.data_enrichment | array | Required within parent | Array of updated data enrichment configurations. Maximum items: 50 |
body.data_enrichment[] | object | Each item | Updated configuration item for a single module. Additional keys: not allowed |
body.data_enrichment[].input_data_field_mapping | Model | Required within parent | Expand Zia Data Enrichment Configuration — request body — body data enrichment item input data field mapping |
body.data_enrichment[].output_data_field_mapping | Model | Required within parent | Expand Zia Data Enrichment Configuration — request body — body data enrichment item input data field mapping |
body.data_enrichment[].status | boolean | Optional | Whether the enrichment configuration should be active. |
Referenced models: Zia Data Enrichment Configuration — request body — body data enrichment item input data field mapping
Response
Section titled “Response”Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Enrichment updated successfully. Additional keys: not allowed |
data_enrichment | array | Required within parent | Array of update results for each configuration. Maximum items: 50 |
data_enrichment[] | object | Each item | Result item for a single enrichment configuration update. Additional keys: not allowed |
data_enrichment[].code | string | Required within parent | Result code — ‘SUCCESS’ for successful update. Maximum length: 255 |
data_enrichment[].details | object | Required within parent | Details of the updated enrichment configuration. Additional keys: not allowed |
data_enrichment[].details.id | string | Required within parent | Unique identifier of the updated enrichment configuration. Maximum length: 19 |
data_enrichment[].details.modified_by | object | Required within parent | User who last modified the enrichment configuration. Additional keys: not allowed |
data_enrichment[].details.modified_by.id | string | Required within parent | Unique identifier of the user who modified the configuration. Maximum length: 255 |
data_enrichment[].details.modified_by.name | string | Required within parent | Name of the user who modified the configuration. Maximum length: 255 |
data_enrichment[].details.modified_time | string | Required within parent | Timestamp when the configuration was last modified. Maximum length: 255 |
data_enrichment[].message | string | Required within parent | Human-readable message describing the operation result. Maximum length: 255 |
data_enrichment[].status | string | Required within parent | Overall status of the operation — ‘success’ or ‘error’. Maximum length: 255 |
Schemas
Section titled “Schemas”Zia Data Enrichment Configuration — request body — body data enrichment item input data field mapping
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | array | Root | Array of field mappings for write operations. Maximum items: 50 |
$[] | object | Each item | Field mapping item for write operations. Additional keys: not allowed |
$[].crm_field | JSON | Required within parent | CRM field object. Provide both ID and API name. Use the [Get Fields Metadata API](fields.yaml#$.paths./settings/fields.get) to get CRM field IDs and API names. |
$[].crm_field (anyOf 1) | object | Alternative | CRM field object with ID and API name. Additional keys: not allowed |
$[].crm_field (anyOf 1).api_name | string | Required within parent | API name of the CRM field. Maximum length: 255 |
$[].crm_field (anyOf 1).id | string | Required within parent | Unique identifier of the CRM field. Maximum length: 19 |
$[].crm_field (anyOf 2) | null | Alternative | Null value for CRM field (no mapping). |
$[].enrich_field | object | Required within parent | Zia enrichment field metadata. Additional keys: not allowed |
$[].enrich_field.name | string | Required within parent | Name of the Zia enrichment field. Maximum length: 255 |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: zoho.updateziaenrichmentconfigurations. Catalog operation: updateZiaEnrichmentConfigurations. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.
Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.