Cloudbeds GetRate API

The GetRate API from Cloudbeds — 1 operation(s) for getrate.

Documentation

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

cloudbeds-getrate-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Cloudbeds REST API v1.3 Access Token GetRate API
  description: 'Cloudbeds REST API for property management - reservations, guests, rooms,

    rate plans, payments, housekeeping, webhooks, and reporting. v1.3 is the

    current documented version (v1.2 remains available). Authentication is via

    API keys or OAuth 2.0 for technology partners.

    '
  version: 1.3.0
servers:
- url: https://hotels.cloudbeds.com/api/v1.3
  description: Cloudbeds REST API v1.3
- url: https://hotels.cloudbeds.com/api/v1.2
  description: Cloudbeds REST API v1.2 (legacy)
security:
- apiKey: []
- oauth2:
  - read
  - write
tags:
- name: GetRate
paths:
  /getRate:
    get:
      summary: Get rate details
      parameters:
      - name: propertyID
        in: query
        required: true
        schema:
          type: string
      - name: roomTypeID
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Rate
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RatePlan'
      tags:
      - GetRate
components:
  schemas:
    RatePlan:
      type: object
      properties:
        rateID:
          type: string
        roomTypeID:
          type: string
        rate:
          type: number
        date:
          type: string
          format: date
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-KEY
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://hotels.cloudbeds.com/api/v1.2/oauth
          tokenUrl: https://hotels.cloudbeds.com/api/v1.2/access_token
          scopes:
            read: Read access
            write: Write access