Yandex.Market recommendations for cards
Sometimes in response to POST v2/businesses/{businessId}/offer-cards you will receive recommendations by filling out the cards in the field recommendations.
See the type of recommendation you received in the field recommendations → type. Find this type in the documentation and see which product fields relate to this type of recommendation:
Main product parameters
Categorical characteristics of the product
- See the documentation for the meaning of the recommendation and which parameter needs to be changed or filled in.
- Edit the parameter using a request POST v2/businesses/{businessId}/offer-mappings/update.
- See the documentation for the meaning of the recommendation.
- Make a request POST v2/category/{categoryId}/parameters.
- Select the characteristics from the response that are in the array
recommendationTypesthere is the right type. For example, if you received a recommendation likeMAIN, you need characteristics markedMAINinrecommendationTypes. - Send the values of the characteristics using a request POST v2/businesses/{businessId}/offer-cards/update.
Also read the instructions