Market Segmentation

Get a list of Market Segmentation Segments.

get/market-segmentation/v1/segments/{enabled}

Request

  • Base URL
    https://api.cloudbeds.com
  • URL
    https://api.cloudbeds.com/market-segmentation/v1/segments/{enabled}
  • Auth
    OAuth 2
    Authorization code: https://api.cloudbeds.com/auth/oauth/authorize
    Token URL: https://api.cloudbeds.com/auth/oauth/token scopes: read:marketsegment

Path parameters

enabledboolean required

List only enabled segments.

Query parameters

offsetinteger

The number of items to skip before starting to collect the result set. Used for pagination.

limitinteger

The maximum number of items to return in the response. Default is 100.

This parameter should be formatted as a list of strings separated by ; Use ; for a literal semicolon inside a value.

{
  "filters": {
    "and": [
      {
        "field": "checkin_date",
        "value": "2023-10-19T00:00:00"
      }
    ],
    "or": [
      {
        "field": "checkin_date",
        "value": "2023-10-19T00:00:00"
      }
    ]
  }
}

Headers

x-property-idstring required
Example:1,2,3

A numeric, comma-separated string representing the property IDs, sent in the header.

Response

List of Market Segmentation Segments.

limitinteger
offsetinteger

Changes

No recorded changes to this operation across all 1 revision of this API.