Yandex.Market recommendations for cards
Sometimes in response to POST 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 businesses/{businessId}/offer-mappings/update.
- See the documentation for the meaning of the recommendation.
- Make a request POST category/{categoryId}/parameters.
- Select the characteristics from the response that are in the array
recommendationTypes
there is the right type. For example, if you received a recommendation likeMAIN
, you need characteristics markedMAIN
inrecommendationTypes
. - Send the values of the characteristics using a request POST businesses/{businessId}/offer-cards/update.
Also read the instructions