# Update Post

`Post` <https://example.com/wp-json/dt-posts/v2/{post_type}/{post_id}/>

Requires permission: `update_any_{post_type}` or the record to be shared with the user.

## Parameters

Body params: See [Post Types Fields Format](/theme-core/api-posts/post-types-fields-format.md)

Query params: add `?silent=true` to disable notifications

### do\_not\_overwrite\_existing\_fields (boolean)

When enabled, existing field values on a post will not be overwritten during update:

* **Single-value fields:** If the field already has a value, it will be preserved and not updated.
* **Multi-value fields:** Only new values that do not already exist will be added; existing values are preserved.

## Returns

Will return the same content as: [Get Post](/theme-core/api-posts/get-post.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.disciple.tools/theme-core/api-posts/update-post.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
