Get available recommendation types

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

HeaderValue
AuthorizationBearer <token>

Path Parameters

ParameterTypeRequiredDescription
shopIdstringYesShop 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

TypeDescription
textSimilarityRecommend products with similar text/attribute content. Always available.
noneNo algorithm; returns an empty result set. Always available.
cartBasedRecommend based on cart history (requires ML data).
userBasedRecommend based on user behaviour history (requires ML data).
pictureSimilarityRecommend visually similar products (requires picture similarity feature).
boughtTogetherRecommend products frequently bought together (requires ML data).

Example Response

[
  "textSimilarity",
  "none",
  "cartBased",
  "userBased"
]