你的产品能得到什么
无论订单来自哪个渠道,日期、时间和人数都是同一种数据结构。
入住和退房的日期与时间、人数和状态,跨渠道统一规整。
新建、变更和取消订单都有 webhook,排期永远不会基于过期的日期。
你的客户不用换系统就能用你的产品。订单在哪里,Repull 就去哪里读。
工作原理
查询明天的退房来生成排期,订单变化时交给 webhook 调整。
GET /v1/reservations,按退房日期筛选。
reservation.created、reservation.updated 和 reservation.cancelled。
事件一到,就新增、调整或取消对应任务。
// api(): fetch on api.repull.dev with your API key
// Tomorrow's check-outs, from every channel
const { data: departures } = await api(
'/v1/reservations?status=confirmed&check_out_after=2026-10-01&check_out_before=2026-10-01',
)
for (const r of departures) {
await schedule.clean({
listingId: r.listingId,
after: r.checkOutTime, // e.g. "10:00"
guests: r.occupancy.total,
})
}// Keep the schedule true as bookings change
switch (event.event) {
case 'reservation.created':
await schedule.add(event.data.object)
break
case 'reservation.updated': // new dates, guest count, status
await schedule.reschedule(event.data.object)
break
case 'reservation.cancelled':
await schedule.remove(event.data.object.id)
break
}渠道覆盖
覆盖范围以线上 API 实际为准。 完整的渠道与 PMS 覆盖范围
与任意 PMS 并行使用
在 Airbnb 和 Vrbo 上,Repull 以消息级权限连接。房东的 PMS 继续管理房源和日历,你的产品永远不会和它抢控制权。
测试版(beta):读取 Booking.com 的订单、消息和评价,房东不用把连接服务商从 PMS 换走。
无论房客在 Airbnb、Booking.com 还是 Vrbo 上预订,接口和 webhook 事件都一样。只需开发一次。
背后的 API
GET /v1/reservations按状态、房源以及入住或退房时间窗口筛选。用 updated_since 增量同步。
reservation.createdWebhook:一笔新订单。
reservation.updatedWebhook:新的日期、人数或状态,附带变更前的值。
reservation.cancelledWebhook:谁取消的,什么时候取消的。