Update a question
/products/{product_id}/questions/{question_id}Reopens a question or changes whether it is pinned. The question text belongs to the user and cannot be changed.
Setting status to open returns the question to the queue of questions awaiting a reply and requires the questions.reopen permission. Any published reply remains visible. Changing pinned requires the questions.pin permission.
Send the ETag returned by the retrieve operation in the If-Match header to avoid overwriting a newer version.
Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.
In: header
Path Parameters
Header Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/products/string/questions/string" \ -H "Content-Type: application/json" \ -d '{}'Retrieve a question GET
Retrieves a question by its public ID. The response includes an `ETag` representing the current revision. Send this value in the `If-Match` header when updating the question to avoid overwriting a newer version.
Delete a question DELETE
Deletes the question together with all of its replies. The question and its replies are no longer returned by the API.