post
https://api.myhostex.com/v3/channel_accounts/booking/promotions//activate
启用一条已停用的 Booking.com 优惠活动,让它按当前的折扣、日期、房型和价格计划重新生效。请先用 GET /channel_accounts/booking/promotions 读取,确认将要上线的内容。优惠已启用时返回 changed: false。
- 重发同样的请求是安全的。
- 你的账号未开放新建与编辑优惠时返回
501(与POST /channel_accounts/booking/promotions/excluded_dates分开开放)。 - 每个 Booking.com 住宿每分钟最多 10 次优惠写入,与
POST /channel_accounts/booking/promotions/excluded_dates共用,此外仍受账号级限流约束;429响应带有Retry-After。 502表示 Booking.com 暂时不可用或结果无法确认,改动仍可能在之后几分钟内生效。
需要可写的访问令牌。
