Skip to main content
POST
Create Poll Post
OAuth scope: memberships_writeAPI keys have full access to this endpoint.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-ShopId
string

Body

application/json
attributes
object
required
access
object
required
notifications
object
required
options
string[]
required
Required array length: 2 - 20 elements
Maximum string length: 80
poll_length
object
required

Response

type
enum<string>
required
Available options:
Poll
action
enum<string>
required
Available options:
Create
postId
integer
required