elefymove

เอกสารสำหรับนักพัฒนา

คู่มือและข้อมูลอ้างอิงสำหรับ ElefyMove Open API

ขณะนี้คู่มือเหล่านี้มีเฉพาะภาษาอังกฤษ

Endpoints

เมธอดเอนด์พอยต์สโคปใช้ทำอะไร
GET/api/public/v1/marketplace/bookingsmarketplace:readแสดงรายการการจองตลาดกลางของคุณเอง แบ่งหน้าและกรองได้ ผลลัพธ์มีเฉพาะวันที่และหมายเลขอ้างอิงเท่านั้น
GET/api/public/v1/marketplace/bookings/{id}marketplace:readอ่านการจองตลาดกลางหนึ่งรายการของคุณด้วยรหัส
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.