UpsellGuru Booked Extras API
Booked Extras purchased on UpsellGuru
Booked Extras purchased on UpsellGuru
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/upsellguru:upsellguru-bookedextras-api"
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.
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: 3.2.0
info:
title: UpsellGuru Public Booked Extras API
version: 1.0.0
description: Booked Extras purchased on UpsellGuru
servers:
- url: https://api.upsellguru.com
tags:
- name: bookedExtras
description: Booked Extras purchased on UpsellGuru
paths:
/booked_extras:
get:
tags:
- bookedExtras
operationId: getBookedExtrasList
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 booked extras by hotel Id the API account has access to
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/ArrayOfBookedExtra'
'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 booked extras list
x-summary-source: derived
post:
tags:
- bookedExtras
operationId: saveBookedExtra
description: Create a new booked extra
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SaveBookedExtraRequest'
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
bookedExtra:
$ref: '#/components/schemas/BookedExtra'
'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 booked extra
x-summary-source: derived
components:
schemas:
BookedExtra:
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/BookedExtraStatus'
extraType:
$ref: '#/components/schemas/ExtraTypeLite'
amount:
$ref: '#/components/schemas/Money'
quantity:
type: integer
reservation:
$ref: '#/components/schemas/ReservationLite'
Money:
type: object
properties:
amount:
type: number
format: float
currency:
type: string
required:
- amount
- currency
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
SourceChannel:
type: string
enum:
- EMAIL
- SMS
- WHATSAPP
- QR_CODE
- AT_DESK
- PHONE
ArrayOfBookedExtra:
type: array
items:
$ref: '#/components/schemas/BookedExtra'
Error:
type: object
properties:
type:
type: string
message:
type: string
ExtraTypeCategory:
type: string
enum:
- F_AND_B
- F_AND_B_BREAKFAST
- F_AND_B_DINNER
- EXTENDED_STAY
- EXTENDED_STAY_ECI
- EXTENDED_STAY_LCO
- SPA
- ACTIVITIES
- TRANSPORTATION
- ROOM_AMENITIES
- PACKAGES
- CLUB_BENEFITS
- LOYALTY
SaveBookedExtraRequest:
type: object
required:
- hotelId
- reservationId
- extraTypeId
- touchpoint
- sourceChannel
- price
- quantity
properties:
hotelId:
type: integer
description: The Hotel ID
reservationId:
type: integer
description: The Reservation ID
extraTypeId:
type: integer
description: The Extra Type ID
variationId:
type: integer
description: The Extra Type variation ID
quantity:
type: integer
description: Quantity of the extra being booked
price:
type: number
format: float
description: Price per unit
dynamicPricing:
type: object
description: Map of variations with their quantities and prices
required:
- range
- roomTypePrice
- limit
properties:
limit:
type: string
description: End date for the dynamic pricing
range:
type: object
description: Quantity of the extra being booked
properties:
fromHour:
type: integer
description: Start time (in hours) for applying dynamic pricing rules
toHour:
type: integer
description: End time (in hours) for applying dynamic pricing rules
roomRatePercentage:
type: integer
description: Room rate percentage used for dynamic pricing
roomTypePrice:
type: object
description: Dynamic pricing details (required only for dynamic pricing model)
properties:
amount:
type: number
format: float
description: Price
currency:
type: string
description: Currency
touchpoint:
$ref: '#/components/schemas/Touchpoint'
sourceChannel:
$ref: '#/components/schemas/SourceChannel'
BookedExtraStatus:
type: string
description: This enum describes all possible status a booked extra can be in UpsellGuru
enum:
- CONFIRMED
- REJECTED
- PENDING
- EXPIRED
- CANCELLED
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
ExtraTypeLite:
type: object
properties:
id:
type: integer
code:
type: string
category:
$ref: '#/components/schemas/ExtraTypeCategory'
securitySchemes:
apiKey:
type: apiKey
in: header
name: X-Api-Key