# How to insert a record in the nested type

**URL:** https://discuss.elastic.co/t/how-to-insert-a-record-in-the-nested-type/49041
**Category:** Elasticsearch
**Created:** [May 3, 2016, 10:31am UTC](https://discuss.elastic.co/t/how-to-insert-a-record-in-the-nested-type/49041 "2016-05-03T10:31:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dhiman252](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@dhiman252](https://discuss.elastic.co/u/dhiman252)
#### Post date: [May 3, 2016, 10:31am UTC](https://discuss.elastic.co/t/how-to-insert-a-record-in-the-nested-type/49041/1 "2016-05-03T10:31:38Z")

</div>

I have an elastic index and it also contains the nested type, now I want to perform insert, update and delete to an particular record in nested type. how can this be possible ? I am using the PHP client

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 5, 2017, 10:54pm UTC](https://discuss.elastic.co/t/how-to-insert-a-record-in-the-nested-type/49041/2 "2017-07-05T22:54:26Z")

</div>


