Loyalty API
TypeVotingQuestion1
A voting question the customer can answer, with the data needed to render it.
| Kind | Type |
|---|---|
| Used in | CustomerBalance3, ListCustomers3, LoggedOutBalance1 |
Properties
-
idID requiredThe unique identifier of the voting question.
-
typestring requiredThe kind of answer control to render.
One of:
choice-text- multiple choice with text optionschoice-images- multiple choice with image optionsinput- free-form text answer
-
titlestring requiredThe question text shown to the customer.
-
ptsinteger requiredNumber of loyalty points awarded for answering this question.
-
allow_multiple_selectionsboolean optionalWhether the customer may select more than one choice.
Omitted when false.
-
The selectable answers for a multiple-choice question.
Omitted for free-form (
input) questions.