Skip to content

Zoho: Create service records in Zoho CRM

Zoho services.createServicesS: arguments, response, policy and SDK examples.

← Services operations · Get started

Operation zoho.createservicess

Provider route: POST /crm/v8/Services__s. 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["services"]["createServicesS"]>[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.services.createServicesS(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.services.create_services_s(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
bodyModelOptionalExpand Create service records in Zoho CRM — request body — body

Referenced models: Create service records in Zoho CRM — 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
$JSONRoot
$ (anyOf 1)ModelAlternativeExpand Create service records in Zoho CRM — response body — data
$ (anyOf 2)objectAlternativeRepresents the multi-status response returned when some service records were created successfully and others encountered errors. Contains a data array with one entry per service record submitted in the request; each entry independently indicates success or failure for its corresponding record.
Additional keys: not allowed
$ (anyOf 2).dataarrayRequired within parentContains one entry per service record submitted in the request, indicating success or failure for the corresponding record.
Maximum items: 100
Minimum items: 1
$ (anyOf 2).data[]JSONEach itemRepresents one entry in the multi-status data array. Each item is either a success object containing the created record’s ID and audit metadata, or an error object describing the validation failure for the corresponding service record.
$ (anyOf 2).data[] (anyOf 1)ModelAlternativeExpand Update service records — response body — data data item code, details, message, status — Services Post207multistatus Response207
$ (anyOf 2).data[] (anyOf 2)ModelAlternativeExpand Create service records in Zoho CRM — response body — data / data / item / code: MANDATORY NOT FOUND

Referenced models: Create service records in Zoho CRM — response body — data / data / item / code: MANDATORY NOT FOUND, Create service records in Zoho CRM — response body — data, Update service records — response body — data data item code, details, message, status — Services Post207multistatus Response207

2 more schemas are linked from the tables above, on the schema pages.

Create service records in Zoho CRM — response body — data / data / item / code: MANDATORY NOT FOUND
FieldTypePresenceDescription and constraints
$objectRootMulti-status error item returned when a service record in a bulk operation is missing a required field.
Additional keys: allowed
codestringRequired within parentRepresents the error code returned for the failed request.
Known values: MANDATORY_NOT_FOUND
detailsobjectRequired within parentRepresents the details providing validation context for the error.
Additional keys: allowed
details.api_namestringRequired within parentRepresents the API name of the field that triggered the error.
Maximum length: 255
details.json_pathstringRequired within parentRepresents the JSON path to the field that triggered the error in the request payload.
Maximum length: 1000
messagestringRequired within parentRepresents the error message describing that a mandatory field was not found in the multi-status request.
Maximum length: 100
statusstringRequired within parentRepresents the status of the response.
Maximum length: 100
Create service records in Zoho CRM — response body — data
FieldTypePresenceDescription and constraints
$objectRootWrapped response for a service create request. Contains a per-record status array with the success code, persisted ID, and audit metadata for each service record processed.
Additional keys: not allowed
dataarrayOptionalRepresents the per-record status array, with one entry for each service record processed in the create request.
Maximum items: 100
Minimum items: 1
data[]ModelEach itemExpand Delete a service record by ID — response body — data item

Referenced models: Delete a service record by ID — response body — data item

Update service records — response body — data data item code, details, message, status — Services Post207multistatus Response207
FieldTypePresenceDescription and constraints
$objectRootRepresents a success item in a multi-status response. Carries the success code, message, status, and details for the corresponding service record in the request.
Additional keys: not allowed
codestringOptionalRepresents the operation result code for the service record.
Maximum length: 255
detailsModelOptionalExpand Delete a service record by ID — response body — data item details
messagestringOptionalRepresents the result message for the operation result.
Maximum length: 255
statusstringOptionalRepresents the status of the operation.
Maximum length: 255

Referenced models: Delete a service record by ID — response body — data item details

Create service records in Zoho CRM — request body — body
FieldTypePresenceDescription and constraints
$objectRootRequest body schema for creating services. Contains a data array of service objects to be created and an optional skip_mandatory flag.
Additional keys: not allowed
dataarrayRequired within parentSpecify the array of service objects to be created. You can include up to 100 objects.
Maximum items: 100
Minimum items: 1
data[]ModelEach itemExpand Create service records in Zoho CRM — request body — body data item
skip_mandatoryboolean or nullOptionalSpecify whether to skip mandatory-field validation when creating service records.

Referenced models: Create service records in Zoho CRM — request body — body data item

Delete a service record by ID — response body — data item
FieldTypePresenceDescription and constraints
$objectRootRepresents a per-record status item in a response. Carries the operation code, message, status, and details (such as audit metadata and the affected_data block) for one service record.
Additional keys: not allowed
codestringOptionalRepresents the operation result code for the service record.
Maximum length: 255
detailsModelOptionalExpand Delete a service record by ID — response body — data item details
messagestringOptionalRepresents the result message for the operation result.
Maximum length: 255
statusstringOptionalRepresents the status of the operation.
Maximum length: 255

Referenced models: Delete a service record by ID — response body — data item details

Delete a service record by ID — response body — data item details
FieldTypePresenceDescription and constraints
$objectRootRepresents the details as a per-record status item. Carries audit metadata (Modified_Time, Modified_By, Created_Time, Created_By) and the persisted record ID.
Additional keys: allowed
Created_ByModelOptionalExpand Delete a service record by ID — response body — data item details Created By
Created_TimestringOptionalRepresents the timestamp when the service record was first saved to the organization.
Maximum length: 255
Modified_ByModelOptionalExpand Delete a service record by ID — response body — data item details Modified By
Modified_TimestringOptionalRepresents the timestamp when the service record was last modified.
Maximum length: 255
idstringOptionalRepresents the unique ID of the affected service record.
Maximum length: 255

Referenced models: Delete a service record by ID — response body — data item details Created By, Delete a service record by ID — response body — data item details Modified By

Delete a service record by ID — response body — data item details Created By
FieldTypePresenceDescription and constraints
$objectRootRepresents the user who created the service record, identified by name and ID. Refer to the [Get users](users.yaml#$.paths./users.get) resource for valid values.
Additional keys: not allowed
idstringOptionalRepresents the unique ID of the user who created the service record. Refer to the [Get users](users.yaml#$.paths./users.get) endpoint for details.
Maximum length: 255
namestringOptionalRepresents the display name of the user who created the service record. Refer to the [Get users](users.yaml#$.paths./users.get) endpoint for details.
Maximum length: 255
Delete a service record by ID — response body — data item details Modified By
FieldTypePresenceDescription and constraints
$objectRootRepresents the user who last modified the service record, identified by name and ID. Refer to the [Get users](users.yaml#$.paths./users.get) resource for valid values.
Additional keys: not allowed
idstringOptionalRepresents the unique ID of the user who modified the service record. Refer to the [Get users](users.yaml#$.paths./users.get) endpoint for details.
Maximum length: 255
namestringOptionalRepresents the display name of the user who modified the service record. Refer to the [Get users](users.yaml#$.paths./users.get) endpoint for details.
Maximum length: 255
Create service records in Zoho CRM — request body — body data item Available Timings item
FieldTypePresenceDescription and constraints
$objectRootRepresents a single availability time window for the service, defined by a start time (From) and an end time (To).
Additional keys: not allowed
Fromstring or nullOptionalSpecify the start of the availability time window in HH:MM (24-hour) format.
Maximum length: 5
Tostring or nullOptionalSpecify the end of the availability time window in HH:MM (24-hour) format.
Maximum length: 5
Create service records in Zoho CRM — request body — body data item Layout
FieldTypePresenceDescription and constraints
$objectRootRepresents the layout used to render the service record. Refer to the [Get layouts](layouts.yaml#$.paths./settings/layouts.get) resource for valid values.
Additional keys: not allowed
idstring or nullOptionalSpecify the unique ID of the layout to use for the service record. Refer to the [Get layouts](layouts.yaml#$.paths./settings/layouts.get) resource for valid values.
Maximum length: 18
Create service records in Zoho CRM — request body — body data item Members item
FieldTypePresenceDescription and constraints
$objectRootRepresents a member who delivers the service. Identifies the user by name and ID. Refer to the [Get users](users.yaml#$.paths./users.get) resource for valid values.
Additional keys: not allowed
MembersModelOptionalExpand Create service records in Zoho CRM — request body — body data item Members item
contains member details
idstring or nullOptionalSpecify the unique ID of the user who delivers the service. Refer to the [Get users](users.yaml#$.paths./users.get) resource for valid values.
Maximum length: 18
namestring or nullOptionalSpecify the display name of the user who delivers the service.
Maximum length: 120

Referenced models: Create service records in Zoho CRM — request body — body data item Members item

Create service records in Zoho CRM — request body — body data item Tax item
FieldTypePresenceDescription and constraints
$objectRootRepresents a tax entry applied to the service cost, identified by its tax ID and value label.
Additional keys: not allowed
idnullOptionalSpecify the unique ID of the tax applied to the service cost.
valuestring or nullOptionalSpecify the display label of the tax applied to the service cost.
Maximum length: 100

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