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:

  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 v2/businesses/{businessId}/offer-mappings/update.
  1. See the documentation for the meaning of the recommendation.
  2. Make a request POST v2/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 v2/businesses/{businessId}/offer-cards/update.