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 recommendationstype. Find this type in the documentation and see which product fields relate to this type of recommendation:

  1. See the documentation for the meaning of the recommendation and which parameter needs to be changed or filled in.
  2. Edit the parameter using a request POST businesses/{businessId}/offer-mappings/update.
  1. See the documentation for the meaning of the recommendation.
  2. Make a request POST category/{categoryId}/parameters.
  3. Select the characteristics from the response that are in the array recommendationTypes there is the right type. For example, if you received a recommendation like MAIN, you need characteristics marked MAIN in recommendationTypes.
  4. Send the values of the characteristics using a request POST businesses/{businessId}/offer-cards/update.