---
title: "Replace weekly opening hours of a rental or an appointment on weekly hours, e.g. [{ weekday: 6, start_time: '08:00', end_time: '16:00' }]"
method: PUT
path: "/offerings/{id}/hours"
tags: ["offerings"]
---

# Replace weekly opening hours of a rental or an appointment on weekly hours, e.g. \[{ weekday: 6, start_time: '08:00', end_time: '16:00' }\]

`PUT /offerings/{id}/hours`

## Request

- Base URL: `https://daybag.io/api/v1`
- URL: `https://daybag.io/api/v1/offerings/{id}/hours`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `hours` object[], required
    - `weekday` integer, required: 0 = Sunday … 6 = Saturday
    - `start_time` string, required
    - `end_time` string, required

## Response `200`

Success

- object
  - `data` object[], required
    - `weekday` integer, required: 0 = Sunday … 6 = Saturday
    - `start_time` string, required: Local wall-clock time, HH:MM:SS
    - `end_time` string, required: Local wall-clock time, HH:MM:SS

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/daybag/apis/daybooked-io-api.md) · [All operations](https://skmtc.dev/daybag/apis/daybooked-io-api/llms.txt) · [OpenAPI document](https://skmtc.dev/daybag/apis/daybooked-io-api/revisions/1f576dead370?raw)
