POST

Bulk Update Label Order


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Updates a question entry's visibility.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage FAQ
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/faq/v1/question-entries/update-label-order

Body Params
updatesArray <QuestionLabelUpdate>

List of updates for questions within a label, each containing the ID of the question to update, and optional new values for label and its order.

Response Object
failuresArray <string>format GUID

List of failed question entry IDs that should retried.

Bulk Update Label Order Example 1
Request
cURL
# set the sortOrder of updatedLabel to 10, or adds this label to the question label list
Response
JSON
curl --request POST \ --url https://www.wixapis.com/faq/v1/questions/update-label-order \ --header 'Authorization: <AUTH>' \ --header 'Content-Type: application/json' \ --data '{ "updates": [ { "question_id": "c166ddb4-a9b4-444b-8ef0-5960d2ca1a1c", "label": { "title": "updatedlabel", "sortOrder": 10 } } ] }'
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?