Add a question to a review question set
Authorizations
A secret API key. Publishable keys cannot reach this API. A key may carry an expiry, and an expired key is refused exactly like an unknown one, with a 401 that names no reason; check the key's expires_at in the dashboard rather than inferring it from a response. When a merchant rolls a key's secret they choose a grace window of up to 3 days, and for its duration BOTH the new secret and the one it replaced authenticate, so an integration moves over on its own deploy schedule instead of at the instant the button is pressed. Move before the window closes: after it, the old secret is refused. Nothing else about this contract moves with a roll. The key keeps its id and its scopes, so the only thing an integration updates is the credential itself.
Headers
A unique key per logical write. Replaying a request with the same key returns the first response byte for byte instead of applying the write twice.
Path Parameters
Body
APPENDS a new question. It cannot change an existing one: there is deliberately no matching PUT on a single question, because a type change on a question that already has shopper answers would leave those answers interpreted against the wrong column, silently.
Required. The text the shopper reads.
Required. One of text, single_select, multi_select. Decides how options and the stored answer are interpreted.
Required for single_select and multi_select, refused for text. The choice list a shopper picks from.
Optional, defaults to false. Whether a shopper must answer before submitting.
Optional, defaults to 0. The order the form presents questions in.
Optional, defaults to false. Whether this question's answers roll into the product's published facet_summary.
Response
Created