Return Format
This can be a JSON object in the parent content response, or an array of ID's.
{
"name": "relationship_field",
"label": "Relationship Field",
"class": "relationship",
"value": [
{
"ID": 101,
"title": "Cakes",
"post_type": "page",
"slug": "cakes",
"excerpt": "",
"content": "<p>Page Content</p>",
"status": "publish",
"advanced": [ ]
}
],
"relationship": {
"type": "post",
"class": "all"
}
}
See more information on this field.