API that links Accounts and Products

API that links Accounts and Products

When we do a call to get an account, we wanted to see the products associated with that account. I couldn't find an API that links Accounts and Products.

Accounts Call:  https://crm.zoho.com/crm/private/json/Accounts/getRecordById?&authtoken=66c25c71720dd891e65097da4e6194a9&scope=crmapi&id=1325772000004104653&version=2

Response:
{ "response": { "result": { "Accounts": { "row": { "no": "1", "FL": [ { "val": "ACCOUNTID", "content": "1325772000004104653" }, { "val": "SMOWNERID", "content": "1325772000003484001" }, { "val": "Account Owner", "content": "Jean-Christophe Hamel" }, { "val": "Account Name", "content": "Chattem Inc." }, { "val": "Account Number", "content": "0" }, { "val": "SMCREATORID", "content": "1325772000000099255" }, { "val": "Created By", "content": "Natalia Szubbocsev" }, { "val": "MODIFIEDBY", "content": "1325772000003484001" }, { "val": "Modified By", "content": "Jean-Christophe Hamel" }, { "val": "Created Time", "content": "2017-01-08 15:16:00" }, { "val": "Modified Time", "content": "2018-08-15 21:35:04" }, { "val": "Last Activity Time", "content": "2018-08-15 21:35:04" }, { "val": "Machine Family", "content": "XP Series" } ] } } }, "uri": "/crm/private/json/Accounts/getRecordById" } }


Note that there's nothing to link Accounts with products.

If I try a different call using a GETRELATEDRECORDS method: https://crm.zoho.com/crm/private/json/Accounts/getRelatedRecords?authtoken=66c25c71720dd891e65097da4e6194a9&scope=crmapi&id=1325772000004104653&parentModule=Products

I get this error:
{"response": {"uri":"/crm/private/json/Accounts/getRelatedRecords","error": {"code":4001,"message":"you don't have permission to view the related records of this record"}}}



Could you please help to provide an API call that will show products related to an account?