Hello,
How can we update just one item in a block?
The below code works, but it replaces all the top_tiles with just the one we are sending instead of updating just the one and leaving the others unchanged.
Isnāt there a way to only update the one with itās id?
It seems it would be tedious to have to send the full array every time?
Please advise, thanks
PUT https://site-api.datocms.com/items/179731214
{
"data": {
"type": "item",
"id": "179731214",
"attributes": {
"top_tiles": [
{
"type": "item",
"id": "179731205",
"attributes": {
"title": "eBiz 1",
"font_awesome_tile_code": "fas fa-shopping-cart ",
"tile_url": "https://us.t-test.com/Login/Identity?PortalId=test ",
"title_color_hex_code": " #ffffff"
},
"relationships": {
"item_type": {
"data": {
"id": "2047005",
"type": "item_type"
}
}
}
}
]
},
"relationships": {
"item_type": {
"data": {
"id": "2047003",
"type": "item_type"
}
}
}
}
}