Skip to content

Zoho: Reorder the execution sequence of approval processes

Zoho approvalProcess.postReorder: arguments, response, policy and SDK examples.

← Approval process operations · Get started

Operation zoho.postreorder

Provider route: POST /crm/v8/settings/approval_process/actions/reorder. 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["approvalProcess"]["postReorder"]>[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.approvalProcess.postReorder(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.approval_process.post_reorder(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 parentMaximum length: 3000
bodyModelOptionalExpand Reorder the execution sequence of approval processes — request body — body

Referenced models: Reorder the execution sequence of approval processes — 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 Reorder the rules of an Approval Process — response body

Referenced models: Reorder the rules of an Approval Process — response body

Reorder the rules of an Approval Process — response body
FieldTypePresenceDescription and constraints
$objectRootReordered the approval processes successfully
Additional keys: not allowed
reorderModelOptionalExpand Reorder the rules of an Approval Process — response body — reorder

Referenced models: Reorder the rules of an Approval Process — response body — reorder

Reorder the execution sequence of approval processes — request body — body
FieldTypePresenceDescription and constraints
$objectRootRequest body schema
Additional keys: not allowed
reorderModelRequired within parentExpand Reorder the execution sequence of approval processes — request body — body reorder
root key for reordering the approval processes. (Required)

Referenced models: Reorder the execution sequence of approval processes — request body — body reorder

Reorder the rules of an Approval Process — response body — reorder
FieldTypePresenceDescription and constraints
$objectRootNested schema for reorder
Additional keys: not allowed
codestringOptionalField: code
Maximum length: 255
detailsModelOptionalExpand Reorder the rules of an Approval Process — response body — reorder details
messagestringOptionalField: message
Maximum length: 255
statusstringOptionalField: status
Maximum length: 255

Referenced models: Reorder the rules of an Approval Process — response body — reorder details

Reorder the execution sequence of approval processes — request body — body reorder
FieldTypePresenceDescription and constraints
$objectRootroot key for reordering the approval processes.
Additional keys: not allowed
approval_processarrayRequired within parentA list of approval processes whose sequence/order needs to be updated. (Required)
Maximum items: 100
approval_process[]ModelEach itemExpand Reorder the execution sequence of approval processes — request body — body reorder approval process item

Referenced models: Reorder the execution sequence of approval processes — request body — body reorder approval process item

Reorder the rules of an Approval Process — response body — reorder details
FieldTypePresenceDescription and constraints
$objectRootNested schema for details
Additional keys: not allowed
Reorder the execution sequence of approval processes — request body — body reorder approval process item
FieldTypePresenceDescription and constraints
$objectRootA list of approval processes whose sequence/order needs to be updated.
Additional keys: not allowed
idstringRequired within parentThe unique identifier of the approval process that you want to reorder. (Required) (Unique)
Format: int64
Maximum length: 25
Minimum length: 1
Pattern: ^[0-9]+$
sequence_numberintegerRequired within parentThe new position/order number you want to assign to this approval process. (Required) (Unique)
Format: int32

SDK function policy ID: zoho.postreorder. Catalog operation: postReorder. 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 how our website, product, and documentation are used.

Performance diagnostics

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

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

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