post
https://api.hostex.io/v3/channel_accounts/booking/promotions//deactivate
Deactivate a Booking.com promotion, so it stops applying to new bookings. Booking.com has no way to delete a promotion; deactivating is the way to remove it, and it can be activated again later. Returns changed: false when the promotion is already inactive.
- Sending the same request again is safe.
- Returns
501while creating and editing promotions is not enabled for your account (it is enabled separately fromPOST /channel_accounts/booking/promotions/excluded_dates). - Limited to 10 promotion writes per minute per Booking.com property, shared with
POST /channel_accounts/booking/promotions/excluded_dates, in addition to the account rate limits;429responses includeRetry-After. 502means Booking.com was unavailable or the result could not be confirmed; the change may still be applied within the next few minutes.
Requires a writable access token.
