Update quiz

šŸ” This endpoint requires HTTP authentication (either Basic or Bearer). For authenticating with Bearer token, required scopes are: quizzes(w).

Update a quiz. Data sent through the request body will be merged with existing quiz. Full validation (e.g. logic) will be performed over the merged quiz.

Path Params
string
required
Query Params
string
required
length between 1 and 100

The key of the index to use.

string
length between 1 and 100

The section of the index to use. Defaults to Products.

Body Params
string
length between 1 and 200

Name of the quiz to be displayed to end users

boolean

Identifies whether quiz should be displayed or not

logic
object

Logic that is used when going through quiz

questions
array
Defaults to

A list of questions of the quiz

Questions
results_config
object

Results configuration for the quiz

metadata_json
object

Metadata related to the quiz and its questions.

pre_filter_expression
object

Pre-filter expression to be applied to all questions.

Responses

400

Validation Error

401

Credentials are not passed or action is forbidden.

403

The supplied token does not have the required permissions.

404

Not Found

429

Rate limit breached

Language
Credentials
:
LoadingLoading…
Response
Choose an example:
application/json