Archive or unarchive questions

Archives or unarchives one or more of your store's questions in one call. Archived questions drop out of the list of new, unanswered questions in Yotpo, so use this to clear questions you won't answer. Archiving doesn't remove a question or its answers from your site: a question with a public answer keeps showing. To restore a question, send the same IDs with archive set to false.

By default the change runs in the background and the response comes back before it's applied. Set sync to true to apply it before the response. In the background mode, an error after the response (for example an ID that doesn't exist) isn't reported back to you.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Your store ID (app key). See Find your store ID and app key. Without it the call returns 404 Couldn't find Account.

question_ids
array of integers
required

IDs of the questions to change. Every ID must belong to your store. Get them from Retrieve all questions.

question_ids*
boolean
required

true to archive the questions, false to unarchive them.

boolean
Defaults to false

true applies the change before the response. false (the default) queues it and responds right away.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json