> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinbox.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Update business hours

> Só os dias enviados mudam (`[]` fecha o dia).



## OpenAPI

````yaml patch /v1/business-hours/{id}
openapi: 3.0.0
info:
  title: Kinbox API
  description: Kinbox public API
  version: '2.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /v1/business-hours/{id}:
    patch:
      tags:
        - v1BusinessHours
      summary: Update business hours
      description: Só os dias enviados mudam (`[]` fecha o dia).
      operationId: updateBusinessHours
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: number
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateBusinessHoursPublicDto'
      responses:
        '200':
          description: ''
components:
  schemas:
    UpdateBusinessHoursPublicDto:
      type: object
      properties:
        name:
          type: string
        days:
          type: object
          additionalProperties: true
          description: >-
            Intervalos por dia (`mon`..`sun`), em HH:mm, ex.: `{ "mon":
            [["08:00","12:00"],["13:00","18:00"]] }`. Dia ausente fica fechado
            ao criar; ao editar, só os dias enviados mudam (`[]` fecha o dia).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.