PriceLabs

App · 20 actions

Read listings, pricing, reservations and customization profiles from the PriceLabs Customer API.

Actions

ActionWhat it does
Get account customizationsGet account customizations.
Get listingGet listing.
Get listing customizationsGet listing customizations.
Get listing metricsGet listing metrics.
Get listing optimizer summaryGet listing optimizer summary.
Get listing pricesGet listing prices.
Get neighborhood dataGet neighborhood data.
Get price push statusGet price push status.
List actionsList actions.
List customization profilesList customization profiles.
List group listingsList group listings.
List group overridesList group overrides.
List groupsList groups.
List listing overridesList listing overrides.
List listingsList listings.
List neighborhood sourcesList neighborhood sources.
List rate plansList rate plans.
List report templatesList report templates.
List reservationsList reservations.
Search listingsSearch listings.

Get account customizations

Get account customizations.

Inputs

Pms namepms_nametextRequired
Pms name.
Customizationscustomizationstext
Customizations.
Toggled ontoggled_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

Listinglisting_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

Listinglisting_idtextRequired
Listing id.
Pms namepms_nametextRequired
Pms name.
Customizationscustomizationstext
Customizations.
Toggled ontoggled_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

Listinglisting_idtextRequired
Listing id.
Pms namepms_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

Subscribedsubscribedtrue/false
Subscribed.
Statusstatustext
Status.One of: pending, processing, completed, error, delisted, archived, deleted.
Listing IDslisting_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

ListingslistingslistRequired
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

Listinglisting_idtextRequired
Listing id.
PmspmstextRequired
Pms.
Use default datause_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

IdidnumberRequired
Id.

Outputs

dataobject
The response from PriceLabs.
Example output
{
  "data": {
    "status": "example"
  }
}

List actions

List actions.

Inputs

Listinglisting_idtext
Listing id.
Pmspmstext
Pms.
Modemodetext
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 typeprofile_typetext
Profile type.One of: minstay, pricing, checkincheckout, oba.
Archivedarchivedtrue/false
Archived.
Namenametext
Name.

Outputs

dataobject
The response from PriceLabs.
Example output
{
  "data": {
    "profiles": {
      "checkincheckout": [
        {}
      ],
      "minstay": [
        {}
      ],
      "oba": [
        {}
      ],
      "pricing": [
        {}
      ]
    }
  }
}

List group listings

List group listings.

Inputs

Group IDgroup_idnumber
Group id.
Subgroup IDsubgroup_idnumber
Subgroup id.
Page sizepage_sizenumber
Page size.
Page numberpage_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

IdidnumberRequired
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

Listinglisting_idtextRequired
Listing id.
PmspmstextRequired
Pms.
Start datestart_datedate
Start date.
End dateend_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 hiddenskip_hiddentrue/false
Skip hidden.
Only syncing listingsonly_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

Listinglisting_idtextRequired
Listing id.
PmspmstextRequired
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

Listinglisting_idtextRequired
Listing id.
Pms namepms_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

PmspmstextRequired
Pms.
Start datestart_datedate
Start date.
End dateend_datedate
End date.
Listinglisting_idtext
Listing id.
Include hiddeninclude_hiddentext
Include hidden.One of: true, false.
Booked start datebooked_start_datedate
Booked start date.
Booked end datebooked_end_datedate
Booked end date.
Includeincludetext
Include.
Limitlimitnumber
Limit.
Offsetoffsetnumber
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 querysearch_querytext
Search query.
Listing namelisting_nametext
Listing name.
Listingslistingstext
Listings.
Pmspmstext
Pms.
Citiescitiestext
Cities.
Groupsgroupstext
Groups.
Subgroupssubgroupstext
Subgroups.
Only syncing listingsonly_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
  }
}

On this page