---
title: "Update an Answer"
method: PUT
path: "/v2/{account_id}/questions/{question_id}/answers"
---

# Update an Answer

`PUT /v2/{account_id}/questions/{question_id}/answers`

## Request

- Base URL: `https://developers.yotpo.com`
- URL: `https://developers.yotpo.com/v2/{account_id}/questions/{question_id}/answers`
- Auth: API key in header `X-Yotpo-Token`

Use this endpoint to update the answer `content` or make an existing answer `public` or private.

## Path parameters

- `account_id` string, required
- `question_id` string, required

## Request body

- object
  - `content` string: The textual content of the answer to a question. Must update `content` *or* `public` values
  - `public` boolean: True by default. Pass a value of `false` to make your answer visible solely to the reviewer who asked the question. Must update `content` *or* `public` values

## Response `200`

200

- object
  - `status` object: Request status.
    - `code` integer: HTTP status code.
    - `message` string: Status message, such as `OK`.
  - `pagination` unknown

## Other responses

- `400`: 400
- `401`: Missing or invalid access token, or the token belongs to a different store.
- `404`: 404

## Changes

- **2026-11-03** `5bcae8239b6e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/yotpo/apis/app-developer-api/changes/v2/:account_id/questions/:question_id/answers/put.md)

---

[API](https://skmtc.dev/yotpo/apis/app-developer-api.md) - [All operations](https://skmtc.dev/yotpo/apis/app-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/yotpo/apis/app-developer-api/revisions/5bcae8239b6e?raw)
