Trying to update a relation property of a page which is a child of a database, but UI is not showing the updated property
Wondering if Notion doesn't provide support for updating relation properties.
Update Request -
curl --location --request PATCH 'https://api.notion.com/v1/pages/a37742bb-76a3-4b27-b04a-3647534735' \
--header 'Notion-Version: 2021-05-13' \
--header 'Authorization: Bearer <SECRET>' \
--header 'Content-Type: application/json' \
--data-raw '{
"properties": {
"related_object": {
"type": "relation",
"relation": [
{
"id": "59f7c055-f4cb-43f4-b4d5-sdsddsd"
},
{
"id": "d52823d1-20fa-4ecf-a6e9-dasdasd"
}
]
}
}
}'
The response is the updated page object where I can see the correct updated relation properties.
Also if I use get page request I can see the correctly updated relation properties, But I'm not seeing the correct values in Notion UI, it is still empty.
If I use Notion UI to add more things to relation property it shows that and response of getting Page includes all the values for that relation property the one set by Update requests and the ones set using the Notion UI.
Get Page Request -
curl --location --request GET 'https://api.notion.com/v1/pages/a37742bb-76a3-4b27-b04a-3647534735' \
--header 'Notion-Version: 2021-05-13' \
--header 'Authorization: Bearer <SECRET>' \
--data-raw ''