Promotions API
List the promotions of a mapped Airbnb listing: every promotion type, whether it can be enabled, is enabled, or has expired.
For Airbnb channel connections; other channels receive 403 Forbidden. A mapping that is not one of the channel connection's listing mappings receives 404 Not Found.
API key for programmatic access, sent in the user-api-key header.
Channel connection ID.
716305c4-561a-4561-a187-7f5b8aeb5920Mapping ID — see rate_plans[].id of the channel connection.
716305c4-561a-4561-a187-7f5b8aeb5920The request has succeeded.
A plain data-array envelope without pagination — used by reference/dictionary endpoints.
Authentication credentials are missing or invalid.
The authenticated user lacks permission to perform this action.
The requested resource does not exist.
A backing service is temporarily unavailable; retry the request later.
GET /api/v1/channels/{channel_id}/mappings/{mapping_id}/promotions HTTP/1.1
Host: app.channex.io
user-api-key: YOUR_API_KEY
Accept: */*
{
"data": [
{
"type": "promotion",
"attributes": {
"type": "NEW_LISTING_PROMOTION",
"status": "AVAILABLE",
"blackout_dates_allowed": false,
"blackout_dates": [],
"blackout_dates_quota": null,
"discount": "20.00"
}
},
{
"type": "promotion",
"attributes": {
"type": "HIGH_RATED_GUEST_DISCOUNT",
"status": "ONGOING",
"blackout_dates_allowed": true,
"blackout_dates": [
"2026-12-30",
"2026-12-31"
],
"blackout_dates_quota": {
"2026": {
"dates_used_count": 2,
"dates_available_count": 28
},
"2027": {
"dates_used_count": 0,
"dates_available_count": 30
},
"2028": {
"dates_used_count": 0,
"dates_available_count": 30
}
},
"discount": "15.00"
}
},
{
"type": "promotion",
"attributes": {
"type": "MOBILE_ONLY_DISCOUNT",
"status": "AVAILABLE",
"blackout_dates_allowed": true,
"blackout_dates": [],
"blackout_dates_quota": {
"2026": {
"dates_used_count": 0,
"dates_available_count": 30
},
"2027": {
"dates_used_count": 0,
"dates_available_count": 30
},
"2028": {
"dates_used_count": 0,
"dates_available_count": 30
}
},
"discount": "10.00"
}
}
]
}Enable a promotion on a mapped Airbnb listing. blackout_dates replaces the dates the promotion holds, and an empty list clears them; without it, the promotion is enabled with the dates it already holds. The response reports the promotion as ONGOING.
Enabling a promotion that is already ONGOING returns it unchanged and leaves its dates as they are: to change them, update the promotion. An EXPIRED promotion cannot be enabled.
A refusal is answered with 422 Unprocessable Entity, details keyed by what it concerns: blackout_dates (one message per refused date, naming the date), type when the type is unknown or the promotion cannot be enabled, or promotion for any other reason, a refusal by Airbnb included.
API key for programmatic access, sent in the user-api-key header.
Channel connection ID.
716305c4-561a-4561-a187-7f5b8aeb5920Mapping ID — see rate_plans[].id of the channel connection.
716305c4-561a-4561-a187-7f5b8aeb5920Request body of the promotion enable action.
The request has succeeded.
JSON:API document wrapping a single resource.
Authentication credentials are missing or invalid.
The authenticated user lacks permission to perform this action.
The requested resource does not exist.
The request body failed validation.
A backing service is temporarily unavailable; retry the request later.
POST /api/v1/channels/{channel_id}/mappings/{mapping_id}/promotions/enable HTTP/1.1
Host: app.channex.io
user-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 82
{
"promotion": {
"type": "HIGH_RATED_GUEST_DISCOUNT",
"blackout_dates": [
"2026-12-31"
]
}
}{
"data": {
"type": "promotion",
"attributes": {
"type": "HIGH_RATED_GUEST_DISCOUNT",
"status": "ONGOING",
"blackout_dates_allowed": true,
"blackout_dates": [
"2026-12-31"
],
"blackout_dates_quota": {
"2026": {
"dates_used_count": 1,
"dates_available_count": 29
},
"2027": {
"dates_used_count": 0,
"dates_available_count": 30
},
"2028": {
"dates_used_count": 0,
"dates_available_count": 30
}
},
"discount": "15.00"
}
}
}Disable a promotion on a mapped Airbnb listing. The response reports the promotion as AVAILABLE again; disabling a promotion that is not ONGOING returns it unchanged. The promotion keeps its blackout dates, and enabling it again without blackout_dates applies them.
A refusal is answered with 422 Unprocessable Entity, details keyed by type when the type is missing or unknown, or promotion for any other reason, a refusal by Airbnb included.
API key for programmatic access, sent in the user-api-key header.
Channel connection ID.
716305c4-561a-4561-a187-7f5b8aeb5920Mapping ID — see rate_plans[].id of the channel connection.
716305c4-561a-4561-a187-7f5b8aeb5920Request body of the promotion disable action.
The request has succeeded.
JSON:API document wrapping a single resource.
Authentication credentials are missing or invalid.
The authenticated user lacks permission to perform this action.
The requested resource does not exist.
The request body failed validation.
A backing service is temporarily unavailable; retry the request later.
POST /api/v1/channels/{channel_id}/mappings/{mapping_id}/promotions/disable HTTP/1.1
Host: app.channex.io
user-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 50
{
"promotion": {
"type": "HIGH_RATED_GUEST_DISCOUNT"
}
}{
"data": {
"type": "promotion",
"attributes": {
"type": "HIGH_RATED_GUEST_DISCOUNT",
"status": "AVAILABLE",
"blackout_dates_allowed": true,
"blackout_dates": [
"2026-12-31"
],
"blackout_dates_quota": {
"2026": {
"dates_used_count": 1,
"dates_available_count": 29
},
"2027": {
"dates_used_count": 0,
"dates_available_count": 30
},
"2028": {
"dates_used_count": 0,
"dates_available_count": 30
}
},
"discount": "15.00"
}
}
}Replace the blackout dates of a promotion of a mapped Airbnb listing; an empty list clears them. Only a promotion whose blackout_dates_allowed is true can be updated. The dates of an AVAILABLE promotion are stored without enabling it and apply once it is enabled; an EXPIRED promotion cannot be updated.
A refusal is answered with 422 Unprocessable Entity, details keyed by what it concerns: blackout_dates (one message per refused date, naming the date), type when the type is unknown or the promotion cannot be updated, or promotion for any other reason, a refusal by Airbnb included.
API key for programmatic access, sent in the user-api-key header.
Channel connection ID.
716305c4-561a-4561-a187-7f5b8aeb5920Mapping ID — see rate_plans[].id of the channel connection.
716305c4-561a-4561-a187-7f5b8aeb5920Request body of the promotion update.
The request has succeeded.
JSON:API document wrapping a single resource.
Authentication credentials are missing or invalid.
The authenticated user lacks permission to perform this action.
The requested resource does not exist.
The request body failed validation.
A backing service is temporarily unavailable; retry the request later.
PUT /api/v1/channels/{channel_id}/mappings/{mapping_id}/promotions HTTP/1.1
Host: app.channex.io
user-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 95
{
"promotion": {
"type": "HIGH_RATED_GUEST_DISCOUNT",
"blackout_dates": [
"2026-12-30",
"2026-12-31"
]
}
}{
"data": {
"type": "promotion",
"attributes": {
"type": "HIGH_RATED_GUEST_DISCOUNT",
"status": "ONGOING",
"blackout_dates_allowed": true,
"blackout_dates": [
"2026-12-30",
"2026-12-31"
],
"blackout_dates_quota": {
"2026": {
"dates_used_count": 2,
"dates_available_count": 28
},
"2027": {
"dates_used_count": 0,
"dates_available_count": 30
},
"2028": {
"dates_used_count": 0,
"dates_available_count": 30
}
},
"discount": "15.00"
}
}
}Last updated