Returns the list of recommendation algorithm types available for a given shop. The available types depend on which Machine Learning features are active for the shop.
Request
GET /reco/available-types/{shopId}
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
shopId | string | Yes | Shop identifier to check available types for. |
Example Request
GET /reco/available-types/my-shop
Response
Returns a JSON array of available recommendation type identifiers.
Possible Values
| Type | Description |
|---|---|
textSimilarity | Recommend products with similar text/attribute content. Always available. |
none | No algorithm; returns an empty result set. Always available. |
cartBased | Recommend based on cart history (requires ML data). |
userBased | Recommend based on user behaviour history (requires ML data). |
pictureSimilarity | Recommend visually similar products (requires picture similarity feature). |
boughtTogether | Recommend products frequently bought together (requires ML data). |
Example Response
[
"textSimilarity",
"none",
"cartBased",
"userBased"
]
