v1

latestOpenAPI 3.0.02026-07-26190104.7 KB
Metasearch

Upsert metasearch config

Upsert metasearch config

put/api/metasearch/pointofsale/{pointofsale}/config

Path parameters

pointofsale'google' required

possible variants of pointofsale - google

Request body

urlstring required

property page url defined based on metasearch requirements

Example request

{
  "url": "https://test-url.com/properties/(PARTNER-HOTEL-ID)?minOccupancy=(NUM-GUESTS)&checkIn=(CHECKINYEAR)-(CHECKINMONTH)-(CHECKINDAY)&checkOut=(CHECKOUTYEAR)-(CHECKOUTMONTH)-(CHECKOUTDAY)&pointofsale=google"
}

Response

successful operation

urlstring

property page url defined based on metasearch requirements

Example response

{
  "url": "https://test-url.com/properties/(PARTNER-HOTEL-ID)?minOccupancy=(NUM-GUESTS)&checkIn=(CHECKINYEAR)-(CHECKINMONTH)-(CHECKINDAY)&checkOut=(CHECKOUTYEAR)-(CHECKOUTMONTH)-(CHECKOUTDAY)&pointofsale=google"
}