---
title: "Update Company Business Hours"
method: PUT
path: "/restapi/v1.0/account/{accountId}/business-hours"
tags: ["Business Hours"]
---

# Update Company Business Hours

`PUT /restapi/v1.0/account/{accountId}/business-hours`

Updates the company business hours schedule.

## Path parameters

- `accountId` string, required

## Request body

- CompanyBusinessHoursUpdateRequest
  - `schedule` CompanyBusinessHoursScheduleInfo — Schedule when an answering rule is applied
    - `weeklyRanges` WeeklyScheduleInfo — Weekly schedule
      - `monday` TimeInterval[] — Time intervals for a particular day
        - `from` string — Time in format hh:mm
        - `to` string — Time in format hh:mm
      - `tuesday` TimeInterval[] — Time intervals for a particular day
        - `from` string — Time in format hh:mm
        - `to` string — Time in format hh:mm
      - `wednesday` TimeInterval[] — Time intervals for a particular day
        - `from` string — Time in format hh:mm
        - `to` string — Time in format hh:mm
      - `thursday` TimeInterval[] — Time intervals for a particular day
        - `from` string — Time in format hh:mm
        - `to` string — Time in format hh:mm
      - `friday` TimeInterval[] — Time intervals for a particular day
        - `from` string — Time in format hh:mm
        - `to` string — Time in format hh:mm
      - `saturday` TimeInterval[] — Time intervals for a particular day
        - `from` string — Time in format hh:mm
        - `to` string — Time in format hh:mm
      - `sunday` TimeInterval[] — Time intervals for a particular day
        - `from` string — Time in format hh:mm
        - `to` string — Time in format hh:mm

## Response `200`

OK

- CompanyBusinessHours
  - `uri` string, uri — Canonical URI of a business-hours resource
  - `schedule` CompanyBusinessHoursScheduleInfo — Schedule when an answering rule is applied
    - `weeklyRanges` WeeklyScheduleInfo — Weekly schedule
      - `monday` TimeInterval[] — Time intervals for a particular day
        - `from` string — Time in format hh:mm
        - `to` string — Time in format hh:mm
      - `tuesday` TimeInterval[] — Time intervals for a particular day
        - `from` string — Time in format hh:mm
        - `to` string — Time in format hh:mm
      - `wednesday` TimeInterval[] — Time intervals for a particular day
        - `from` string — Time in format hh:mm
        - `to` string — Time in format hh:mm
      - `thursday` TimeInterval[] — Time intervals for a particular day
        - `from` string — Time in format hh:mm
        - `to` string — Time in format hh:mm
      - `friday` TimeInterval[] — Time intervals for a particular day
        - `from` string — Time in format hh:mm
        - `to` string — Time in format hh:mm
      - `saturday` TimeInterval[] — Time intervals for a particular day
        - `from` string — Time in format hh:mm
        - `to` string — Time in format hh:mm
      - `sunday` TimeInterval[] — Time intervals for a particular day
        - `from` string — Time in format hh:mm
        - `to` string — Time in format hh:mm

## Other responses

- `400` — General response with **HTTP 400 "Bad request"** status.<br> Reasons: unparsable request, path, query or body parameters are invalid. The error description may contain reference to particular parameter(s) which haven't passed the validation.
- `404` — General response with **HTTP 404 "Not found"** status.<br> Reasons: the entity with given ID (typically specified in a path parameter), is not found or inaccessible
- `500` — General response with **HTTP 500 "Internal Server Error"** status.<br> Reasons: general server-side error.
- `503` — General response with **HTTP 503 "Service not available"** status.<br> Reasons: server cannot process the request because of being overloaded, misconfiguration or other issues.

---

[API](https://skmtc.net/ringcentral/apis/ringcentral-api.md) · [All operations](https://skmtc.net/ringcentral/apis/ringcentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ringcentral/ringcentral-api/revisions/8d602198ec97/schema)
