> For the complete documentation index, see [llms.txt](https://learnsql.gitbook.io/lernmysql/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learnsql.gitbook.io/lernmysql/cap-nhat-du-lieu-ok.md).

# Cập nhật dữ liệu (ok)

```
 curl -XPUT 'http://localhost:9200/product/_doc/1'  -H 'Content-Type: application/json' -d '{
        "name": "new1",
        "age": 12
}'

```
