Skip to content

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.

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 os
from alter_sdk import App
from 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()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.idstringRequired within parentUnique identifier of the Data Enrichment configuration to update.
Maximum length: 19
bodyobjectRequired within parentRequest body schema for updating Zia Enrichment configurations.
Additional keys: not allowed
body.data_enrichmentarrayRequired within parentArray of updated data enrichment configurations.
Maximum items: 50
body.data_enrichment[]objectEach itemUpdated configuration item for a single module.
Additional keys: not allowed
body.data_enrichment[].input_data_field_mappingModelRequired within parentExpand Zia Data Enrichment Configuration — request body — body data enrichment item input data field mapping
body.data_enrichment[].output_data_field_mappingModelRequired within parentExpand Zia Data Enrichment Configuration — request body — body data enrichment item input data field mapping
body.data_enrichment[].statusbooleanOptionalWhether the enrichment configuration should be active.

Referenced models: Zia Data Enrichment Configuration — request body — body data enrichment item input data field mapping

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$objectRootEnrichment updated successfully.
Additional keys: not allowed
data_enrichmentarrayRequired within parentArray of update results for each configuration.
Maximum items: 50
data_enrichment[]objectEach itemResult item for a single enrichment configuration update.
Additional keys: not allowed
data_enrichment[].codestringRequired within parentResult code — ‘SUCCESS’ for successful update.
Maximum length: 255
data_enrichment[].detailsobjectRequired within parentDetails of the updated enrichment configuration.
Additional keys: not allowed
data_enrichment[].details.idstringRequired within parentUnique identifier of the updated enrichment configuration.
Maximum length: 19
data_enrichment[].details.modified_byobjectRequired within parentUser who last modified the enrichment configuration.
Additional keys: not allowed
data_enrichment[].details.modified_by.idstringRequired within parentUnique identifier of the user who modified the configuration.
Maximum length: 255
data_enrichment[].details.modified_by.namestringRequired within parentName of the user who modified the configuration.
Maximum length: 255
data_enrichment[].details.modified_timestringRequired within parentTimestamp when the configuration was last modified.
Maximum length: 255
data_enrichment[].messagestringRequired within parentHuman-readable message describing the operation result.
Maximum length: 255
data_enrichment[].statusstringRequired within parentOverall status of the operation — ‘success’ or ‘error’.
Maximum length: 255
Zia Data Enrichment Configuration — request body — body data enrichment item input data field mapping
FieldTypePresenceDescription and constraints
$arrayRootArray of field mappings for write operations.
Maximum items: 50
$[]objectEach itemField mapping item for write operations.
Additional keys: not allowed
$[].crm_fieldJSONRequired within parentCRM 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)objectAlternativeCRM field object with ID and API name.
Additional keys: not allowed
$[].crm_field (anyOf 1).api_namestringRequired within parentAPI name of the CRM field.
Maximum length: 255
$[].crm_field (anyOf 1).idstringRequired within parentUnique identifier of the CRM field.
Maximum length: 19
$[].crm_field (anyOf 2)nullAlternativeNull value for CRM field (no mapping).
$[].enrich_fieldobjectRequired within parentZia enrichment field metadata.
Additional keys: not allowed
$[].enrich_field.namestringRequired within parentName of the Zia enrichment field.
Maximum length: 255

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.

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.