Product Reviews
The Yandex.Market API allows you to receive product reviews and comments on them, as well as add, edit, and delete store comments.
Get product reviews
Enable API notifications
Yandex.Market will send you a request. POST notification when there is a new review.
Get feedback on the seller's products by requesting POST businesses/{businessId}/goods-feedback.
The results are returned page by page, one page contains no more than 50 reviews.
Get feedback that needs to be answered
Get the feedback you need to respond to with a request POST businesses/{businessId}/goods-feedback, where pass the value NEED_REACTION
in the parameter reactionStatus
.
Status NEED_REACTION
It is removed after you respond to the review or skip it. If the author changes the review, the status NEED_REACTION
it will appear again.
To leave a comment, send the ID of the review to be replied to and the text of the response in the request. POST businesses/{businessId}/goods-feedback/comments/update.
If you don't want to respond to the review, skip it and pass the review ID in the request. POST businesses/{businessId}/goods-feedback/skip-reaction.
Get product comments
Enable API notifications
Yandex.Market will send you a request. POST notification when a new comment appears.
If you already know the review IDs, skip the step of getting them.
- Get feedback on the seller's products by requesting POST businesses/{businessId}/goods-feedback.
- Pass the review ID in the request. POST businesses/{businessId}/goods-feedback/comments to see the comments on this review.
The results are returned page by page, one page contains no more than 50 comments.
Send a response to the review
If you already know the review IDs, skip the step of getting them.
- Get feedback on the seller's products by requesting POST businesses/{businessId}/goods-feedback.
- Send the ID of the review to be responded to and the text of the response in the request. POST businesses/{businessId}/goods-feedback/comments/update.
Send a reply to a parent's comment
If you already know the IDs of the reviews and comments on the review, skip the steps to get them.
- Get feedback on the seller's products by requesting POST businesses/{businessId}/goods-feedback.
- Pass the review ID in the request. POST businesses/{businessId}/goods-feedback/comments to see the comments on this review.
- Send the ID of the parent comment to respond to and the text of the response in the request. POST businesses/{businessId}/goods-feedback/comments/update.
Edit your comment
Is it possible to change the comment?
Parameter canModify
in the request POST businesses/{businessId}/goods-feedback/comments/update indicates whether the seller can change the comments.
If you already know the IDs of the reviews and comments on the review, skip the steps to get them.
- Get feedback on the seller's products by requesting POST businesses/{businessId}/goods-feedback.
- Pass the review ID in the request. POST businesses/{businessId}/goods-feedback/comments to find out the ID of the comment that needs to be changed.
- Send the ID of this comment and the new text in the request. POST businesses/{businessId}/goods-feedback/comments/update.
Skip reactions to reviews
The transmitted reviews have the parameter needReaction
will take the value false
in the method of getting all the reviews POST businesses/{businessId}/goods-feedback.
If you already know the review IDs, skip the step of getting them.
- Get feedback on the seller's products by requesting POST businesses/{businessId}/goods-feedback.
- Pass the IDs of the reviews you don't want to respond to in the request. POST businesses/{businessId}/goods-feedback/skip-reaction.
If the author changes the review, the status NEED_REACTION
it will appear again.
Delete your comment
Can I delete a comment?
Parameter canModify
in the request POST businesses/{businessId}/goods-feedback/comments/update indicates whether the seller can delete comments.
If you already know the IDs of the reviews and comments on the review, skip the steps to get them.
- Get feedback on the seller's products by requesting POST businesses/{businessId}/goods-feedback.
- Pass the review ID in the request. POST businesses/{businessId}/goods-feedback/comments to find out the ID of the comment to delete.
- Pass the ID of this comment in the request. POST businesses/{businessId}/goods-feedback/comments/delete.