Metasearch

Upsert metasearch config

Upsert metasearch config

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

Request

  • Base URL
    https://booking.guesty.com
  • URL
    https://booking.guesty.com/api/metasearch/pointofsale/{pointofsale}/config
  • Auth
    API key in header authorization

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"
}

Changes

No recorded changes to this operation across all 1 revision of this API.