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

# businessHoursOverride

> Fetches a single business hours override by its ID, or null if no override with that ID exists. Requires the `businessHours:read` permission.



**query** `businessHoursOverride(businessHoursOverrideId: ID!): BusinessHoursOverride`

## Arguments

**`businessHoursOverrideId`**: `ID!` (required)

## Returns

`BusinessHoursOverride`

**`id`**: `ID!`

---

**`businessHoursScheduleId`**: `ID!`

---

**`name`**: `String!`

Human-readable name, e.g. 'Christmas 2026'.

---

**`startsOn`**: `String!`

The first date, in YYYY-MM-DD format, in the schedule's timezone.

---

**`endsOn`**: `String!`

The last date (inclusive), in YYYY-MM-DD format, in the schedule's timezone.

---

**`slots`**: `[BusinessHoursOverrideSlot!]!`

The open slots, sorted by date then opening time. A date in the range without slots is closed.

---

**`createdAt`**: `DateTime!`

---

**`createdBy`**: `InternalActor!`

---

**`updatedAt`**: `DateTime!`

---

**`updatedBy`**: `InternalActor!`

## Examples

```graphql Query
query BusinessHoursOverride($businessHoursOverrideId: ID!) {
  businessHoursOverride(businessHoursOverrideId: $businessHoursOverrideId) {
    id
    businessHoursScheduleId
    name
    startsOn
    endsOn
    slots {
      date
      opensAt
      closesAt
    }
  }
}
```

```json Variables
{
  "businessHoursOverrideId": "id"
}
```

```json Response
{
  "data": {
    "businessHoursOverride": {
      "id": "id",
      "businessHoursScheduleId": "id",
      "name": "string",
      "startsOn": "string",
      "endsOn": "string",
      "slots": [
        {
          "date": "string",
          "opensAt": "string",
          "closesAt": "string"
        }
      ]
    }
  }
}
```


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