UpsellGuru Room Types API

Room Types configured in UpsellGuru

GitHub OpenAPI

Operations 3

GET /room_types Get room types list #
POST /room_types Create room type #
POST /room_types/{roomTypeId} Update room types #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/upsellguru:upsellguru-roomtypes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

upsellguru-roomtypes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: UpsellGuru Public Room Types API
  version: 1.0.0
  description: Room Types configured in UpsellGuru
servers:
- url: https://api.upsellguru.com
tags:
- name: roomTypes
  description: Room Types configured in UpsellGuru
paths:
  /room_types:
    get:
      tags:
      - roomTypes
      operationId: getRoomTypesList
      parameters:
      - in: query
        name: hotelId
        required: true
        description: The Hotel ID
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArrayOfRoomType'
        '400':
          description: Validation Exception
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Security Exception
          content: {}
        '403':
          description: Security Exception
          content: {}
      security:
      - apiKey: []
      summary: Get room types list
      x-summary-source: derived
    post:
      tags:
      - roomTypes
      operationId: createRoomType
      parameters:
      - in: query
        name: hotelId
        required: true
        description: The Hotel ID
        schema:
          type: integer
      description: Create a new room type
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BasicRoomType'
      responses:
        '201':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoomType'
        '400':
          description: Validation Exception
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Security Exception
          content: {}
        '403':
          description: Security Exception
          content: {}
      security:
      - apiKey: []
      summary: Create room type
      x-summary-source: derived
  /room_types/{roomTypeId}:
    post:
      tags:
      - roomTypes
      operationId: updateRoomTypes
      parameters:
      - in: path
        name: roomTypeId
        required: true
        description: The Room Type ID
        schema:
          type: integer
      description: Update an existing room type
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BasicRoomType'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoomType'
        '400':
          description: Validation Exception
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Security Exception
          content: {}
        '403':
          description: Security Exception
          content: {}
      security:
      - apiKey: []
      summary: Update room types
      x-summary-source: derived
components:
  schemas:
    ArrayOfRoomType:
      type: array
      items:
        $ref: '#/components/schemas/RoomType'
    BasicRoomType:
      type: object
      properties:
        status:
          $ref: '#/components/schemas/RoomTypeStatus'
        code:
          type: string
        pmsTransactionCode:
          type: string
          description: Room Type code used to write back to the PMS
        otherPmsCodes:
          type: array
          items:
            type: string
          description: Other room type codes that can be used to identify this room type
        names:
          $ref: '#/components/schemas/LocalizedStringsMap'
        descriptions:
          $ref: '#/components/schemas/LocalizedStringsMap'
        position:
          type: integer
        numberOfRooms:
          type: integer
          description: Number of physical room units belonging to this Room Type
        categoryId:
          type: integer
          description: Room Type category id that the room type belongs to
    RoomTypeStatus:
      type: string
      description: This enum describes all possible status a room type can be in UpsellGuru
      enum:
      - ONLINE
      - OFFLINE
      - DELETED
    Error:
      type: object
      properties:
        type:
          type: string
        message:
          type: string
    PictureUrl:
      type: string
      format: url
    RoomType:
      allOf:
      - $ref: '#/components/schemas/BasicRoomType'
      - type: object
        properties:
          id:
            type: integer
          createdAt:
            type: string
            format: date-time
          updatedAt:
            type: string
            format: date-time
          hotelId:
            type: integer
          isNotMapped:
            type: boolean
            description: If true, this room type was created after receiving a reservation with a room type code not previously mapped
          hasUpgradePricesConfigured:
            type: boolean
          pictures:
            type: array
            items:
              $ref: '#/components/schemas/PictureUrl'
    LocalizedStringsMap:
      type: object
      additionalProperties:
        type: string
      example:
        en: Text in English
        es: Texto en español
        it: Testo in italiano
        de: Text auf Deutsch
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-Api-Key