You can fetch the list of recommendations created for you by using the Get Recommendations API. Use ITEM
as the recommendationType
.
You can fetch all recommendations created for you or add filterCriteria
such as searchText
, multiValueFilter
, enumFilter
and rangeFilter
to fetch a specific set of recommendations. All of the filters are connected using the AND operator.
searchText
You can filter using a search term that contains any phrase that could be found anywhere in the recommendations data. The term must not be empty and must have at least three characters. This would filter for the search term present anywhere in the recommendation data.
multiValueFilter
This can be used to filter based on a certain parameter. Currently, the parameters supported are BRAND
and CATEGORY
. Maximum of 7 data can be sent in the list of values connected to the parameter. There shouldn’t be any empty or null values. When applying a multiValueFilter
, the OR operator is used between the values.
enumFilter
This can be used to filter based on preset parameters and their associated values. Currently, the parameter supported is ITEM_AVAILABILITY_STATUS
which defines whether the item is currently available on Walmart or is new to Walmart. The corresponding values for this parameter are EXISTING_IN_WALMART
, NEW_TO_WALMART
rangeFilter
This can be used to filter based on a range. You must pass a parameter with floor range value or ceiling range value or both values. Currently, the support parameter value is PRICE
for the rangeFilter
. The range filter for price is applied on Walmart item prices and/ or competition item prices to fetch the corresponding recommendations.