> ## 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: README

> PUT /services_s/{id}. Zoho CRM Services Put Service By Id reference includes SDK V2 and CLI requests, input constraints, response fields, and Deepline cost.

PUT /services\_s/\{id}.

<Info>
  Tool ID: `zoho_crm_services_put_service_by_id`
</Info>

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'zoho_crm_services_put_service_by_id',
  {
    "id": "id_123",
    "data": [
      {
        "Job_Sheet_Required": "No",
        "Status": "Not in Use",
        "Owner": {
          "email": "madeshwaran.g@zohocorp.com"
        }
      }
    ]
  },
);

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

### CLI

```bash theme={null}
deepline tools execute zoho_crm_services_put_service_by_id --input '{
  "id": "id_123",
  "data": [
    {
      "Job_Sheet_Required": "No",
      "Status": "Not in Use",
      "Owner": {
        "email": "madeshwaran.g@zohocorp.com"
      }
    }
  ]
}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "data": [
      {
        "code": "example",
        "details": {
          "Modified_Time": "example",
          "Modified_By": {},
          "Created_Time": "example"
        },
        "message": "Example message"
      }
    ]
  }
}
```

Use `deepline tools get zoho_crm_services_put_service_by_id --json` for the latest machine-readable contract.

## Input reference

Request body schema

| Name                    | Type     | Required | Default | Details                                             |
| ----------------------- | -------- | -------- | ------- | --------------------------------------------------- |
| `payload.affected_data` | `true`   | No       | —       | adds the affected data in response Allowed: `true`. |
| `payload.id`            | `string` | Yes      | —       | Path parameter: id Maximum length: 100.             |
| `payload.data`          | `array`  | Yes      | —       | a (Required) Maximum items: 100.                    |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Request body schema",
    "properties": {
      "affected_data": {
        "type": "boolean",
        "description": "adds the affected data in response",
        "enum": [
          true
        ]
      },
      "id": {
        "type": "string",
        "description": "Path parameter: id",
        "maxLength": 100
      },
      "data": {
        "type": "array",
        "description": "a (Required)",
        "maxItems": 100,
        "items": {
          "type": "object",
          "description": "Base schema for array items",
          "properties": {
            "Job_Sheet_Required": {
              "type": [
                "string",
                "null"
              ],
              "description": "is job sheet required for the service",
              "maxLength": 3,
              "enum": [
                "No"
              ]
            },
            "Status": {
              "type": [
                "string",
                "null"
              ],
              "description": "Record Status",
              "maxLength": 100,
              "enum": [
                "Not in Use"
              ]
            },
            "Owner": {
              "type": "object",
              "description": "Base schema for Owner",
              "properties": {
                "name": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "name of the owner",
                  "maxLength": 100,
                  "enum": [
                    "Madeshwaran G"
                  ]
                },
                "id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "id of the owner",
                  "maxLength": 100,
                  "enum": [
                    "4671651000000635001"
                  ]
                },
                "email": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "email",
                  "maxLength": 100,
                  "enum": [
                    "madeshwaran.g@zohocorp.com"
                  ]
                }
              },
              "required": [
                "email"
              ],
              "additionalProperties": true
            },
            "Description": {
              "type": [
                "string",
                "null"
              ],
              "description": "Represents the description of the service",
              "maxLength": 32000
            },
            "Available_Timings": {
              "type": [
                "string",
                "null"
              ],
              "description": "contains the service availability timing",
              "maxLength": 4
            },
            "Service_Name": {
              "type": [
                "string",
                "null"
              ],
              "description": "name of the service",
              "maxLength": 120
            },
            "Available_From": {
              "type": [
                "string",
                "null"
              ],
              "description": "service availability start time (this field is mandatory when service availability type is specific date range)",
              "maxLength": 100
            },
            "Available_Till": {
              "type": [
                "string",
                "null"
              ],
              "description": "service availability end time (this field is mandatory when service availability type is specific date range)",
              "maxLength": 100,
              "enum": [
                "2026-01-13",
                "2026-01-29"
              ]
            },
            "Available_Days": {
              "type": [
                "array",
                "null"
              ],
              "description": "contains days (this field is mandatory when availability type is set to specific days)",
              "maxItems": 4,
              "items": {
                "type": "string",
                "description": "Array Fields",
                "maxLength": 255
              }
            },
            "Tax": {
              "type": [
                "array",
                "null"
              ],
              "description": "Contains the ID and value of the tax applied to the service cost",
              "maxItems": 2,
              "items": {
                "type": "string",
                "description": "Tax details",
                "maxLength": 255
              }
            },
            "Duration": {
              "type": [
                "integer",
                "null"
              ],
              "description": "duration of the service",
              "format": "int32"
            },
            "Job_Sheet_Section__s": {
              "type": [
                "string",
                "null"
              ],
              "description": "contains job sheet section information",
              "maxLength": 255
            },
            "Unavailable_From": {
              "type": [
                "string",
                "null"
              ],
              "description": "service unavailable from",
              "maxLength": 25
            },
            "Record_Image": {
              "type": [
                "string",
                "null"
              ],
              "description": "record image",
              "maxLength": 255
            },
            "Price": {
              "type": [
                "integer",
                "null"
              ],
              "description": "price of the service",
              "format": "int32"
            },
            "id": {
              "type": [
                "string",
                "null"
              ],
              "description": "id of the owner",
              "maxLength": 100
            },
            "Tag": {
              "type": [
                "array",
                "null"
              ],
              "description": "tags associated with this record",
              "maxItems": 100,
              "items": {
                "type": "string",
                "description": "tag names",
                "maxLength": 2000
              }
            },
            "Availability_Type": {
              "type": [
                "string",
                "null"
              ],
              "description": "service availability type i.e specific date range or specific days",
              "maxLength": 19,
              "enum": [
                "Specific Day(s)",
                "Specific Date Range",
                "Every Business Days",
                "Specific Date(s)"
              ]
            },
            "Available_Dates": {
              "type": [
                "array",
                "null"
              ],
              "description": "contains available date (this field is mandatory when availability type is specific dates )",
              "maxItems": 3,
              "items": {
                "type": "string",
                "description": "service available days",
                "maxLength": 255
              }
            },
            "Members": {
              "type": [
                "array",
                "null"
              ],
              "description": "members who does this service (contains multiple members)",
              "maxItems": 5,
              "items": {
                "type": "object",
                "description": "Base schema for MembersItem",
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "id of the owner",
                    "maxLength": 100
                  },
                  "Members": {
                    "type": "object",
                    "description": "Base schema for Members",
                    "properties": {
                      "module": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "member module",
                        "maxLength": 100
                      },
                      "name": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "name of the owner",
                        "maxLength": 100,
                        "enum": [
                          "Madeshwaran G"
                        ]
                      },
                      "id": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "id of the owner",
                        "maxLength": 100,
                        "enum": [
                          "4671651000000635001"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "additionalProperties": true
              }
            },
            "Location": {
              "type": [
                "string",
                "null"
              ],
              "description": "Location where the service held",
              "maxLength": 1000,
              "enum": [
                "Business Address"
              ]
            },
            "Unavailable_Till": {
              "type": [
                "string",
                "null"
              ],
              "description": "service unavailable till",
              "maxLength": 255
            }
          },
          "required": [],
          "additionalProperties": true
        }
      }
    },
    "required": [
      "id",
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                          | Type     | Required | Default | Details                                        |
| --------------------------------------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data`                                 | `object` | Yes      | —       | services put success response                  |
| `result.data.data`                            | `array`  | No       | —       | Field: data Maximum items: 2.                  |
| `result.data.data[].code`                     | `string` | No       | —       | Field: code Maximum length: 255.               |
| `result.data.data[].details`                  | `object` | No       | —       | Nested schema for details                      |
| `result.data.data[].details.Modified_Time`    | `string` | No       | —       | Field: Modified\_Time Maximum length: 255.     |
| `result.data.data[].details.Modified_By`      | `object` | No       | —       | Nested schema for Modified\_By                 |
| `result.data.data[].details.Modified_By.name` | `string` | No       | —       | Field: name Maximum length: 255.               |
| `result.data.data[].details.Modified_By.id`   | `string` | No       | —       | Field: id Maximum length: 255.                 |
| `result.data.data[].details.Created_Time`     | `string` | No       | —       | Field: Created\_Time Maximum length: 255.      |
| `result.data.data[].details.id`               | `string` | No       | —       | Field: id Maximum length: 255.                 |
| `result.data.data[].details.Created_By`       | `object` | No       | —       | Nested schema for Created\_By                  |
| `result.data.data[].details.Created_By.name`  | `string` | No       | —       | Field: name Maximum length: 255.               |
| `result.data.data[].details.Created_By.id`    | `string` | No       | —       | Field: id Maximum length: 255.                 |
| `result.data.data[].message`                  | `string` | No       | —       | Field: message Maximum length: 255.            |
| `result.data.data[].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={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "services put success response",
        "properties": {
          "data": {
            "type": "array",
            "description": "Field: data",
            "maxItems": 2,
            "items": {
              "type": "object",
              "description": "Nested schema for data",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Field: code",
                  "maxLength": 255
                },
                "details": {
                  "type": "object",
                  "description": "Nested schema for details",
                  "properties": {
                    "Modified_Time": {
                      "type": "string",
                      "description": "Field: Modified_Time",
                      "maxLength": 255
                    },
                    "Modified_By": {
                      "type": "object",
                      "description": "Nested schema for Modified_By",
                      "properties": {
                        "name": {
                          "type": "string",
                          "description": "Field: name",
                          "maxLength": 255
                        },
                        "id": {
                          "type": "string",
                          "description": "Field: id",
                          "maxLength": 255
                        }
                      },
                      "additionalProperties": false
                    },
                    "Created_Time": {
                      "type": "string",
                      "description": "Field: Created_Time",
                      "maxLength": 255
                    },
                    "id": {
                      "type": "string",
                      "description": "Field: id",
                      "maxLength": 255
                    },
                    "Created_By": {
                      "type": "object",
                      "description": "Nested schema for Created_By",
                      "properties": {
                        "name": {
                          "type": "string",
                          "description": "Field: name",
                          "maxLength": 255
                        },
                        "id": {
                          "type": "string",
                          "description": "Field: id",
                          "maxLength": 255
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "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](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
