> ## 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: Scoring Rules Put Scoring Rules

> Change the criteria or points of several Zoho CRM scoring rules at once. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Change the criteria or points of several Zoho CRM scoring rules at once.

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

## 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_scoring_rules_put_scoring_rules',
  {
    "scoring_rules": [
      {
        "custom_fields": [
          {
            "id": "id_123",
            "field_label": "example",
            "api_name": "Example"
          }
        ],
        "description": "Example description",
        "active": true
      }
    ]
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute zoho_crm_scoring_rules_put_scoring_rules --input '{
  "scoring_rules": [
    {
      "custom_fields": [
        {
          "id": "id_123",
          "field_label": "example",
          "api_name": "Example"
        }
      ],
      "description": "Example description",
      "active": 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": {
    "scoring_rules": [
      {
        "code": "example",
        "details": {
          "id": "id_123"
        },
        "message": "Example message"
      }
    ]
  }
}
```

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

## Input reference

Request body schema

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.scoring_rules` | `array` | Yes | — | root element (Required) Maximum items: 10. |

> [!NOTE]
>
> This input schema is too large for an inline display. Read the complete live contract with `deepline describe zoho_crm_scoring_rules_put_scoring_rules --json`.

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Rules updated successfully |
| `result.data.scoring_rules` | `array` | No | — | Field: scoring\_rules Maximum items: 20. |
| `result.data.scoring_rules[].code` | `string` | No | — | Field: code Maximum length: 255. |
| `result.data.scoring_rules[].details` | `object` | No | — | Details of an operation, including the identifier of affected fields. |
| `result.data.scoring_rules[].details.unsaved_custom_fields` | `array` | No | — | Field: unsaved\_custom\_fields Maximum items: 6. |
| `result.data.scoring_rules[].details.unsaved_custom_fields[].field_label` | `string` | No | — | Field: field\_label Maximum length: 50. |
| `result.data.scoring_rules[].details.id` | `string` | No | — | Field: id Maximum length: 25. |
| `result.data.scoring_rules[].message` | `string` | No | — | Field: message Maximum length: 255. |
| `result.data.scoring_rules[].status` | `string` | No | — | Field: status Maximum length: 255. |
| `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": "Rules updated successfully",
        "properties": {
          "scoring_rules": {
            "type": "array",
            "description": "Field: scoring_rules",
            "maxItems": 20,
            "items": {
              "type": "object",
              "description": "Response details for scoring rule operations, including status, code, and associated messages.",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Field: code",
                  "maxLength": 255
                },
                "details": {
                  "type": "object",
                  "description": "Details of an operation, including the identifier of affected fields.",
                  "properties": {
                    "unsaved_custom_fields": {
                      "type": "array",
                      "description": "Field: unsaved_custom_fields",
                      "maxItems": 6,
                      "items": {
                        "type": "object",
                        "description": "Contains detailed information about custom fields that could not be saved during an operation.",
                        "properties": {
                          "field_label": {
                            "type": "string",
                            "description": "Field: field_label",
                            "maxLength": 50
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "id": {
                      "type": "string",
                      "description": "Field: id",
                      "maxLength": 25
                    }
                  },
                  "additionalProperties": true
                },
                "message": {
                  "type": "string",
                  "description": "Field: message",
                  "maxLength": 255
                },
                "status": {
                  "type": "string",
                  "description": "Field: status",
                  "maxLength": 255
                }
              },
              "additionalProperties": false
            }
          }
        },
        "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.