Update a question

PATCH/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.

AuthorizationBearer <token>

Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.

In: header

Path Parameters

product_id*string
question_id*string

Header Parameters

If-Match?string

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 '{}'
Empty