POST

Get Recommendation


Returns a list of items to recommend to site visitors based on the specified algorithms.

You can specify multiple algorithms in the request. The method processes them in order and returns the recommendations from the first algorithm that meets the minimumRecommendedItems threshold. If the first algorithm doesn't provide enough items, the method moves to the next algorithm in the list and repeats the process. If no algorithm meets the threshold, the method returns an empty array.

Notes:

  • Both the app providing the algorithm and an app providing a supported catalog must be installed on the site.
  • This method doesn't run the algorithms directly. It calls the installed apps that provide them.

To see which algorithms are available on a site, call List Available Algorithms.

Permissions
Read eCommerce - all read permissions
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/v1/recommendations/get

Errors
400Invalid Argument

There are 2 errors with this status code.

404Not Found

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?