API Adding to Related List

API Adding to Related List

I have a PHP integration with Zoho that works fine.

However, under the Contacts module we have a related list called Check-ins. In the Zoho CRM Api Names its listed Check_Ins1. However if I query the API to get related lists I get this...

[sequence_number] => 4
[display_label] => Check Ins
[api_name] => Check_In
[module] => Check_Ins1
[action] => 
[href] => Contacts/{ENTITYID}/Check_In
[id] => 736992000005480328
[type] => custom_lookup
So for a start the API names are different.

I'm then doing a PHP Curl PUT. Using this endpoint and data...


// Prepare the data for the Check_Ins1 entry
$checkInData1 = [
"data" => [
[
"Name" => "Portal Submission",  // Mandatory field for Check-In Name
"Contact" => $zohoContactId,  // Reference to the Contact
"What_is_your_body_weight_today" => $measurement_weight,
"What_is_your_waist_measurement_today" => $measurement_waist,
"Side_Effects" => $side_effect_experienced,
"Other_if_Applicable" => $q5,
"Side_Effect_Experienced" => implode(",", $formatted_side_effects) // Multiselect field
]
]
];

Which gives me this error....

{"code":"INVALID_DATA","details":{},"message":"the module name given seems to be invalid","status":"error"}
Error updating Weekly Checkin: {"code":"INVALID_DATA","details":[],"message":"the module name given seems to be invalid","status":"error"}

Im slightly pulling my hair out now. No matter what I do, I get an error. If I change the endpoint to Check_Ins1 I get this error....

{"code":"INVALID_DATA","details":{},"message":"the relation name given seems to be invalid","status":"error"}
Error updating Weekly Checkin: {"code":"INVALID_DATA","details":[],"message":"the relation name given seems to be invalid","status":"error"}
Please help.