favorites

Unfavorite a hotel

Runs user.setFavorite with favorited: false. entityId is the hotelKey (or an sh_ ref of the same hotel); this also removes entries saved under a ref before hotel keys existed. Idempotent: removing something that is not a favorite succeeds. Returns { favorited: false, entityId }.

delete/v1/favorites

Request

  • Base URL: https://api.getmyhotels.com
  • URL: https://api.getmyhotels.com/v1/favorites
  • Auth: HTTP bearer

Query parameters

entityType'hotel' | 'flight' | 'car' required
entityIdstring required

Response

Success

unknown required

Changes

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