---
title: "RatePlan"
url: "https://portal.konghotels.cloud/apis/kong-hotels-partner-api-1/versions/23cc133a-2f87-4d55-9490-0b8b2bb7dd78/schemas/RatePlan"
---

> Full API specification: https://portal.konghotels.cloud/apis/kong-hotels-partner-api-1/versions/23cc133a-2f87-4d55-9490-0b8b2bb7dd78.md

# RatePlan

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Kong Hotels Partner API
  version: 1.0.0
servers:
  - url: https://api.konghotels.cloud
    description: Kong Gateway
components:
  schemas:
    MealPlan:
      type: string
      enum:
        - room_only
        - breakfast
        - half_board
        - all_inclusive
    CancellationPolicy:
      type: object
      properties:
        code:
          type: string
          enum:
            - FLEX24
            - FLEX48
            - MOD7D
            - NONREF
        name:
          type: string
        description:
          type: string
        is_refundable:
          type: boolean
        free_cancellation_hours_before_check_in:
          type:
            - integer
            - "null"
        penalty:
          type: object
          properties:
            type:
              type: string
              enum:
                - nights
                - percent
            value:
              type: number
    RatePlan:
      type: object
      properties:
        code:
          type: string
          examples:
            - BAR
        name:
          type: string
          examples:
            - Best Available Rate
        description:
          type: string
        meal_plan:
          $ref: "#/components/schemas/MealPlan"
        requires_membership:
          type: boolean
        allows_modification:
          type: boolean
        restrictions:
          type: object
          properties:
            min_length_of_stay:
              type: integer
            max_length_of_stay:
              type:
                - integer
                - "null"
            min_advance_days:
              type: integer
        cancellation_policy:
          $ref: "#/components/schemas/CancellationPolicy"
```
