Download OpenAPI specification:Download
This is an API that can be leveraged by any external consumer
Returns revenue of nights booked at given date
| propertyId required | integer <int64> Example: 6366 Cloudbeds property identifier |
| at | string <date> Example: at=2019-01-02 Date of reservation creation (booked at) |
| from | string <date> Example: from=2019-05-01 When used together with "to", it limits revenue returned to only nights within from..to range |
| to | string <date> Example: to=2019-05-10 When used together with "from", it limits revenue returned to only nights within from..to range |
Statistic was returned successfully
Bad request - most likely due to missing query parameters
Production OPS API
Staging OPS API
{- "data": {
- "type": "statistics",
- "id": "revenue_booked",
- "attributes": {
- "value": 1900.5
}
}
}Returns revenue target for reservations
| propertyId required | integer <int64> Example: 6366 Cloudbeds property identifier |
| year required | integer Example: year=2022 Year target applies to |
| month | integer (monthNumber) [ 1 .. 12 ] Example: month=2 Month target applies to |
Statistic was returned successfully
Bad request - most likely due to missing query parameters
Production OPS API
Staging OPS API
{- "data": {
- "type": "statistics",
- "id": "rooms_revenue_target",
- "attributes": {
- "value": 1900.5
}
}
}Returns revenue target for food and beverage
| propertyId required | integer <int64> Example: 6366 Cloudbeds property identifier |
| year required | integer Example: year=2022 Year target applies to |
| month | integer (monthNumber) [ 1 .. 12 ] Example: month=2 Month target applies to |
Statistic was returned successfully
Bad request - most likely due to missing query parameters
Production OPS API
Staging OPS API
{- "data": {
- "type": "statistics",
- "id": "fab_revenue_target",
- "attributes": {
- "value": 1900.5
}
}
}Returns global revenue target (rooms + food and beverage)
| propertyId required | integer <int64> Example: 6366 Cloudbeds property identifier |
| year required | integer Example: year=2022 Year target applies to |
| month | integer (monthNumber) [ 1 .. 12 ] Example: month=2 Month target applies to |
Statistic was returned successfully
Bad request - most likely due to missing query parameters
Production OPS API
Staging OPS API
{- "data": {
- "type": "statistics",
- "id": "revenue_target",
- "attributes": {
- "value": 1900.5
}
}
}Returns shopify revenue. When no parameters are provided, it returns total shoopify revenue for given property.
| propertyId required | integer <int64> Example: 6366 Cloudbeds property identifier |
| at | string <date> Example: at=2019-01-02 Filters shopify revenue to one received certain day. Parameter cannot be used together with from/to |
| from | string <date> Example: from=2019-05-01 Filters shopify revenue to one received after and including given day. Parameter cannot be used together with "at" |
| to | string <date> Example: to=2019-05-10 Filters shopify revenue to one received before and including given day. Parameter cannot be used together with "at" |
Statistic was returned successfully
Bad request - most likely due to missing query parameters
Production OPS API
Staging OPS API
{- "data": {
- "type": "statistics",
- "id": "shopify_revenue",
- "attributes": {
- "value": 1900.5
}
}
}