UpsellGuru Extra Types API
Extra Types configured in UpsellGuru
Extra Types configured in 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-extratypes-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 Extra Types API
version: 1.0.0
description: Extra Types configured in UpsellGuru
servers:
- url: https://api.upsellguru.com
tags:
- name: extraTypes
description: Extra Types configured in UpsellGuru
paths:
/extra_types:
get:
tags:
- extraTypes
operationId: getExtraTypesList
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/ArrayOfExtraType'
'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 extra types list
x-summary-source: derived
post:
tags:
- extraTypes
operationId: createExtraType
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/BasicExtraType'
responses:
'201':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/ExtraType'
'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 extra type
x-summary-source: derived
/extra_types/{extraTypeId}:
post:
tags:
- extraTypes
operationId: updateExtraTypes
parameters:
- in: path
name: extraTypeId
required: true
description: The Extra Type ID
schema:
type: integer
description: Update an existing extra type
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/BasicExtraType'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/ExtraType'
'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 extra types
x-summary-source: derived
components:
schemas:
ExtraType:
allOf:
- $ref: '#/components/schemas/BasicExtraType'
- type: object
properties:
id:
type: integer
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
hotelId:
type: integer
variations:
type: array
items:
$ref: '#/components/schemas/ExtraTypeVariation'
pictures:
type: array
items:
$ref: '#/components/schemas/PictureUrl'
ExtraTypeSalesType:
type: string
enum:
- INSTANT_CONFIRMATION
- BIDDING
- ON_REQUEST
ExtraTypeBillingRule:
type: string
enum:
- PERSON
- DAY_PERSON
- DAY
- UNIT
- RESERVATION
ArrayOfExtraType:
type: array
items:
$ref: '#/components/schemas/ExtraType'
Money:
type: object
properties:
amount:
type: number
format: float
currency:
type: string
required:
- amount
- currency
ExtraTypeOfferedDays:
type: object
properties:
mon:
type: boolean
tue:
type: boolean
wed:
type: boolean
thu:
type: boolean
fri:
type: boolean
sat:
type: boolean
sun:
type: boolean
ExtraTypeVariation:
type: object
properties:
id:
type: integer
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
hotelId:
type: integer
status:
$ref: '#/components/schemas/ExtraTypeStatus'
position:
type: integer
code:
type: string
pmsTransactionCode:
type: string
price:
$ref: '#/components/schemas/Money'
names:
$ref: '#/components/schemas/LocalizedStringsMap'
ExtraTypeOfferedDaysType:
type: string
enum:
- CHECKIN
- STAY
- CHECKOUT
ExtraTypeDayTimeConfirmationSchedule:
type: object
properties:
hoursFrom:
type: integer
hoursTo:
type: integer
minutesFrom:
type: integer
minutesTo:
type: integer
Error:
type: object
properties:
type:
type: string
message:
type: string
ExtraTypePointOfSale:
type: string
enum:
- ALL
- PRESTAY_ONLY
- INHOUSE_ONLY
ExtraTypeStatus:
type: string
description: This enum describes all possible status an extra type can be in UpsellGuru
enum:
- ONLINE
- OFFLINE
- DELETED
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
PictureUrl:
type: string
format: url
ExtraTypeDayTimeConfirmation:
type: string
enum:
- NOT_REQUIRED
- ANY_TIME
- SPECIFIC_HOURS
BasicExtraType:
type: object
properties:
status:
$ref: '#/components/schemas/ExtraTypeStatus'
code:
type: string
pmsTransactionCode:
type: string
otherPmsCodes:
type: array
items:
type: string
billingRule:
$ref: '#/components/schemas/ExtraTypeBillingRule'
salesType:
$ref: '#/components/schemas/ExtraTypeSalesType'
category:
$ref: '#/components/schemas/ExtraTypeCategory'
names:
$ref: '#/components/schemas/LocalizedStringsMap'
descriptions:
$ref: '#/components/schemas/LocalizedStringsMap'
position:
type: integer
price:
$ref: '#/components/schemas/Money'
strikePrice:
$ref: '#/components/schemas/Money'
taxes:
$ref: '#/components/schemas/Money'
serviceFee:
$ref: '#/components/schemas/Money'
pointOfSale:
$ref: '#/components/schemas/ExtraTypePointOfSale'
cutOffDays:
type: integer
cutOffHour:
type: integer
minimum: 0
maximum: 23
excludedDates:
type: array
items:
format: date
availableDates:
type: array
items:
format: date
losFrom:
type: integer
losTo:
type: integer
excludedRatePlans:
type: array
items:
format: string
allowedRatePlans:
type: array
items:
format: string
excludedMarketSegments:
type: array
items:
format: string
allowedMarketSegments:
type: array
items:
format: string
excludedReservationSources:
type: array
items:
format: string
allowedReservationSources:
type: array
items:
format: string
excludedMembershipLevels:
type: array
items:
format: string
allowedMembershipLevels:
type: array
items:
format: string
offeredDays:
$ref: '#/components/schemas/ExtraTypeOfferedDays'
offeredDaysType:
$ref: '#/components/schemas/ExtraTypeOfferedDaysType'
dayTimeConfirmation:
$ref: '#/components/schemas/ExtraTypeDayTimeConfirmation'
dayTimeConfirmationSchedule:
$ref: '#/components/schemas/ExtraTypeDayTimeConfirmationSchedule'
customQuestion:
type: string
isPurchasingMultipleVariationsAllowed:
type: boolean
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