Skip to content

Zoho: Merge Tags

Zoho tagsActions.mergeTags: arguments, response, policy and SDK examples.

← Tags actions operations · Get started

Operation zoho.mergetags

Provider route: POST /crm/v8/settings/tags/{id}/actions/merge. 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["tagsActions"]["mergeTags"]>[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.tagsActions.mergeTags(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.tags_actions.merge_tags(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 parentMaximum length: 19
bodyModelOptionalExpand Merge Tags — request body — body

Referenced models: Merge Tags — request body — body

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

FieldTypePresenceDescription and constraints
$ModelRootExpand Merge Tags — response body

Referenced models: Merge Tags — response body

Merge Tags — response body
FieldTypePresenceDescription and constraints
$objectRootSuccess response when tags are merged successfully.
Additional keys: not allowed
tagsarrayOptionalArray containing the merged tag details
Maximum items: 1
tags[]ModelEach itemExpand Merge Tags — response body — tags item

Referenced models: Merge Tags — response body — tags item

Merge Tags — request body — body
FieldTypePresenceDescription and constraints
$objectRootRequest body schema for merging tags.
Additional keys: not allowed
tagsarrayRequired within parentArray containing the tag to merge (Required)
Maximum items: 1
tags[]ModelEach itemExpand Merge Tags — request body — body tags item

Referenced models: Merge Tags — request body — body tags item

Merge Tags — response body — tags item
FieldTypePresenceDescription and constraints
$objectRootNested schema for tag details in merge response.
Additional keys: not allowed
codestringOptionalStatus code of the merge operation
Maximum length: 255
detailsModelOptionalExpand Merge Tags — response body — tags item details
messagestringOptionalHuman-readable message about the merge result
Maximum length: 255
statusstringOptionalStatus of the merge operation
Maximum length: 255

Referenced models: Merge Tags — response body — tags item details

Merge Tags — request body — body tags item
FieldTypePresenceDescription and constraints
$objectRootNested schema for tag details in requests.
Additional keys: not allowed
color_codestring or nullOptionalColor code of the tag
Maximum length: 7
conflict_idstring or nullOptionalID of the tag to be merged into the master tag
Maximum length: 19
modified_timestring or nullOptionalLast modification timestamp of the tag
Format: date-time
Maximum length: 25
namestring or nullOptionalTag name
Maximum length: 25
Merge Tags — response body — tags item details
FieldTypePresenceDescription and constraints
$objectRootNested schema for details in merge response.
Additional keys: not allowed
color_codeJSONOptional
color_code (anyOf 1)stringAlternativeColor code of the tag
Maximum length: 255
color_code (anyOf 2)nullAlternativeColor code of the tag
Maximum length: 255
created_byModelOptionalExpand Merge Tags — response body — tags item details created by
created_timestringOptionalCreation timestamp of the tag
Maximum length: 255
idstringOptionalUnique identifier of the tag
Maximum length: 255
modified_byModelOptionalExpand Merge Tags — response body — tags item details modified by
modified_timestringOptionalLast modification timestamp of the tag
Maximum length: 255
ridstringOptionalResource ID
Format: uuid

Referenced models: Merge Tags — response body — tags item details created by, Merge Tags — response body — tags item details modified by

Merge Tags — response body — tags item details created by
FieldTypePresenceDescription and constraints
$objectRootNested schema for created_by user details.
Additional keys: not allowed
idstringOptionalUnique identifier of the user
Maximum length: 255
namestringOptionalName of the user who created the resource
Maximum length: 255
Merge Tags — response body — tags item details modified by
FieldTypePresenceDescription and constraints
$objectRootNested schema for modified_by user details.
Additional keys: not allowed
idstringOptionalUnique identifier of the user
Maximum length: 255
namestringOptionalName of the user who last modified the resource
Maximum length: 255

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