---
title: "Bulk upsert operating hours for a location (all 7 days at once)."
method: PUT
path: "/Locations/{locationId}/hours"
tags: ["Locations"]
---

# Bulk upsert operating hours for a location (all 7 days at once).

`PUT /Locations/{locationId}/hours`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/Locations/{locationId}/hours`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/Locations/:locationId/hours/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `locationId` string, required

## Request body

- UpdateLocationHoursDto
  - `hours` LocationHoursEntryDto[]
    - `dayOfWeek` union
      - integer
      - string, int32
    - `openTime` string
    - `closeTime` string
    - `isOpen` boolean

## Response `200`

OK

- LocationHoursResponseDto[]
  - `id` string
  - `locationId` string
  - `dayOfWeek` union
    - integer
    - string, int32
  - `openTime` string
  - `closeTime` string
  - `isOpen` boolean

---

[API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
