This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Casts the caller's vote for a poll option.
Site visitors, site members and Wix users can call this method, subject to settings.votingAccess. Wix users vote with their own identity, and their votes aren't counted as anonymous.
Unless settings.multipleVotes is true, a vote for another option replaces the caller's previous vote. Casting a vote that the caller already cast doesn't change anything.
Returns the caller's votes in currentVoterOptionIds and the updated results. results is included only when the poll's settings allow the caller to see them. See settings.resultsVisibility.
There is 1 error with this status code.
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.