Skip to content

Zoho: Update Duplicate Check Preference

Zoho duplicateCheckPreference.updateDuplicateCheckPreference: arguments, response, policy and SDK examples.

← Duplicate check preference operations · Get started

Operation zoho.updateduplicatecheckpreference

Provider route: PUT /crm/v8/settings/duplicate_check_preference. 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["duplicateCheckPreference"]["updateDuplicateCheckPreference"]>[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.duplicateCheckPreference.updateDuplicateCheckPreference(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.duplicate_check_preference.update_duplicate_check_preference(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
queryobjectRequired within parentAdditional keys: not allowed
query.modulestringRequired within parentOne of: Leads
bodyobjectRequired within parentRepresents the request payload used to update duplicate check preference.
Additional keys: not allowed
body.duplicate_check_preferenceobjectRequired within parentDuplicate Check Preference details
Additional keys: not allowed
body.duplicate_check_preference.typestringRequired within parentType of duplicate check preference
One of: mapped_module_records, converted_records
body.duplicate_check_preference.type_configurationsarrayRequired within parentType configurations for duplicate check preference
Maximum items: 1
body.duplicate_check_preference.type_configurations[]objectEach itemType configuration details
Additional keys: not allowed
body.duplicate_check_preference.type_configurations[].field_mappingsarrayRequired within parentField mappings between the current module and the mapped module
body.duplicate_check_preference.type_configurations[].field_mappings[]objectEach itemField mapping details
Additional keys: not allowed
body.duplicate_check_preference.type_configurations[].field_mappings[].current_fieldobjectRequired within parentUnique field in the current module to match on
Additional keys: not allowed
body.duplicate_check_preference.type_configurations[].field_mappings[].current_field.api_namestringOptionalAPI name of the current module field. Validated when supplied, but the mapping is stored against id.
Maximum length: 50
Pattern: ^[A-Za-z][A-Za-z0-9_]*$
body.duplicate_check_preference.type_configurations[].field_mappings[].current_field.idstringRequired within parentField id of the current module field. The mapping is stored against this id, so it is mandatory.
Format: int64
body.duplicate_check_preference.type_configurations[].field_mappings[].current_field.namestringOptionalAccepted for symmetry with the response and ignored by the API.
Maximum length: 50
body.duplicate_check_preference.type_configurations[].field_mappings[].mapped_fieldobjectRequired within parentUnique field in the mapped module to match against
Additional keys: not allowed
body.duplicate_check_preference.type_configurations[].field_mappings[].mapped_field.api_namestringOptionalMapped field API name. Validated when supplied, but the mapping is stored against id.
Maximum length: 50
Pattern: ^[A-Za-z][A-Za-z0-9_]*$
body.duplicate_check_preference.type_configurations[].field_mappings[].mapped_field.idstringRequired within parentRepresents the ID of the mapped field. The mapping is stored against this id, so it is mandatory.
Format: int64
body.duplicate_check_preference.type_configurations[].field_mappings[].mapped_field.namestringOptionalAccepted for symmetry with the response and ignored by the API.
Maximum length: 50
body.duplicate_check_preference.type_configurations[].field_mappings[].mapped_field.selectedstringOptionalSend None to delete the existing mapping for this current_field. Any other value, or omitting the property, adds or updates the mapping.
One of: None
Maximum length: 4
body.duplicate_check_preference.type_configurations[].mapped_moduleobjectRequired within parentMapped module details
Additional keys: not allowed
body.duplicate_check_preference.type_configurations[].mapped_module.api_namestringOptionalMapped module API name. Validated when supplied, but the module is resolved from id.
Maximum length: 50
body.duplicate_check_preference.type_configurations[].mapped_module.idstringRequired within parentRepresents the ID of the mapped module. The module must resolve to Contacts.
Format: int64
body.duplicate_check_preference.type_configurations[].mapped_module.namestringOptionalAccepted for symmetry with the response and ignored by the API.
Maximum length: 50

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

FieldTypePresenceDescription and constraints
$objectRootRepresents the success response returned after the API updates the duplicate check preference.
Additional keys: not allowed
duplicate_check_preferenceobjectRequired within parentDuplicate Check Preference update response
Additional keys: not allowed
duplicate_check_preference.codestringOptionalResponse code for successful update
Known values: SUCCESS
duplicate_check_preference.detailsobjectOptionalAdditional details about the update operation
Additional keys: allowed
duplicate_check_preference.messagestringOptionalRepresents the message regarding the update operation.
Maximum length: 1000
duplicate_check_preference.statusstringOptionalStatus of the update operation
Known values: success

SDK function policy ID: zoho.updateduplicatecheckpreference. Catalog operation: updateDuplicateCheckPreference. 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.