Skip to main content
BestInter ApiBESTAPI

การรับข้อมูล

ดึงข้อมูลประเทศ เที่ยวบิน โรงแรม และทัวร์

ดึงรายการ tour program ทั้งหมด

ดึงรายการ tour program ทั้งหมดพร้อม pagination โดย limit สูงสุดคือ 50 รายการต่อหน้า

MethodGET
Path/api/public/v1/tour-programs

Parameters

NameInTypeRequiredDescription
AuthorizationHeaderstringYesBearer <token>
pageQuerynumberNoหน้าที่ต้องการ (เริ่มจาก 1)
limitQuerynumberNoจำนวนรายการต่อหน้า (default: 10, max: 50)

ดึง tour program ตาม country

ดึงรายการ tour program ทั้งหมดของประเทศที่ระบุ (ไม่มี pagination) ใช้ country ID จาก endpoint /country

MethodGET
Path/api/public/v1/tour-programs/{countryId}

Parameters

NameInTypeRequiredDescription
AuthorizationHeaderstringYesBearer <token>
countryIdPathstringYesรหัสประเทศ (country_id) ที่ต้องการดึงข้อมูล

ดึงรายการประเทศทั้งหมด

ดึงรายการประเทศที่เปิดขายทัวร์ พร้อม tags และข้อมูลสำหรับใช้ filter tour programs

MethodGET
Path/api/public/v1/country

Parameters

NameInTypeRequiredDescription
AuthorizationHeaderstringYesBearer <token>
LINE