Zoho: Update Blueprints
Zoho blueprints.putBlueprint: arguments, response, policy and SDK examples.
← Blueprints operations · Get started
Operation zoho.putblueprint
Provider route: PUT /crm/v8/settings/blueprints. 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["blueprints"]["putBlueprint"]>[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.blueprints.putBlueprint(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.blueprints.put_blueprint(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
headers | object | Required within parent | Additional keys: not allowed |
headers.X-ZOHO-SERVICE | string | Required within parent | One of: automation |
body | Model | Optional | Expand Update Blueprints — request body — body |
Referenced models: Update Blueprints — request body — body
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 |
|---|---|---|---|
$ | JSON | Root | |
$ (anyOf 1) | Model | Alternative | Expand Update Blueprints — response body — blueprints — Put Blueprint List Response |
$ (anyOf 2) | Model | Alternative | Expand Update Blueprints — response body — blueprints — Put Blueprint Partial Response |
Referenced models: Update Blueprints — response body — blueprints — Put Blueprint List Response, Update Blueprints — response body — blueprints — Put Blueprint Partial Response
Schemas
Section titled “Schemas”64 more schemas are linked from the tables above, on the schema pages.
Update Blueprints — response body — blueprints — Put Blueprint List Response
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the response returned when the list of blueprints is successfully updated. Additional keys: not allowed |
blueprints | array | Optional | Represents the list of blueprints returned in the response. Maximum items: 2 |
blueprints[] | JSON | Each item | |
blueprints[] (anyOf 1) | Model | Alternative | Expand Blueprint — response body — blueprints item |
blueprints[] (anyOf 2) | Model | Alternative | Expand Update Blueprints — response body — blueprints blueprints item blueprints |
Referenced models: Update Blueprints — response body — blueprints blueprints item blueprints, Blueprint — response body — blueprints item
Update Blueprints — response body — blueprints — Put Blueprint Partial Response
Referenced models: Update Blueprints — response body — blueprints / blueprints / item / code: DUPLICATE DATA, message: There is already a blueprint with this name, status: error, Update Blueprints — response body — blueprints / blueprints / item / code: INVALID DATA, message: Invalid data, status: error — Blueprints Invalid Data Regex Error, Update Blueprints — response body — blueprints / blueprints / item / code: INVALID DATA, message: Invalid data type, status: error, Update Blueprints — response body — blueprints / blueprints / item / code: INVALID DATA, message: Invalid data, status: error — Blueprints Invalid Data With Supported Values Error, Update Blueprints — response body — blueprints / blueprints / item / code: MANDATORY NOT FOUND, message: Required field is missing, status: error, Update Blueprints — response body — blueprints / blueprints / item / code: DEPENDENT MISMATCH, status: error — Cross Module Node Mapping Error, Blueprint — response body — blueprints item, Update Blueprints — response body — blueprints / blueprints / item / code: DEPENDENT MISMATCH, status: error — Dependent Mismatch Connection Error, Update Blueprints — response body — blueprints / blueprints / item / code: DEPENDENT MISMATCH, message: The given state option does not belong to the specified pipeline, status: error, Update Blueprints — response body — blueprints / blueprints / item / code: CANNOT PROCEED, message: given state is not connected to any other state, status: error, Update Blueprints — response body — blueprints / blueprints / item / code: DUPLICATE DATA, status: error, Update Blueprints — response body — blueprints / blueprints / item / code: INVALID DATA, message: Invalid data, invalid data, status: error, Update Blueprints — response body — blueprints / blueprints / item / code: INVALID DATA, message: invalid data, status: error, Update Blueprints — response body — blueprints / blueprints / item / code: CANNOT PROCESS, status: error — Orphan Connection Error, Update Blueprints — response body — blueprints / blueprints / item / code: CANNOT PROCESS, status: error — Orphan State Connection Error
Update Blueprints — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the request body used to update multiple blueprints in bulk. Additional keys: not allowed |
blueprints | array | Required within parent | Represents the list of blueprints to be updated. Maximum items: 1 |
blueprints[] | Model | Each item | Expand Update Blueprints — request body — body blueprints item |
Referenced models: Update Blueprints — request body — body blueprints item
Update Blueprints — response body — blueprints blueprints item blueprints
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the list of blueprints returned in the response. Additional keys: not allowed |
blueprints | array | Optional | Represents the list of blueprints. Maximum items: 1 |
blueprints[] | Model | Each item | Expand Blueprint — response body — blueprints item |
Referenced models: Blueprint — response body — blueprints item
Blueprint — response body — blueprints item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents an individual Blueprint's deletion status. Additional keys: not allowed |
code | string | Required within parent | Represents the status code indicating the outcome of the Blueprint deletion. Possible values: SUCCESS - Indicates that the Blueprint deletion completed successfully. Known values: SUCCESS |
details | Model | Required within parent | Expand Blueprint — response body — blueprints item details |
message | string | Required within parent | Represents the message describing the outcome of the Blueprint deletion. Maximum length: 255 |
status | string | Required within parent | Represents the status of the Blueprint deletion operation. Maximum length: 255 |
Referenced models: Blueprint — response body — blueprints item details
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: zoho.putblueprint. Catalog operation: putBlueprint. 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.