POST
/
api
/
loyalty
/
questions

Body

application/json
loyaltyQuestionAnswers
object[]
required

Array of choices for the question

loyaltyRuleId
string
required

UUID of the loyalty rule

questionText
string
required

The text of the question

allowMultipleAttempts
boolean
default:
false

Whether the question allows multiple attempts

Response

201 - application/json

Response returned for a question

id
string
required
loyaltyQuestionChoices
object[]
required
text
string
required