@findhotel/sapi 1.28.20 → 1.28.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -582,7 +582,7 @@ split2: `checkIn: '2023-08-12'` `checkOut: '2023-08-15'`
|
|
|
582
582
|
<a id="search-filters"></a>
|
|
583
583
|
|
|
584
584
|
| name | type | description | example | filter scope |
|
|
585
|
-
|
|
585
|
+
|--------------------|------------|----------------------------------------------------------------------------------------------------|--------------------------------|--------------|
|
|
586
586
|
| `themeIds` | `number[]` | Facet filtering by theme ids | `[1, 2, 3]` | Hotel |
|
|
587
587
|
| `chainIds` | `number[]` | Hotels' chain ids | `[4, 5]` | Hotel |
|
|
588
588
|
| `facilities` | `string[]` | Facility ids used for facet filtering | `[299,7,6,21]` | Hotel |
|
|
@@ -598,6 +598,8 @@ split2: `checkIn: '2023-08-12'` `checkOut: '2023-08-15'`
|
|
|
598
598
|
| `mealIncluded` | `boolean` | If true, only offers with meal included option will be returned | `true` | Offer |
|
|
599
599
|
| `amenities` | `string[]` | [Meal types](#filters-amenities) | `["breakfast","allInclusive"]` | |
|
|
600
600
|
| `isVr` | `boolean` | If true, then only vacation rentals are returned. If false, then vacation rentals are filtered out | `true` | Hotel |
|
|
601
|
+
| `neighborhoodIds` | `string[]` | Filters the result based on the Hotel's neighborhoods | `["47689","45031"]` | Hotel |
|
|
602
|
+
| `brandIds` | `string[]` | Filters the result based on the Hotel's brand | `["12060","2137"]` | Hotel |
|
|
601
603
|
|
|
602
604
|
##### Facilities
|
|
603
605
|
|
|
@@ -754,6 +756,30 @@ so there is a simplified example:
|
|
|
754
756
|
},
|
|
755
757
|
"anchorType": "hotel",
|
|
756
758
|
"anchorHotelId": "9660485",
|
|
759
|
+
"facetFilters": {
|
|
760
|
+
"brands": {
|
|
761
|
+
"0": {
|
|
762
|
+
"value": "Independent"
|
|
763
|
+
},
|
|
764
|
+
"11157": {
|
|
765
|
+
"value": "NH Collection"
|
|
766
|
+
},
|
|
767
|
+
"12060": {
|
|
768
|
+
"value": "Revenue Guru"
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
"neighborhoods": {
|
|
772
|
+
"253086": {
|
|
773
|
+
"value": "Amsterdam City Centre"
|
|
774
|
+
},
|
|
775
|
+
"305373": {
|
|
776
|
+
"value": "Amsterdam-West"
|
|
777
|
+
},
|
|
778
|
+
"305374": {
|
|
779
|
+
"value": "Amsterdam-Zuid"
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
},
|
|
757
783
|
"hotelEntities": {
|
|
758
784
|
"9660485": {
|
|
759
785
|
"_geoloc": {
|