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

> Update multiple shift hours. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

Update multiple shift hours.

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

## Run this action

This action has conditional or dynamic input fields that cannot be represented by a reliable static example.

Inspect the live contract before executing it:

```bash theme={null}
deepline tools get zoho_crm_shift_hours_update_shift_hours --json
```

## Example response

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

```json theme={null}
{
  "data": {
    "shift_hours": [
      {
        "code": "SUCCESS",
        "message": "Example message",
        "details": {
          "id": "id_123"
        },
        "status": "success"
      }
    ]
  }
}
```

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

## Input reference

Error scenario

| Name                  | Type    | Required | Default | Details                                          |
| --------------------- | ------- | -------- | ------- | ------------------------------------------------ |
| `payload.shift_hours` | `array` | No       | —       | List of shift hours to update Maximum items: 50. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Error scenario",
    "properties": {
      "shift_hours": {
        "type": "array",
        "description": "List of shift hours to update",
        "maxItems": 50,
        "items": {
          "type": "object",
          "description": "Shift hour configuration",
          "properties": {
            "break_hours": {
              "type": "array",
              "description": "List of break hours for the shift",
              "maxItems": 50,
              "items": {
                "type": "object",
                "description": "Break hour configuration",
                "properties": {
                  "break_days": {
                    "type": "array",
                    "description": "Days when this break applies",
                    "maxItems": 50,
                    "items": {
                      "type": "string",
                      "description": "Day of the week",
                      "enum": [
                        "Monday",
                        "Thursday",
                        "Friday",
                        "Sunday",
                        "Wednesday",
                        "Tuesday",
                        "Saturday"
                      ]
                    }
                  },
                  "daily_timing": {
                    "type": "array",
                    "description": "Default break timing for all days when same_as_everyday is true",
                    "maxItems": 50,
                    "items": {
                      "type": "string",
                      "description": "Time in HH:MM format",
                      "maxLength": 5,
                      "pattern": "^([0-1][0-9]|2[0-3]):[0-5][0-9]$"
                    }
                  },
                  "custom_timing": {
                    "type": "array",
                    "description": "Different break timings for different days",
                    "maxItems": 50,
                    "items": {
                      "type": "object",
                      "description": "Custom break timing configuration",
                      "properties": {
                        "break_timing": {
                          "type": "array",
                          "description": "Start and end time for the break",
                          "maxItems": 50,
                          "items": {
                            "type": "string",
                            "description": "Time in HH:MM format",
                            "maxLength": 5,
                            "pattern": "^([0-1][0-9]|2[0-3]):[0-5][0-9]$"
                          }
                        },
                        "days": {
                          "type": "string",
                          "description": "Day of the week",
                          "enum": [
                            "Monday",
                            "Thursday",
                            "Friday",
                            "Sunday",
                            "Wednesday",
                            "Tuesday",
                            "Saturday"
                          ]
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "same_as_everyday": {
                    "type": "string",
                    "description": "Indicates if break has same timing every day",
                    "maxLength": 100
                  }
                },
                "additionalProperties": false
              }
            },
            "daily_timing": {
              "type": "array",
              "description": "Default timing for all days",
              "maxItems": 50,
              "items": {
                "type": "string",
                "description": "Time in HH:MM format",
                "maxLength": 5,
                "pattern": "^([0-1][0-9]|2[0-3]):[0-5][0-9]$"
              }
            },
            "shift_days": {
              "type": "array",
              "description": "Days when this shift is active",
              "maxItems": 50,
              "items": {
                "type": "string",
                "description": "Day of the week",
                "enum": [
                  "Monday",
                  "Thursday",
                  "Friday",
                  "Sunday",
                  "Wednesday",
                  "Tuesday",
                  "Saturday"
                ]
              }
            },
            "custom_timing": {
              "type": "array",
              "description": "Different shift timings for different days",
              "maxItems": 50,
              "items": {
                "type": "object",
                "description": "Custom shift timing configuration",
                "properties": {
                  "shift_timing": {
                    "type": "array",
                    "description": "Start and end time for the shift",
                    "maxItems": 50,
                    "items": {
                      "type": "string",
                      "description": "Time in HH:MM format",
                      "maxLength": 5,
                      "pattern": "^([0-1][0-9]|2[0-3]):[0-5][0-9]$"
                    }
                  },
                  "days": {
                    "type": "string",
                    "description": "Day of the week",
                    "enum": [
                      "Monday",
                      "Thursday",
                      "Friday",
                      "Sunday",
                      "Wednesday",
                      "Tuesday",
                      "Saturday"
                    ]
                  }
                },
                "additionalProperties": false
              }
            },
            "timezone": {
              "type": "string",
              "description": "Timezone identifier",
              "maxLength": 100
            },
            "name": {
              "type": "string",
              "description": "Name of the shift",
              "maxLength": 100
            },
            "same_as_everyday": {
              "type": "boolean",
              "description": "Indicates if shift has same timing every day"
            },
            "holidays": {
              "type": "array",
              "description": "List of holidays for this shift",
              "maxItems": 50,
              "items": {
                "type": "object",
                "description": "Holiday configuration",
                "properties": {
                  "date": {
                    "type": "string",
                    "description": "Holiday date",
                    "format": "date"
                  },
                  "name": {
                    "type": "string",
                    "description": "Name of the holiday",
                    "maxLength": 100
                  }
                },
                "additionalProperties": false
              }
            },
            "users": {
              "type": "array",
              "description": "List of users assigned to this shift",
              "maxItems": 50,
              "items": {
                "type": "object",
                "description": "User assignment",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "User ID",
                    "maxLength": 100
                  }
                },
                "additionalProperties": false
              }
            }
          },
          "additionalProperties": false
        }
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                   | Type        | Required | Default | Details                                        |
| -------------------------------------- | ----------- | -------- | ------- | ---------------------------------------------- |
| `result.data`                          | `object`    | Yes      | —       | Error scenario                                 |
| `result.data.shift_hours`              | `array`     | Yes      | —       | List of shift hours Maximum items: 50.         |
| `result.data.shift_hours[].code`       | `"SUCCESS"` | Yes      | —       | Error code Allowed: `SUCCESS`.                 |
| `result.data.shift_hours[].message`    | `string`    | Yes      | —       | Message Maximum length: 100.                   |
| `result.data.shift_hours[].details`    | `object`    | Yes      | —       | Error details                                  |
| `result.data.shift_hours[].details.id` | `string`    | Yes      | —       | Unique identifier Maximum length: 100.         |
| `result.data.shift_hours[].status`     | `"success"` | Yes      | —       | Response status Allowed: `success`.            |
| `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": "Error scenario",
        "properties": {
          "shift_hours": {
            "type": "array",
            "description": "List of shift hours",
            "maxItems": 50,
            "items": {
              "type": "object",
              "description": "Item details",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Error code",
                  "enum": [
                    "SUCCESS"
                  ]
                },
                "message": {
                  "type": "string",
                  "description": "Message",
                  "maxLength": 100
                },
                "details": {
                  "type": "object",
                  "description": "Error details",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Unique identifier",
                      "maxLength": 100
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                },
                "status": {
                  "type": "string",
                  "description": "Response status",
                  "enum": [
                    "success"
                  ]
                }
              },
              "required": [
                "code",
                "message",
                "details",
                "status"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "shift_hours"
        ],
        "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)
