> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Zoho CRM: Service Preference Update Service Preference

> Change your Zoho CRM service preferences for services and appointments. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Change your Zoho CRM service preferences for services and appointments.

> [!NOTE]
>
> Tool ID: `zoho_crm_service_preference_update_service_preference`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'zoho_crm_service_preference_update_service_preference',
  {
    "service_preferences": {
      "job_sheet_enabled": true
    }
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute zoho_crm_service_preference_update_service_preference --input '{
  "service_preferences": {
    "job_sheet_enabled": true
  }
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "service_preferences": {
      "status": "success",
      "code": "SUCCESS",
      "message": "Services preferences updated successfully",
      "details": {}
    }
  }
}
```

Use `deepline describe zoho_crm_service_preference_update_service_preference --json` for the latest machine-readable contract.

## Input reference

Request object to update the organization's service preferences.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.service_preferences` | `object` | Yes | — | Service preferences configuration to be updated. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Request object to update the organization's service preferences.",
    "properties": {
      "service_preferences": {
        "type": "object",
        "description": "Service preferences configuration to be updated.",
        "properties": {
          "job_sheet_enabled": {
            "type": "boolean",
            "description": "Indicates whether job sheet information is required for services. When set to true, a job sheet can be generated upon appointment completion."
          }
        },
        "required": [
          "job_sheet_enabled"
        ],
        "additionalProperties": false
      }
    },
    "required": [
      "service_preferences"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Response object confirming the update of service preferences. |
| `result.data.service_preferences` | `object` | Yes | — | Updated service preferences status. |
| `result.data.service_preferences.status` | `"success"` | Yes | — | Status of the update operation. Allowed: `success`. |
| `result.data.service_preferences.code` | `"SUCCESS"` | Yes | — | Code representing the result of the update operation. Allowed: `SUCCESS`. |
| `result.data.service_preferences.message` | `"Services preferences updated successfully"` | Yes | — | Human-readable message describing the update result. Allowed: `Services preferences updated successfully`. |
| `result.data.service_preferences.details` | `record` | Yes | — | Additional details about the update operation. |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Response object confirming the update of service preferences.",
        "properties": {
          "service_preferences": {
            "type": "object",
            "description": "Updated service preferences status.",
            "properties": {
              "status": {
                "type": "string",
                "description": "Status of the update operation.",
                "enum": [
                  "success"
                ]
              },
              "code": {
                "type": "string",
                "description": "Code representing the result of the update operation.",
                "enum": [
                  "SUCCESS"
                ]
              },
              "message": {
                "type": "string",
                "description": "Human-readable message describing the update result.",
                "enum": [
                  "Services preferences updated successfully"
                ]
              },
              "details": {
                "type": "object",
                "description": "Additional details about the update operation.",
                "additionalProperties": false
              }
            },
            "required": [
              "status",
              "code",
              "message",
              "details"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "service_preferences"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.