Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to update product review status #42

justinshreve opened this issue Sep 22, 2017 · 1 comment


Copy link

@justinshreve justinshreve commented Sep 22, 2017

The update endpoints for product reviews in v2 and v1 never supported status updating. v3 currently doesn't either (though the response returns a readonly value).

We can't just pass the status into wp_update_comment via prepare_item_for_database like we can for other fields, because wp_update_comment fails for some reason if you try to pass a status that is already being used.

It looks like the comments endpoint does a workaround for this:

@justinshreve justinshreve changed the title Add ability to update review comment status Add ability to update product review status Sep 22, 2017
@claudiosanches claudiosanches transferred this issue from woocommerce/wc-api-dev Oct 4, 2019

This comment has been minimized.

Copy link

@issue-label-bot issue-label-bot bot commented Oct 4, 2019

Issue-Label Bot is automatically applying the label type: feature request to this issue, with a confidence of 0.84. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.