UpsellGuru Upgrade Bids API

Upgrade Bids placed on UpsellGuru

GitHub OpenAPI

Operations 3

GET /upgrade_bids Get upgrade bids list #
POST /upgrade_bids Save upgrade bid #
POST /upgrade_bids/change_status/{upgradeBidId} Change upgrade bid status #

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-upgradebids-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-upgradebids-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: UpsellGuru Public Upgrade Bids API
  version: 1.0.0
  description: Upgrade Bids placed on UpsellGuru
servers:
- url: https://api.upsellguru.com
tags:
- name: upgradeBids
  description: Upgrade Bids placed on UpsellGuru
paths:
  /upgrade_bids:
    get:
      tags:
      - upgradeBids
      operationId: getUpgradeBidsList
      parameters:
      - in: query
        name: hotelId
        required: true
        description: The Hotel ID
        schema:
          type: integer
      - in: query
        name: dateFrom
        required: true
        description: Start of the date range to filter by (inclusive). The field filtered on is determined by `dateType`.
        schema:
          type: string
          format: date
      - in: query
        name: dateTo
        required: true
        description: End of the date range to filter by (inclusive). The field filtered on is determined by `dateType`.
        schema:
          type: string
          format: date
      - in: query
        name: dateType
        required: false
        description: Selects which date field the `dateFrom`/`dateTo` range is applied to. When omitted, the legacy default filter is used.
        schema:
          $ref: '#/components/schemas/DateType'
      description: Retrieve list of upgrade bids by hotel Id the API account has access to
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArrayOfUpgradeBid'
        '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 upgrade bids list
      x-summary-source: derived
    post:
      tags:
      - upgradeBids
      operationId: saveUpgradeBid
      description: Create a new Upgrade Bid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SaveUpgradeBidRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  upgradeBid:
                    $ref: '#/components/schemas/UpgradeBid'
        '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: Save upgrade bid
      x-summary-source: derived
  /upgrade_bids/change_status/{upgradeBidId}:
    post:
      tags:
      - upgradeBids
      operationId: changeUpgradeBidStatus
      parameters:
      - in: path
        name: upgradeBidId
        required: true
        description: The Upgrade Bid ID
        schema:
          type: integer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChangeOfUpgradeBidStatusRequest'
      description: Change the status of an upgrade bid
      responses:
        '204':
          description: OK
          content: {}
        '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: Change upgrade bid status
      x-summary-source: derived
components:
  schemas:
    ChangeOfUpgradeBidStatusRequest:
      type: object
      properties:
        toStatus:
          $ref: '#/components/schemas/ValidNewUpgradeBidStatus'
        deniedReason:
          $ref: '#/components/schemas/UpgradeBidDeniedReason'
    UpgradeBid:
      type: object
      properties:
        id:
          type: integer
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        touchpoint:
          $ref: '#/components/schemas/Touchpoint'
        status:
          $ref: '#/components/schemas/UpgradeBidStatus'
        fromRoomType:
          $ref: '#/components/schemas/RoomTypeLite'
        toRoomType:
          $ref: '#/components/schemas/RoomTypeLite'
        amount:
          $ref: '#/components/schemas/Money'
        strength:
          type: integer
          minimum: 0
          maximum: 4
        reservation:
          $ref: '#/components/schemas/ReservationLite'
        deniedReason:
          $ref: '#/components/schemas/UpgradeBidDeniedReason'
    Money:
      type: object
      properties:
        amount:
          type: number
          format: float
        currency:
          type: string
      required:
      - amount
      - currency
    RoomTypeLite:
      type: object
      properties:
        id:
          type: integer
        code:
          type: string
    SourceChannel:
      type: string
      enum:
      - EMAIL
      - SMS
      - WHATSAPP
      - QR_CODE
      - AT_DESK
      - PHONE
    ReservationLite:
      type: object
      properties:
        uuid:
          type: string
          format: uuid
        status:
          $ref: '#/components/schemas/ReservationStatus'
        roomTypeCode:
          type: string
        bookedRoomTypeCode:
          type: string
        checkin:
          type: string
          format: date
        checkout:
          type: string
          format: date
        reference:
          type: string
        ratePlan:
          type: string
        marketSegment:
          type: string
        reservationSource:
          type: string
    ArrayOfUpgradeBid:
      type: array
      items:
        $ref: '#/components/schemas/UpgradeBid'
    ValidNewUpgradeBidStatus:
      type: string
      description: This enum describes all possible status an upgrade bid can be submitted to UpsellGuru
      enum:
      - ACCEPTED
      - CANCELLED
      - REJECTED
    Error:
      type: object
      properties:
        type:
          type: string
        message:
          type: string
    UpgradeBidStatus:
      type: string
      description: This enum describes all possible status an upgrade bid can be in UpsellGuru
      enum:
      - ACCEPTED
      - CANCELLED
      - EXPIRED
      - PENDING
      - REJECTED
    ReservationStatus:
      type: string
      description: This enum describes all possible status a reservation can be in UpsellGuru
      enum:
      - TENTATIVE
      - CONFIRMED
      - INHOUSE
      - CHECKEDOUT
      - CANCELLED
      - NOSHOW
    DateType:
      type: string
      description: 'Selects which date field a date-range filter applies to.

        - `CHECKIN`: reservation check-in date

        - `STAY`: any night within the reservation stay

        - `CHECKOUT`: reservation check-out date

        - `ACTIVITY`: last activity (updated at) timestamp

        - `TRANSACTION`: transaction date

        '
      enum:
      - CHECKIN
      - STAY
      - CHECKOUT
      - ACTIVITY
      - TRANSACTION
    Touchpoint:
      type: string
      enum:
      - AT_RESERVATION
      - RESERVATION_CONFIRMATION
      - PRE_ARRIVAL_UPSELLING
      - PRE_ARRIVAL_UPSELLING_REMINDER
      - ALTERNATIVE_UPGRADE
      - GUEST_RETARGETING
      - REGISTRATION_CARD
      - FRONT_DESK
      - SPA
      - F_AND_B
      - INHOUSE_EXTRAS
      - HOTEL_DIRECTORY
    SaveUpgradeBidRequest:
      type: object
      required:
      - hotelId
      - reservationId
      - roomTypeId
      - amount
      - touchpoint
      - sourceChannel
      properties:
        hotelId:
          type: integer
          description: The Hotel ID
        reservationId:
          type: integer
          description: The Reservation ID
        roomTypeId:
          type: integer
          description: The Room Type ID
        wasHighlightedRoom:
          type: boolean
          description: Room type was previously highlighted
        amount:
          type: number
          format: float
          description: Amount of the upgrade bid
        touchpoint:
          $ref: '#/components/schemas/Touchpoint'
        sourceChannel:
          $ref: '#/components/schemas/SourceChannel'
    UpgradeBidDeniedReason:
      type:
      - string
      - 'null'
      description: This enum describes all possible reasons that an upgrade bid can be denied in UpsellGuru
      enum:
      - LIMITED_ROOM_TYPE_AVAILABILITY
      - NO_ROOM_TYPE_AVAILABILITY
      - OFFER_TOO_WEAK
      - GUEST_CANT_BE_UPGRADED
      - PAYMENT_NOT_RECEIVED
      - null
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-Api-Key