---
title: "Get all Membership Advanced Booking Rules"
method: GET
path: "/v1/organizations/settings/membership_advance_booking_rules"
---

# Get all Membership Advanced Booking Rules

`GET /v1/organizations/settings/membership_advance_booking_rules`

## Request

- Base URL: `https://api.zenoti.com`
- URL: `https://api.zenoti.com/v1/organizations/settings/membership_advance_booking_rules`
- Auth: none required
- TypeScript: <https://skmtc.dev/zenoti/apis/zenoti-authentication/docs/v1/organizations/settings/membership_advance_booking_rules/get.ts> (a function with typed inputs; its response is checked against the schema)

This API returns the full list of membership-based advance booking rules configured for the organization. Used by the "Advance Booking Windows" admin settings page to populate the "Previously Added Rules" table.

## Response `200`

200

- union
  - object
    - `membership_advance_booking_rules` object[]
      - `rule_id` string
      - `membership_id` string
      - `membership_name` string
      - `advance_booking_days` integer
      - `items` object[]
        - `id` string
        - `name` string
        - `type` integer
    - `error` unknown
  - object
    - `membership_advance_booking_rules` object[]
    - `error` unknown

## Other responses

- `401`: 401
- `403`: 403
- `500`: 500

---

[API](https://skmtc.dev/zenoti/apis/zenoti-authentication.md) - [All operations](https://skmtc.dev/zenoti/apis/zenoti-authentication/llms.txt) - [OpenAPI document](https://skmtc.dev/zenoti/apis/zenoti-authentication/revisions/e628f892391a?raw)
