PriceLabs
App · 20 actions
Read listings, pricing, reservations and customization profiles from the PriceLabs Customer API.
Actions
| Action | What it does |
|---|---|
| Get account customizations | Get account customizations. |
| Get listing | Get listing. |
| Get listing customizations | Get listing customizations. |
| Get listing metrics | Get listing metrics. |
| Get listing optimizer summary | Get listing optimizer summary. |
| Get listing prices | Get listing prices. |
| Get neighborhood data | Get neighborhood data. |
| Get price push status | Get price push status. |
| List actions | List actions. |
| List customization profiles | List customization profiles. |
| List group listings | List group listings. |
| List group overrides | List group overrides. |
| List groups | List groups. |
| List listing overrides | List listing overrides. |
| List listings | List listings. |
| List neighborhood sources | List neighborhood sources. |
| List rate plans | List rate plans. |
| List report templates | List report templates. |
| List reservations | List reservations. |
| Search listings | Search listings. |
Get account customizations
Get account customizations.
Inputs
- Pms name
pms_nametextRequired - Pms name.
- Customizations
customizationstext - Customizations.
- Toggled on
toggled_ontrue/false - Toggled on.
Outputs
dataobject- The response from PriceLabs.
Example output
{
"data": {
"customizations": {
"booking_factor": {
"booking_factor_on": true,
"booking_factor_value_select_option": "default"
},
"custom_seasonal_profile": {
"custom_seasonal_profile": {},
"custom_seasonal_profile_on": true
},
"day_of_week_adjustment": {
"dow_factor_on": true,
"dow_factor_value_fri": 1,
"dow_factor_value_mon": 1,
"dow_factor_value_sat": 1,
"dow_factor_value_sun": 1,
"dow_factor_value_thu": 1,
"dow_factor_value_tue": 1,
"dow_factor_value_wed": 1
},
"demand_factor": {
"hotel_compset_type": "recommended",
"hotel_wt": "fully_str",
"tone_demand_factor": "conservative",
"tone_demand_factor_on": true
},
"extra_person_fee": {
"listing_extra_person_fee": 1,
"listing_extra_person_fee_trigger": 1,
"listing_extra_person_fee_type": "fixed",
"update_listing_extra_person_on": true
},
"far_out_premium": {
"far_out_premium_on": true,
"far_out_premium_start": 1,
"far_out_premium_step": 1,
"far_out_premium_type": "none",
"far_out_premium_value": 1
},
"last_minute_prices": {
"last_min_factor_dfd": 1,
"last_min_factor_on": true,
"last_min_factor_type": "none",
"last_min_factor_value": 1
},
"min_weekend_price": {
"min_weekend_price": 1,
"min_weekend_price_on": true,
"min_weekend_price_type": "fixed"
},
"monthly_discount": {
"monthly_discount": 1,
"monthly_discount_on": true
},
"occupancy_based_adjustment": {
"oba_profile_id": 1,
"occupancy_based_discounts": {},
"occupancy_based_discounts_on": true
},
"seasonality": {
"seasonality_customization_on": true,
"seasonality_type": "no_seasonality"
},
"weekly_discount": {
"weekly_discount": 1,
"weekly_discount_on": true
}
}
}
}Get listing
Get listing.
Inputs
- Listing
listing_idtextRequired - Listing id.
Outputs
dataobject- The response from PriceLabs.
Example output
{
"data": {
"listings": [
{
"base": 1,
"channel_listing_details": [
{}
],
"city_name": "example",
"cleaning_fees": 1,
"country": "example",
"currency": "example",
"group": "example",
"group_id": 1,
"id": "example",
"isHidden": true,
"last_date_pushed": "example",
"last_refreshed_at": "example",
"latitude": "example",
"longitude": "example",
"max": 1,
"min": 1,
"name": "example",
"no_of_bedrooms": 1,
"notes": "example",
"pms": "example",
"push_enabled": true,
"state": "example",
"subgroup": "example",
"subgroup_id": 1,
"tags": "example"
}
]
}
}Get listing customizations
Get listing customizations.
Inputs
- Listing
listing_idtextRequired - Listing id.
- Pms name
pms_nametextRequired - Pms name.
- Customizations
customizationstext - Customizations.
- Toggled on
toggled_ontrue/false - Toggled on.
Outputs
dataobject- The response from PriceLabs.
Example output
{
"data": {
"customizations": {
"booking_factor": {
"booking_factor_on": true,
"booking_factor_value_select_option": "default"
},
"custom_seasonal_profile": {
"custom_seasonal_profile": {},
"custom_seasonal_profile_on": true
},
"day_of_week_adjustment": {
"dow_factor_on": true,
"dow_factor_value_fri": 1,
"dow_factor_value_mon": 1,
"dow_factor_value_sat": 1,
"dow_factor_value_sun": 1,
"dow_factor_value_thu": 1,
"dow_factor_value_tue": 1,
"dow_factor_value_wed": 1
},
"demand_factor": {
"hotel_compset_type": "recommended",
"hotel_wt": "fully_str",
"tone_demand_factor": "conservative",
"tone_demand_factor_on": true
},
"extra_person_fee": {
"listing_extra_person_fee": 1,
"listing_extra_person_fee_trigger": 1,
"listing_extra_person_fee_type": "fixed",
"update_listing_extra_person_on": true
},
"far_out_premium": {
"far_out_premium_on": true,
"far_out_premium_start": 1,
"far_out_premium_step": 1,
"far_out_premium_type": "none",
"far_out_premium_value": 1
},
"last_minute_prices": {
"last_min_factor_dfd": 1,
"last_min_factor_on": true,
"last_min_factor_type": "none",
"last_min_factor_value": 1
},
"min_weekend_price": {
"min_weekend_price": 1,
"min_weekend_price_on": true,
"min_weekend_price_type": "fixed"
},
"monthly_discount": {
"monthly_discount": 1,
"monthly_discount_on": true
},
"occupancy_based_adjustment": {
"oba_profile_id": 1,
"occupancy_based_discounts": {},
"occupancy_based_discounts_on": true
},
"seasonality": {
"seasonality_customization_on": true,
"seasonality_type": "no_seasonality"
},
"weekly_discount": {
"weekly_discount": 1,
"weekly_discount_on": true
}
}
}
}Get listing metrics
Get listing metrics.
Inputs
- Listing
listing_idtextRequired - Listing id.
- Pms name
pms_nametextRequired - Pms name.
Outputs
dataobject- The response from PriceLabs.
Example output
{
"data": {
"data": {
"listing_level": {
"adjusted_occupancy": {},
"adr": {},
"booking_pickup": {},
"booking_pickup_unique": {},
"bp_ratio": 1,
"currency": "example",
"goal_completion_adr": {},
"goal_completion_occupancy": {},
"goal_completion_rental_revenue": {},
"goal_completion_revenue": {},
"goal_completion_revpar": {},
"last_booked_date": "example",
"min_prices": {},
"occupancy": {},
"revenue": {},
"revpar": {},
"stly_adjusted_occupancy": {},
"stly_adr": {},
"stly_booking_pickup": {},
"stly_booking_pickup_unique": {},
"stly_occupancy": {},
"stly_revenue": {},
"stly_revpar": {},
"stly_total_available": {},
"stly_total_blocked": {},
"stly_total_booked": {},
"total_available": {},
"total_blocked": {},
"total_booked": {},
"weekday_adjusted_occupancy": {},
"weekday_total_occupancy": {},
"weekend_adjusted_occupancy": {},
"weekend_total_occupancy": {}
},
"market_level": {
"adjusted_occupancy": {},
"adr": {},
"currency": "example",
"occupancy": {}
}
}
}
}Get listing optimizer summary
Get listing optimizer summary.
Inputs
- Subscribed
subscribedtrue/false - Subscribed.
- Status
statustext - Status.One of:
pending,processing,completed,error,delisted,archived,deleted. - Listing IDs
listing_idslist - Listing ids.
Outputs
dataobject- The response from PriceLabs.
Example output
{
"data": {
"data": {
"has_optimizer_report": true,
"listings": [
{}
]
}
}
}Get listing prices
Get listing prices.
Inputs
- Listings
listingslistRequired - Listings.
Outputs
datalist- The response from PriceLabs.
Example output
{
"data": [
{
"currency": "example",
"data": [
{}
],
"error": "example",
"error_status": "LISTING_NOT_PRESENT",
"group": "example",
"id": "example",
"last_refreshed_at": "example",
"los_pricing": {
"los_night": {}
},
"pms": "example"
}
]
}Get neighborhood data
Get neighborhood data.
Inputs
- Listing
listing_idtextRequired - Listing id.
- Pms
pmstextRequired - Pms.
- Use default data
use_default_datatext - Use default data.One of:
true,false.
Outputs
dataobject- The response from PriceLabs.
Example output
{
"data": {
"data": {
"Future Occ/New/Canc": {
"Category": {},
"Labels": [
"example"
]
},
"Future Percentile Prices": {
"Category": {},
"Labels": [
"example"
]
},
"Listings Used": 1,
"Market KPI": {
"Category": {},
"Labels": [
"example"
]
},
"Neighborhood Data Source": "example",
"Summary Table Base Price": {
"Category": {},
"Labels": [
"example"
]
},
"currency": "example",
"lat": 1,
"lng": 1,
"source": "example"
},
"status": "example"
}
}Get price push status
Get price push status.
Inputs
- Id
idnumberRequired - Id.
Outputs
dataobject- The response from PriceLabs.
Example output
{
"data": {
"status": "example"
}
}List actions
List actions.
Inputs
- Listing
listing_idtext - Listing id.
- Pms
pmstext - Pms.
- Mode
modetext - Mode.One of:
visible,all,hidden.
Outputs
datalist- The response from PriceLabs.
Example output
{
"data": [
{
"actions": [
{}
],
"listing_details": {
"listing_id": "example",
"listing_name": "example",
"pms": "example",
"pms_display_name": "example"
}
}
]
}List customization profiles
List customization profiles.
Inputs
- Profile type
profile_typetext - Profile type.One of:
minstay,pricing,checkincheckout,oba. - Archived
archivedtrue/false - Archived.
- Name
nametext - Name.
Outputs
dataobject- The response from PriceLabs.
Example output
{
"data": {
"profiles": {
"checkincheckout": [
{}
],
"minstay": [
{}
],
"oba": [
{}
],
"pricing": [
{}
]
}
}
}List group listings
List group listings.
Inputs
- Group ID
group_idnumber - Group id.
- Subgroup ID
subgroup_idnumber - Subgroup id.
- Page size
page_sizenumber - Page size.
- Page number
page_numbernumber - Page number.
Outputs
dataobject- The response from PriceLabs.
Example output
{
"data": {
"group_id": 1,
"listings": [
{
"listing_id": "example",
"listing_name": "example",
"pms": "example"
}
],
"message": "example",
"pagination": {
"page_number": 1,
"page_size": 1,
"total_pages": 1,
"total_records": 1
},
"subgroup_id": 1
}
}List group overrides
List group overrides.
Inputs
- Id
idnumberRequired - Id.
Outputs
dataobject- The response from PriceLabs.
Example output
{
"data": {
"id": 1,
"message": "example",
"overrides": [
{
"base_price": 1,
"check_in": "example",
"check_in_check_out_enabled": "example",
"check_out": "example",
"created_at": "example",
"currency": "example",
"date": "example",
"max_price": 1,
"max_price_type": "fixed",
"min_price": 1,
"min_price_type": "fixed",
"min_stay": 1,
"price": "example",
"price_type": "percent",
"reason": "example",
"updated_at": "example"
}
]
}
}List groups
List groups.
Inputs
None.
Outputs
dataobject- The response from PriceLabs.
Example output
{
"data": {
"groups": [
{
"has_listings": true,
"id": 1,
"name": "example"
}
]
}
}List listing overrides
List listing overrides.
Inputs
- Listing
listing_idtextRequired - Listing id.
- Pms
pmstextRequired - Pms.
- Start date
start_datedate - Start date.
- End date
end_datedate - End date.
Outputs
dataobject- The response from PriceLabs.
Example output
{
"data": {
"overrides": [
{
"base_price": 1,
"check_in": "example",
"check_in_check_out_enabled": "example",
"check_out": "example",
"created_at": "example",
"currency": "example",
"date": "example",
"lead_time_expiry": 1,
"max_price": 1,
"max_price_type": "fixed",
"min_price": 1,
"min_price_type": "fixed",
"min_stay": 1,
"price": "example",
"price_type": "percent",
"reason": "example",
"updated_at": "example"
}
]
}
}List listings
List listings.
Inputs
- Skip hidden
skip_hiddentrue/false - Skip hidden.
- Only syncing listings
only_syncing_listingstrue/false - Only syncing listings.
Outputs
dataobject- The response from PriceLabs.
Example output
{
"data": {
"listings": [
{
"base": 1,
"channel_listing_details": [
{}
],
"city_name": "example",
"cleaning_fees": 1,
"country": "example",
"currency": "example",
"group": "example",
"group_id": 1,
"id": "example",
"isHidden": true,
"last_date_pushed": "example",
"last_refreshed_at": "example",
"latitude": "example",
"longitude": "example",
"max": 1,
"min": 1,
"name": "example",
"no_of_bedrooms": 1,
"notes": "example",
"pms": "example",
"push_enabled": true,
"state": "example",
"subgroup": "example",
"subgroup_id": 1,
"tags": "example"
}
]
}
}List neighborhood sources
List neighborhood sources.
Inputs
- Listing
listing_idtextRequired - Listing id.
- Pms
pmstextRequired - Pms.
Outputs
dataobject- The response from PriceLabs.
Example output
{
"data": {
"data": {
"current_source": "NL",
"listing_id": "example",
"pms": "example",
"sources": [
{}
]
},
"status": "example"
}
}List rate plans
List rate plans.
Inputs
- Listing
listing_idtextRequired - Listing id.
- Pms name
pms_nametextRequired - Pms name.
Outputs
dataobject- The response from PriceLabs.
Example output
{
"data": {
"rate_plans": {
"id": "example",
"name": "example",
"pms": "example",
"rateplans": {}
}
}
}List report templates
List report templates.
Inputs
None.
Outputs
dataobject- The response from PriceLabs.
Example output
{
"data": {
"templates": [
{
"createdByDisplayName": "example",
"description": "example",
"lastGeneratedDate": "example",
"name": "example",
"templateId": 1,
"userId": 1
}
]
}
}List reservations
List reservations.
Inputs
- Pms
pmstextRequired - Pms.
- Start date
start_datedate - Start date.
- End date
end_datedate - End date.
- Listing
listing_idtext - Listing id.
- Include hidden
include_hiddentext - Include hidden.One of:
true,false. - Booked start date
booked_start_datedate - Booked start date.
- Booked end date
booked_end_datedate - Booked end date.
- Include
includetext - Include.
- Limit
limitnumber - Limit.
- Offset
offsetnumber - Offset.
Outputs
dataobject- The response from PriceLabs.
Example output
{
"data": {
"data": [
{
"booked_date": "example",
"booking_channel": "example",
"booking_status": "booked",
"cancelled_on": "example",
"channelConfirmationCode": "example",
"check_in": "example",
"check_out": "example",
"cleaning_fees": 1,
"currency": "example",
"guestName": "example",
"guest_count": 1,
"listing_id": "example",
"listing_name": "example",
"no_of_days": 1,
"ota_commission": 1,
"rental_revenue": 1,
"reservation_id": "example",
"total_cost": 1,
"unit_id": "example"
}
],
"next_page": true,
"pms_name": "example"
}
}Search listings
Search listings.
Inputs
- Search query
search_querytext - Search query.
- Listing name
listing_nametext - Listing name.
- Listings
listingstext - Listings.
- Pms
pmstext - Pms.
- Cities
citiestext - Cities.
- Groups
groupstext - Groups.
- Subgroups
subgroupstext - Subgroups.
- Only syncing listings
only_syncing_listingstrue/false - Only syncing listings.
Outputs
dataobject- The response from PriceLabs.
Example output
{
"data": {
"listings": [
{
"channel_listing_details": [
{}
],
"group_id": 1,
"listing_id": "example",
"listing_name": "example",
"parent_key": 1,
"pms_name": "example",
"property_name": "example",
"push_enabled": true
}
],
"total_listings": 1
}
}