This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Returns a recommendation object containing a list of items to recommend to the customer.
Get Recommendation determines which items to recommend based on the given recommendation algorithms.
Get Recommendation doesn’t run the algorithms. It calls the installed apps that provide them.
Apps may provide algorithms for use with their own catalogs, or for use with catalogs from other apps. For example, Wix Stores provides algorithms that can only be used on its own catalogs. To run an algorithm, the app providing it must be installed, and an app providing a supported catalog must be installed. For more information and to see which algorithms are available on your site or project, call List Available Algorithms.
Get Recommendation operates as follows:
appId
of the first algorithm in the list of algorithms. It passes that algorithm’s ID and the IDs of any subsequent algorithms in the array for the same app.algorithms
array) that meets the minimum number of recommendations. At that point Get Recommendation stops calling other apps.appId
(an ID of an app that has not yet been called), and repeats the process.algorithms
array recommend at least the minimum recommended items, Get Recommendations returns an empty array.There are 2 errors with this status code:
There is 1 error with this status code:
See the entire list and learn more about Wix errors.