Help Adding a Component Entry in a existing Item

Hello all,

I have an Entry that returns:

{
            "id": 1,
            "attributes": {
                "slug": "slug,
                "Name": "item-1",
                "createdAt": "2023-02-23T02:44:40.315Z",
                "updatedAt": "2023-02-23T15:00:05.635Z",
                "publishedAt": "2023-02-23T03:13:17.278Z",
                "Items": [
                    {
                        "id": 15,
                        "Number": 11,
                        "Status": "Open"
                    },
                    {
                        "id": 16,
                        "Number": 12,
                        "Status": "Open"
                    }
                ]
            }
        }

And I want to put more entries in the Items array, that is an component

{
   "data":{
      "Items":[
         {
            "Number":11,
            "Status":"Open"
         },
         {
            "Number":12,
            "Status":"Open"
         }
      ]
   }
}

When I do this using the PUT method, it replaces de whole Items with these two. There is an way to “increment” the entries, instead replace them?

Thanks!

1 Like

did you find the answer?