Zoho: Wizard — wizards update Wizard
Zoho wizards.updateWizard: arguments, response, policy and SDK examples.
← Wizards operations · Get started
Operation zoho.updatewizard
Provider route: PATCH /crm/v8/settings/wizards/{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["wizards"]["updateWizard"]>[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.wizards.updateWizard(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.wizards.update_wizard(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 | Numeric unique identifier of the wizard. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body | object | Required within parent | Request body to update an existing wizard configuration. Additional keys: not allowed |
body.wizards | array | Required within parent | List of wizard definitions to be updated. Only one wizard can be updated per request. Maximum items: 1 |
body.wizards[] | object | Each item | Wizard definition payload for update. Additional keys: not allowed |
body.wizards[].active | boolean | Optional | Indicates whether the wizard is active. |
body.wizards[].containers | array | Optional | Containers that bind a layout to its wizard screens and chart definition. Maximum items: 7 |
body.wizards[].containers[] | object | Each item | Container that links a layout with its screens and chart data for this wizard. Additional keys: not allowed |
body.wizards[].containers[]._delete | boolean | Optional | Specify `true` to delete this existing container. |
body.wizards[].containers[].chart_data | object | Optional | Metadata representing the visual flow between screens in the wizard. Additional keys: not allowed |
body.wizards[].containers[].chart_data.color_palette | object | Optional | Color palette used in the wizard canvas. Additional keys: not allowed |
body.wizards[].containers[].chart_data.color_palette.button_background | array | Optional | List of hex color values used for button backgrounds. Maximum items: 10 |
body.wizards[].containers[].chart_data.color_palette.button_background[] | string | Each item | Hex color code used for button backgrounds (for example, #FFFFFF). Maximum length: 7 |
body.wizards[].containers[].chart_data.connections | array | Optional | Connections between source button and target screens in the wizard flow. Maximum items: 75 |
body.wizards[].containers[].chart_data.connections[] | object | Each item | Connection from a source button to a target screen. Additional keys: not allowed |
body.wizards[].containers[].chart_data.connections[].source_button | object | Required within parent | Button from which the connection originates. Additional keys: not allowed |
body.wizards[].containers[].chart_data.connections[].source_button.display_label | string | Optional | Display label of the button. Maximum length: 255 |
body.wizards[].containers[].chart_data.connections[].source_button.id | string | Optional | Numeric unique identifier of the button. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].chart_data.connections[].source_button.reference_id | string | Optional | Temporary identifier used to reference a button created in the same payload. Maximum length: 50 Pattern: {{[a-zA-Z0-9]+}} |
body.wizards[].containers[].chart_data.connections[].source_button (anyOf 1) | object | Alternative | Use this when referencing by id. Additional keys: allowed |
body.wizards[].containers[].chart_data.connections[].source_button (anyOf 2) | object | Alternative | Use this when referencing by reference_id. Additional keys: allowed |
body.wizards[].containers[].chart_data.connections[].target_screen | object | Required within parent | Target screen node in the wizard flow that this connection points to. Either an existing screen (`id`) or a temporary screen (`reference_id`) must be provided. Additional keys: not allowed |
body.wizards[].containers[].chart_data.connections[].target_screen.display_label | string | Optional | Display label of the target screen. Maximum length: 255 |
body.wizards[].containers[].chart_data.connections[].target_screen.id | string | Optional | Numeric unique identifier of the target screen. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].chart_data.connections[].target_screen.reference_id | string | Optional | Temporary identifier used to reference a target screen that is created or updated in the same request. Maximum length: 50 Pattern: {{[a-zA-Z0-9]+}} |
body.wizards[].containers[].chart_data.connections[].target_screen (anyOf 1) | object | Alternative | Use this when the connection points to an existing persisted screen. Additional keys: allowed |
body.wizards[].containers[].chart_data.connections[].target_screen (anyOf 2) | object | Alternative | Use this when the connection points to a screen addressed by reference within the same request. Additional keys: allowed |
body.wizards[].containers[].chart_data.nodes | array | Required within parent | Visual nodes representing screens in the wizard flow. Maximum items: 75 |
body.wizards[].containers[].chart_data.nodes[] | object | Each item | Node representing a screen on the wizard canvas. Additional keys: not allowed |
body.wizards[].containers[].chart_data.nodes[].pos_x | integer | Required within parent | X-coordinate (in pixels) of the node on the canvas. Format: int32 |
body.wizards[].containers[].chart_data.nodes[].pos_y | integer | Required within parent | Y-coordinate (in pixels) of the node on the canvas. Format: int32 |
body.wizards[].containers[].chart_data.nodes[].screen | object | Required within parent | Screen represented by this node. Must refer to an existing screen or a new one in the same payload. Additional keys: not allowed |
body.wizards[].containers[].chart_data.nodes[].screen.display_label | string | Optional | Display label of the screen. Maximum length: 255 |
body.wizards[].containers[].chart_data.nodes[].screen.id | string | Optional | Numeric unique identifier of the screen. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].chart_data.nodes[].screen.reference_id | string | Optional | Temporary identifier used to reference a screen that is created or updated in the same request. Maximum length: 50 Pattern: {{[a-zA-Z0-9]+}} |
body.wizards[].containers[].chart_data.nodes[].screen (anyOf 1) | object | Alternative | Use this form when referencing an existing screen by its persistent ID. Additional keys: allowed |
body.wizards[].containers[].chart_data.nodes[].screen (anyOf 2) | object | Alternative | Use this form when referencing a screen by a temporary reference_id within the same request. Additional keys: allowed |
body.wizards[].containers[].chart_data.nodes[].start_node | boolean | Required within parent | Indicates whether this node is the starting screen in the flow. |
body.wizards[].containers[].layout | object | Required within parent | Layout from which wizard fields are sourced. Additional keys: not allowed |
body.wizards[].containers[].layout._delete | boolean | Optional | Specify `true` to remove this layout binding from the container. |
body.wizards[].containers[].layout.id | string | Required within parent | Numeric unique identifier of the layout. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]{1,19}$ |
body.wizards[].containers[].layout.name | string | Optional | Name of the layout. Ignored for resolution, used only for readability. Maximum length: 50 |
body.wizards[].containers[].screens | array | Optional | Screens included in this container for the wizard. Maximum items: 75 |
body.wizards[].containers[].screens[] | object | Each item | Screen definition that groups segments. Additional keys: not allowed |
body.wizards[].containers[].screens[]._delete | boolean | Optional | Specify `true` to delete this existing screen. Applicable only when `id` (an existing screen) is provided. |
body.wizards[].containers[].screens[].conditional_rules | array | Optional | Conditional rules evaluated on this screen. Maximum items: 50 |
body.wizards[].containers[].screens[].conditional_rules[] | object | Each item | Conditional rule configuration for the screen. Additional keys: not allowed |
body.wizards[].containers[].screens[].conditional_rules[]._delete | boolean | Optional | Specify `true` to delete this existing conditional rule. Applicable only when `query_id` is provided. |
body.wizards[].containers[].screens[].conditional_rules[].actions | array | Optional | List of actions executed when the criteria is satisfied. Maximum items: 50 |
body.wizards[].containers[].screens[].conditional_rules[].actions[] | Model | Each item | Expand Wizards — request body — body wizards item containers item screens item conditional rules item actions item |
body.wizards[].containers[].screens[].conditional_rules[].criteria | Model | Optional | Expand Wizards — request body — body wizards item containers item screens item conditional rules item criteria |
body.wizards[].containers[].screens[].conditional_rules[].execute_on | string | Optional | Event on which the rule executes, for example ‘create_edit’. Maximum length: 50 |
body.wizards[].containers[].screens[].conditional_rules[].query_id | string | Optional | Specify the unique numeric identifier of an existing conditional rule to update in place. Omit this to add a new conditional rule. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].screens[].display_label | string | Optional | Display label of the screen. Maximum length: 255 |
body.wizards[].containers[].screens[].id | string | Optional | Numeric unique identifier of the screen. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].screens[].reference_id | string | Optional | Temporary identifier used to reference this screen within this request. Maximum length: 50 Pattern: {{[a-zA-Z0-9]+}} |
body.wizards[].containers[].screens[].segments | array | Optional | Segments that group fields, text, and buttons on the screen. Maximum items: 75 |
body.wizards[].containers[].screens[].segments[] | object | Each item | Segment inside a screen. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[]._delete | boolean | Optional | Specify `true` to delete this existing segment. Applicable only when referencing an existing segment via `reference_id`. |
body.wizards[].containers[].screens[].segments[].buttons | array | Optional | Buttons displayed inside this segment. Present for buttons segments. Maximum items: 50 |
body.wizards[].containers[].screens[].segments[].buttons[] | object | Each item | Button configuration inside the segment. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[]._delete | boolean | Optional | Specify `true` to delete this existing button. Applicable only when `id` (an existing button) is provided. |
body.wizards[].containers[].screens[].segments[].buttons[].background_color | string | Optional | Background color of the button (hex value). Maximum length: 7 |
body.wizards[].containers[].screens[].segments[].buttons[].category | string | Optional | Category of the button. One of: wizard_button, custom_button |
body.wizards[].containers[].screens[].segments[].buttons[].color | string | Optional | Text color of the button (hex value). Maximum length: 7 |
body.wizards[].containers[].screens[].segments[].buttons[].criteria | object | Optional | Specify the criteria controlling the visibility or behavior of this button. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1) | object | Alternative | Grouped criteria with a logical operator. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group | array | Required within parent | Specify the list of individual criteria combined by `group_operator`. Maximum items: 50 |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group[] | object | Each item | Specify a single criterion in the group. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group[].comparator | string | Required within parent | Specify the comparator used to evaluate the criterion. Maximum length: 50 |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group[].field | object | Required within parent | Specify the field to evaluate. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group[].field.api_name | string | Optional | Specify the API name of the field. Maximum length: 50 Pattern: ^[A-Za-z][A-Za-z0-9_]*$ |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group[].field.id | string | Required within parent | Specify the unique numeric identifier of the field. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group[].value | string | Required within parent | Specify the value used in the comparison. Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group_operator | string | Required within parent | Specify the logical operator used to combine the grouped criteria. One of: and, or |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 2) | object | Alternative | A single criterion without grouping. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 2).comparator | string | Required within parent | Specify the comparator used to evaluate the criterion. Maximum length: 50 |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 2).field | object | Required within parent | Specify the field to evaluate. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 2).field.api_name | string | Optional | Specify the API name of the field. Maximum length: 50 Pattern: ^[A-Za-z][A-Za-z0-9_]*$ |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 2).field.id | string | Required within parent | Specify the unique numeric identifier of the field. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 2).value | string | Required within parent | Specify the value used in the comparison. Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].buttons[].display_label | string | Optional | Display label of the button. Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].buttons[].id | string | Optional | Numeric unique identifier of the button. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].screens[].segments[].buttons[].message | object | Optional | Specify the message configuration to show when this button performs a save action. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].message.content | string | Optional | Specify the body content of the acknowledgement message. Maximum length: 2000 |
body.wizards[].containers[].screens[].segments[].buttons[].message.title | string | Optional | Specify the title of the acknowledgement message. Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].buttons[].profiles | array | Optional | Profiles for which this button is applicable. Maximum items: 500 |
body.wizards[].containers[].screens[].segments[].buttons[].profiles[] | object | Each item | Profile allowed to use this button. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].profiles[].id | string | Required within parent | Numeric unique identifier of the profile. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]{1,19}$ |
body.wizards[].containers[].screens[].segments[].buttons[].profiles[].name | string | Optional | Name of the profile. Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].buttons[].reference_id | string | Optional | Internal reference identifier used to map this button within the same request. Maximum length: 50 Pattern: {{[a-zA-Z0-9]+}} |
body.wizards[].containers[].screens[].segments[].buttons[].resource | object or null | Optional | Specify the resource associated with the button, if any. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].resource.id | string | Required within parent | Specify the unique numeric identifier of the resource. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].screens[].segments[].buttons[].resource.name | string | Optional | Specify the name of the resource. Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].buttons[].sequence_number | integer | Optional | Sequence of the button within the segment. Format: int32 |
body.wizards[].containers[].screens[].segments[].buttons[].shape | string | Optional | Shape of the button. One of: square, capsule, round |
body.wizards[].containers[].screens[].segments[].buttons[].show_summary_on | string or null | Optional | Specify the event on which a summary screen is shown after this button action. Possible values: - `create` - Show the summary when creating a record. - `edit` - Show the summary when editing a record. - `create_and_edit` - Show the summary on both create and edit. One of: create, create_and_edit, null |
body.wizards[].containers[].screens[].segments[].buttons[].target_screen | object | Optional | Target screen navigated to when this button is clicked. Must reference an existing screen or a new one in the same request. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].target_screen.display_label | string | Optional | Display label of the target screen. Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].buttons[].target_screen.id | string | Optional | Numeric unique identifier of the target screen. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].screens[].segments[].buttons[].target_screen.reference_id | string | Optional | Temporary identifier used to reference a target screen created/updated in the same request. Maximum length: 50 Pattern: {{[a-zA-Z0-9]+}} |
body.wizards[].containers[].screens[].segments[].buttons[].target_screen (anyOf 1) | object | Alternative | Use this when referencing an existing screen using its unique ID. Additional keys: allowed |
body.wizards[].containers[].screens[].segments[].buttons[].target_screen (anyOf 2) | object | Alternative | Use this when referencing a new screen using a temporary reference_id. Additional keys: allowed |
body.wizards[].containers[].screens[].segments[].buttons[].transition | object | Optional | Specify additional transition configuration for the button, if any. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].transition.id | string | Required within parent | Specify the unique numeric identifier of the automation transition wired to this button. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].screens[].segments[].buttons[].type | string | Optional | Type of button action. One of: save, transition |
body.wizards[].containers[].screens[].segments[].buttons[].visibility | string | Optional | Visibility behavior of the button. One of: hide, disable, show |
body.wizards[].containers[].screens[].segments[].buttons[] (anyOf 1) | object | Alternative | Use this when referencing an existing button using its unique ID. Additional keys: allowed |
body.wizards[].containers[].screens[].segments[].buttons[] (anyOf 2) | object | Alternative | Use this when referencing a button using a temporary reference_id in the same request. Additional keys: allowed |
body.wizards[].containers[].screens[].segments[].content | string | Optional | Static content, used for text_label segments. Maximum length: 2000 |
body.wizards[].containers[].screens[].segments[].display_label | string | Optional | Display label of the segment. Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].elements | array | Optional | Field elements inside this segment. Present for composite segments. Maximum items: 200 |
body.wizards[].containers[].screens[].segments[].elements[] | object | Each item | Element inside a segment, typically a field. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].elements[].resource | object | Required within parent | Resource referenced by this element. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].elements[].resource.id | string | Required within parent | Numeric unique identifier of the resource. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].screens[].segments[].elements[].resource.name | string | Optional | API name of the resource. Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].elements[].sequence_number | integer | Optional | Sequence in which the element appears within the segment. Format: int32 |
body.wizards[].containers[].screens[].segments[].elements[].type | string | Required within parent | Type of the element, for example ‘field’. One of: field, query_component, segment Maximum length: 50 |
body.wizards[].containers[].screens[].segments[].fields | array | Optional | Specify the list of fields to include in this segment. For `fields`-type segments, specify `id` directly on the item (only numeric `id` is accepted; `api_name` is not supported for updates). For `subforms`-type segments, specify `id`/`api_name` directly on the item. Maximum items: 75 |
body.wizards[].containers[].screens[].segments[].fields[] | object | Each item | Specify a field to include in this segment. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].fields[] (anyOf 1) | object | Alternative | Represents a field reference for a `fields`-type segment. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].fields[] (anyOf 1)._delete | boolean | Optional | Specify `true` to remove this field from the segment. |
body.wizards[].containers[].screens[].segments[].fields[] (anyOf 1).id | string | Required within parent | Numeric unique identifier of the field. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].screens[].segments[].fields[] (anyOf 1).sequence_number | integer | Optional | Specify the sequence number that determines the position of this field within the segment. Required when adding this field to the segment for the first time. Format: int32 |
body.wizards[].containers[].screens[].segments[].fields[] (anyOf 2) | Model | Alternative | Expand Wizards — request body — body wizards item containers item screens item segments item fields item api name, id, sequence number |
body.wizards[].containers[].screens[].segments[].name | string | Optional | Name of the segment (used for text_label and buttons segments). Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].reference_id | string | Optional | Internal reference identifier used to map this segment within the same request. Maximum length: 50 Pattern: {{[a-zA-Z0-9]+}} |
body.wizards[].containers[].screens[].segments[].sequence_number | integer | Required within parent | Sequence in which the segment appears within the screen. Format: int32 |
body.wizards[].containers[].screens[].segments[].tab_traversal | string | Optional | Specify the tab traversal direction for keyboard navigation within this segment (legacy layout only). Possible values: - `left_to_right` - Tab moves through elements from left to right. - `top_to_bottom` - Tab moves through elements from top to bottom. One of: left_to_right, top_to_bottom |
body.wizards[].containers[].screens[].segments[].type | string | Required within parent | Type of segment, for example ‘composite’, ‘text_label’, or ‘buttons’. One of: composite, fields, subforms, text_label, widget, buttons Maximum length: 50 |
body.wizards[].containers[].screens[].segments[].widget | object | Optional | Widget resource linked to this segment. Required when type is ‘widget’. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].widget.id | string | Required within parent | Numeric unique identifier of the widget. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].screens[].segments[].widget.name | string | Optional | Name of the widget. Maximum length: 255 |
body.wizards[].module | Model | Optional | Expand Wizards — request body — body wizards item module |
body.wizards[].name | string | Optional | Unique name of the wizard used in the API. Maximum length: 30 |
body.wizards[].portal_user_types | array | Optional | Client portal user types that are allowed to access the wizard. Maximum items: 500 |
body.wizards[].portal_user_types[] | object | Each item | Portal user type allowed to access the wizard. Additional keys: not allowed |
body.wizards[].portal_user_types[]._delete | boolean | Optional | Specify `true` to remove this existing portal user type from the wizard. |
body.wizards[].portal_user_types[].id | string | Required within parent | Numeric unique identifier of the portal user type. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].portal_user_types[].name | string | Optional | Internal name of the portal user type. Maximum length: 255 |
body.wizards[].profiles | array | Optional | Profiles allowed to access the wizard. Maximum items: 500 |
body.wizards[].profiles[] | object | Each item | Profile that can access the wizard. Additional keys: not allowed |
body.wizards[].profiles[]._delete | boolean | Optional | Specify `true` to remove this existing profile from the wizard. |
body.wizards[].profiles[].id | string | Required within parent | Numeric unique identifier of the profile. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]{1,19}$ |
body.wizards[].profiles[].name | string | Optional | Name of the profile. Maximum length: 255 |
Referenced models: Wizards — request body — body wizards item containers item screens item conditional rules item actions item, Wizards — request body — body wizards item containers item screens item conditional rules item criteria, Wizards — request body — body wizards item containers item screens item segments item fields item api name, id, sequence number, Wizards — request body — body wizards item module
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 | Response body returned after updating a wizard. Additional keys: not allowed |
wizards | array | Required within parent | List of update results for each wizard. Maximum items: 1 |
wizards[] | object | Each item | Result for a single wizard update. Additional keys: not allowed |
wizards[].code | string | Required within parent | Response code for successful update. Known values: SUCCESS |
wizards[].details | object | Required within parent | Contains identifiers related to the updated wizard. Additional keys: not allowed |
wizards[].details.id | string | Required within parent | Numeric unique identifier of the updated wizard. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
wizards[].message | string | Required within parent | Message describing the update result. Known values: wizard updated successfully Maximum length: 255 |
wizards[].status | string | Required within parent | Indicates that the wizard was updated successfully. Known values: success |
Schemas
Section titled “Schemas”Wizards — request body — body wizards item containers item screens item conditional rules item actions item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Action configuration executed when the conditional rule criteria is met. Additional keys: not allowed |
exempted_portal_user_types | array | Optional | Portal user types for which this action should not be applied when using lock-type actions. Maximum items: 500 |
exempted_portal_user_types[] | object | Each item | Portal user type exempted from this action. Additional keys: not allowed |
exempted_portal_user_types[].id | string | Optional | Numeric unique identifier of the portal user type. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
exempted_portal_user_types[].name | string | Optional | Name of the portal user type. Maximum length: 255 |
exempted_profiles | array | Optional | Profiles for which this action should not be applied when using lock-type actions. Maximum items: 500 |
exempted_profiles[] | object | Each item | Profile exempted from this action. Additional keys: not allowed |
exempted_profiles[].id | string | Optional | Numeric unique identifier of the profile. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]{1,19}$ |
exempted_profiles[].name | string | Optional | Name of the profile. Maximum length: 255 |
field | object | Optional | Field that this action targets. Either field or segment must be provided. Additional keys: not allowed |
field.api_name | string | Optional | API name of the target field. Maximum length: 50 Pattern: ^[A-Za-z][A-Za-z0-9_]*$ |
field.id | string | Required within parent | Numeric unique identifier of the field. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
segment | Model | Optional | Expand Wizards — request body — body wizards item containers item screens item conditional rules item actions item segment |
type | string | Required within parent | Type of action to perform on the field or segment. One of: show_fields, show_subforms, set_mandatory, show_text_component, set_value, set_lock Maximum length: 50 |
value | string | Optional | Value to set on the field when using the 'set_value' action type; ignored for other action types. Maximum length: 2000 |
$ (anyOf 1) | object | Alternative | Shape for actions that target a field. Additional keys: allowed |
$ (anyOf 2) | object | Alternative | Shape for actions that target a segment. Additional keys: allowed |
$ (anyOf 3) | object | Alternative | Shape for lock-type actions that target a field with exemptions. Additional keys: allowed |
Referenced models: Wizards — request body — body wizards item containers item screens item conditional rules item actions item segment
Wizards — request body — body wizards item containers item screens item conditional rules item criteria
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Criteria expression evaluated for this rule. Additional keys: not allowed |
comparator | string | Required within parent | Comparator used in the criteria, for example 'not_equal'. Maximum length: 50 |
field | object | Required within parent | Field against which the criteria is evaluated. Additional keys: not allowed |
field.api_name | string | Optional | API name of the field. Maximum length: 50 Pattern: ^[A-Za-z][A-Za-z0-9_]*$ |
field.id | string | Required within parent | Numeric unique identifier of the field. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
type | string | Required within parent | Type of criteria, for example 'value'. Maximum length: 50 |
value | string | Required within parent | Value used in the comparison (for example ${EMPTY}). Maximum length: 255 |
Wizards — request body — body wizards item containers item screens item segments item fields item api name, id, sequence number
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a field reference for a `subforms`-type segment. Additional keys: not allowed |
api_name | string | Optional | API name of the field. Maximum length: 50 Pattern: ^[A-Za-z][A-Za-z0-9_]*$ |
id | string | Required within parent | Numeric unique identifier of the field. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
sequence_number | integer | Optional | Specify the sequence number that determines the position of this field within the segment. Format: int32 |
Wizards — request body — body wizards item module
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Module information for which the wizard is configured. Either api_name or id must be provided. Additional keys: not allowed |
api_name | string | Optional | API name of the module. Any valid module API name is allowed. Maximum length: 50 |
id | string | Optional | Numeric unique identifier of the module. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
$ (anyOf 1) | object | Alternative | Module is specified using its API name. Additional keys: allowed |
$ (anyOf 2) | object | Alternative | Module is specified using its unique identifier. Additional keys: allowed |
Wizards — request body — body wizards item containers item screens item conditional rules item actions item segment
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Segment that this action targets. Either an existing segment ID or a reference_id must be provided. Additional keys: not allowed |
id | string | Optional | Numeric unique identifier of the segment. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
reference_id | string | Optional | Client-generated temporary reference used to target a segment within the same wizard request payload. Maximum length: 50 Pattern: \{\{[a-zA-Z0-9]+\}\} |
$ (anyOf 1) | object | Alternative | Use this shape when targeting an already existing segment by its persistent ID. Additional keys: allowed |
$ (anyOf 2) | object | Alternative | Use this shape when targeting a segment that is referenced only within this payload using reference_id. Additional keys: allowed |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: zoho.updatewizard. Catalog operation: updateWizard. 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.