Vai al contenuto principale
PATCH
Update Question

Autorizzazioni

Authorization
string
header
obbligatorio

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parametri del percorso

question_id
string<uuid>
obbligatorio

Corpo

application/json

Admin mutation — approve/reject, edit body, post an official answer.

Setting answer_body publishes the question (the router auto-approves and stamps answered_at/answered_by_id).

is_approved
boolean | null
body
string | null
answer_body
string | null

Risposta

Successful Response

data
QuestionOut · object | null

Admin-facing view of a product question.

meta
PaginationMeta · object | null
error
string | null
error_code
string | null