---
title: "Set more hours for your business"
method: POST
path: "/business/{business_id}/more_hours"
tags: ["Businesses"]
---

# Set more hours for your business

`POST /business/{business_id}/more_hours`

## Request

- Base URL: `https://api.partoo.co/v2`
- URL: `https://api.partoo.co/v2/business/{business_id}/more_hours`
- Auth: API key in header `x-APIKey`
- TypeScript: <https://skmtc.dev/partoo/apis/partoo-rest-api/docs/business/:business_id/more_hours/post.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint allows you to set the **More Hours** for your business.

## Path parameters

- `business_id` string, required

## Request body

- MoreHoursBusinessPostBody
  - `more_hours` object[]: Array containing the more hours values to update. Grouped by More Hour ID. Only More Hour IDs included in the body will be updated.
    - `gmb_id` string: More Hour ID for which to update hours.
    - `value` MoreHoursPost: The More Hours of the business and category (in its timezone). More hours are specified per weekday. This is done by supplying a More Hour ID (`BREAKFAST`, `DINNER`, etc.), and an object mapping weekdays (`monday`, `tuesday`, etc.) to a list of strings. These strings in turn represent time slots during which the business is open. For example, the following value would set the kitchen hours to between 08:00-15:00 in the afternoon and 18:00-23:00 in the evening on Mondays: `{"gmb_id": "KITCHEN", "value": {"monday": ["08:00-15:00", "18:00-23:00"]}}` To indicate that a business is open 24 hours for a specific weekday, use the value `["00:00-23:59"]`. To delete a More Hours value, supply a `null` value.
      - `monday` TimeWindow[]: Open in the morning and in the evening `[10:00-14:00, 18:00-00:00]`. Closed the whole day `[]`
      - `tuesday` TimeWindow[]: Open in the morning and in the evening `[10:00-14:00, 18:00-00:00]`. Closed the whole day `[]`
      - `wednesday` TimeWindow[]: Open in the morning and in the evening `[10:00-14:00, 18:00-00:00]`. Closed the whole day `[]`
      - `thursday` TimeWindow[]: Open in the morning and in the evening `[10:00-14:00, 18:00-00:00]`. Closed the whole day `[]`
      - `friday` TimeWindow[]: Open in the morning and in the evening `[10:00-14:00, 18:00-00:00]`. Closed the whole day `[]`
      - `saturday` TimeWindow[]: Open in the morning and in the evening `[10:00-14:00, 18:00-00:00]`. Closed the whole day `[]`
      - `sunday` TimeWindow[]: Open in the morning and in the evening `[10:00-14:00, 18:00-00:00]`. Closed the whole day `[]`

## Response `200`

OK

- MoreHoursBusinessPostResponse
  - `status` string: Status of the request. Should say "success" unless something unexpected went wrong.
  - `id` string: ID of the business that was just updated.

## Other responses

- `400`: Wrong or missing parameters
- `401`: You are not authenticated
- `403`: You are not allowed to perform this action
- `404`: Resource does not exist

---

[API](https://skmtc.dev/partoo/apis/partoo-rest-api.md) - [All operations](https://skmtc.dev/partoo/apis/partoo-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/partoo/apis/partoo-rest-api/revisions/dcb8190f5a29?raw)
