> ## 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: Shift Hours Update Single Shift Hour

> Change the timings, breaks or users of one Zoho CRM work shift. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Change the timings, breaks or users of one Zoho CRM work shift.

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

## 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_shift_hours_update_single_shift_hour',
  {
    "shift": "example"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute zoho_crm_shift_hours_update_single_shift_hour --input '{
  "shift": "example"
}' --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": {
    "shift_hours": [
      {
        "code": "SUCCESS",
        "message": "Example message",
        "details": {
          "id": "id_123"
        },
        "status": "success"
      }
    ]
  }
}
```

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

## Input reference

Error scenario

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.shift` | `string` | Yes | — | Unique identifier of the shift hour Maximum length: 50. |
| `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={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Error scenario",
    "properties": {
      "shift": {
        "type": "string",
        "description": "Unique identifier of the shift hour",
        "maxLength": 50
      },
      "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",
                    "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": [
      "shift"
    ],
    "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={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "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](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.