Skip to content

Commit 035bd80

Browse files
authored
Merge pull request #28 from AddSearch/fetch-frequently-bought-together-items
Fetch frequently bought together items
2 parents 37fb10a + f8f01a1 commit 035bd80

File tree

4 files changed

+6226
-3
lines changed

4 files changed

+6226
-3
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,17 @@ is handy for applications like range filtering.
265265
client.addStatsField('custom_fields.price');
266266
```
267267

268+
### Recommendations
269+
#### Frequently bought together items
270+
Get frequently bought together items, given "configurationKey" and "itemId"
271+
```js
272+
// fetch frequently bought together items
273+
client.recommendations({
274+
configurationKey: "config1",
275+
itemId: "1065921"
276+
});
277+
```
278+
268279
### Search analytics
269280
#### Send search event to analytics
270281
When search is executed, send the event to your AddSearch Analytics Dashboard.

0 commit comments

Comments
 (0)