RecommendationsServiceInterface
RecommendationsServiceInterface.php
:
18
Interface
Service for fetching product and content recommendations from Raptor.
Methods¶
getContentBasedOnItemWeb()
¶
RecommendationsServiceInterface.php
:
60
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $productId | string | - | - |
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getContentBasedOnProductCategoryWeb()
¶
RecommendationsServiceInterface.php
:
71
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $categoryId | string | - | - |
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getContentCatalogueRank()
¶
RecommendationsServiceInterface.php
:
248
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getItemsBasedOnContentWeb()
¶
RecommendationsServiceInterface.php
:
93
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $contentId | string | - | - |
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getMerchandisingContentWeb()
¶
RecommendationsServiceInterface.php
:
216
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getMerchandisingItemsWeb()
¶
RecommendationsServiceInterface.php
:
206
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getNumOfUsersRightNowWeb()
¶
RecommendationsServiceInterface.php
:
196
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getPIMRelatedItemsForBasketWeb()
¶
RecommendationsServiceInterface.php
:
237
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $productIds | string | - | - |
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getPIMRelatedItemsWeb()
¶
RecommendationsServiceInterface.php
:
226
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $productId | string | - | - |
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getPopularBrandsWeb()
¶
RecommendationsServiceInterface.php
:
166
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getPopularCategoriesWeb()
¶
RecommendationsServiceInterface.php
:
176
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getPopularContentWeb()
¶
RecommendationsServiceInterface.php
:
186
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getPopularItemsInCategoryWeb()
¶
RecommendationsServiceInterface.php
:
37
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $categoryId | string | - | - |
| $inStockOnly | bool | - | - |
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getPopularItemsWeb()
¶
RecommendationsServiceInterface.php
:
114
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $inStockOnly | bool | - | - |
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getProductCatalogueRank()
¶
RecommendationsServiceInterface.php
:
258
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getSimilarContentWeb()
¶
RecommendationsServiceInterface.php
:
82
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $contentId | string | - | - |
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getSimilarItemsWeb()
¶
RecommendationsServiceInterface.php
:
25
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $productId | string | - | - |
| $inStockOnly | bool | - | - |
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getUserContentHistoryWeb()
¶
RecommendationsServiceInterface.php
:
156
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getUserContentRecommendationsWeb()
¶
RecommendationsServiceInterface.php
:
104
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getUserCrossSellingItemsWeb()
¶
RecommendationsServiceInterface.php
:
136
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getUserItemHistoryWeb()
¶
RecommendationsServiceInterface.php
:
49
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $inStockOnly | bool | false | - |
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getUserItemRecommendationsWeb()
¶
RecommendationsServiceInterface.php
:
125
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $inStockOnly | bool | - | - |
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |
Return values
Tags
getUserLookAlikeItemsWeb()
¶
RecommendationsServiceInterface.php
:
146
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $numOfItems | int | 10 | - |
| $options | array<string, mixed> | [] | - |