Managing Rich Content
Creating or updating Rich Content
Rich Content can be added or updated as any other attribute of Product Data:
As object:{
"ean": [
"4009750243800"
],
"attributes": {
"rich_content": [
{
"version": "1.0",
"blocks": [
{
"type": "heading",
"data": {
"heading": "My company description."
},
"separator": true
}
]
}
]
}
}
As string:
{
"ean": [
"4009750243800"
],
"attributes": {
"rich_content": [
"{\"version":\"1.0\",\"blocks\":[{\"type\":\"heading\",\"data\":{\"heading\":\"My company description.\"},\"separator\":true}]}"
]
}
}