Approve a review or question
Publishes a review or question. No request body is needed.
On success the conversation's status becomes approved and is_public becomes true, and an approved event is recorded with the staff account the request was made with and the request's audited headers in request_headers, which name the Omnitron user for a request sent through the Omnitron remote proxy. The conversation then appears in the storefront's public review or question listing; an approved review about an order item, with a rating, also counts towards the product's review statistics, which are cached: the change can take up to about 20 minutes to show on the product detail page and up to about 25 minutes on search listings. The author is not e-mailed on approval.
Allowed from pending, from rejected (reversing a rejection) and from null (a review or question written before moderation existed). See Allowed Transitions under Conversations.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the conversation.
The conversation was approved and is now public.
The storefront visibility of a conversation after a moderation decision.
true after approval, false after rejection.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
No conversation exists with the given identifier. An identifier that is not a number is answered with Not found. instead.
The conversation cannot be approved. non_field_errors is a single string, not a list; match on error_code.
POST /api/v1/remote/1/conversations/{id}/approve/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"is_public": true
}Last updated
Was this helpful?

