elefymove

开发者文档

ElefyMove Open API 的指南与参考。

这些指南目前仅提供英文版。

Endpoints

方法端点权限范围用途
GET/api/public/v1/marketplace/bookingsmarketplace:read分页并按条件列出你自己的市场预订。返回内容仅包含日期和引用编号。
GET/api/public/v1/marketplace/bookings/{id}marketplace:read按 ID 读取你的某个市场预订。
POST/api/public/v1/marketplace/bookings/{id}/declinemarketplace:write拒绝一个仍在等待付款的预订。没有确认接口——预订只在付款成功后才会确认,而不是经服务方批准。

How marketplace bookings work

  • Elefy Market bookings cover sessions, date-range stays, and goods orders on the same underlying booking — the read routes return whichever of those a given booking is.
  • Reads are references and dates only — no guest or buyer personal data is ever returned, by design, the same rule as every other surface on this API.
  • pending means the booking is awaiting payment capture, not awaiting your approval. POST /marketplace/bookings/:id/decline only works on a booking still in that state — any other status returns a 409 (BOOKING_NOT_PENDING).
  • There is no confirm, reschedule, or refund route: a booking becomes confirmed the moment payment is captured, never by provider approval, and no money moves through this API in either direction.