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

# Update Hours

> Sets the weekly opening hours or the holiday and special hours for one or more Business Profile locations

Sets the weekly opening hours or the holiday and special hours for one or more Business Profile locations. Each update replaces the existing hours of that type, so send the complete set.

|                       |                                 |
| --------------------- | ------------------------------- |
| **App**               | Google Business Profile         |
| **Operation ID**      | `business_profile_update_hours` |
| **Type**              | Action                          |
| **Connection**        | `business_profile` (required)   |
| **Credits per run**   | 1                               |
| **Agent / MCP tool**  | Yes                             |
| **Requires approval** | Yes (write operation)           |

## Inputs

| Field           | Type                                          | Required | Default | Description                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| --------------- | --------------------------------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `accounts`      | array (also accepts a comma-separated string) | Yes      | -       | Select the Business Profile locations to update, ask the user for it if not provided. The same hours are applied to every selected location.                                                                                                                                                                                                                                                                                                      |
| `hours_type`    | string or SelectableOption                    | Yes      | -       | Which hours to set. Available options: 'regular' (the weekly opening hours) or 'special' (holiday and one off hours that override the weekly hours).                                                                                                                                                                                                                                                                                              |
| `regular_hours` | array (also accepts a comma-separated string) | No       | -       | Used when hours\_type is 'regular'. One row per opening period with fields: 'day' (Monday to Sunday), 'open' and 'close' as 24 hour 'HH:MM' times. Optional 'close\_day' for periods running past midnight, and 'closed' set to true to mark a day closed. IMPORTANT: this replaces the whole week, so include every open day; any day without a row becomes closed. Add two rows for the same day to create a split shift such as a lunch break. |
| `special_hours` | array (also accepts a comma-separated string) | No       | -       | Used when hours\_type is 'special'. One row per date with fields: 'date' (YYYY-MM-DD), optional 'end\_date' for a range, and either 'closed' set to true or 'open' and 'close' as 24 hour 'HH:MM' times. IMPORTANT: this replaces all existing special hours, so include every date you want to keep.                                                                                                                                             |

### SelectableOption

| Field   | Type   | Required | Default | Description |
| ------- | ------ | -------- | ------- | ----------- |
| `value` | string | Yes      | -       |             |
| `label` | string | Yes      | -       |             |

## Output

**Type**: `Dict`

Returns per-location results and the hour periods that were sent to Google. Uses 1 credit per location. Does not raise on partial failures; check failed\_count.

**Fields**: `success_count`, `failed_count`, `total_count`, `hours_type`, `periods`, `results`
