Hi all,
Is it possible to pass nested objects as contact’s custom fields to Freshdesk API?
An example object would look as follows:
(simplified POST request to /api/v2/contacts)
{
“body”: {
“name”: “test name”,
“unique_external_id”: “test_uuid”,
“custom_fields”: {
“objects”: i
“object_1_id”: {
“id”: “object_1_id”,
“name”: “test name 1”
},
“object_2_id”: {
“id”: “object_2_id”,
“name”: “test name 2”
},
]
}
}
}
Or is it only possible to pass simple JSON that would contain simple key: value pairs like object_1_id: id, object_1_name: name etc.?