You need to sign in to do that
Don't have an account?

Linking contacts and Account
I am trying to create a relationship between Account and Contact, where I am linking account id with contact.
How can I achieve this?
How can I achieve this?
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Use AccountId field of contact to associate account with contact.
See the example in the below link
https://salesforceglobe4u.blogspot.com/2019/08/how-to-link-contact-with-account-in.html
Hi Sunny,
I tried this earlier also now also and got this error-
ERROR - Contact Error: (<class 'simple_salesforce.exceptions.SalesforceMalformedRequest'>, SalesforceMalformedRequest('https://********.my.salesforce.com/services/data/v38.0/sobjects/Contact/', 400, 'Contact', [{'message': 'The value provided for foreign key reference Account is not a nested SObject', 'errorCode': 'INVALID_FIELD'}]), <traceback object at 0x049786C0>)
Please follow the given below code and link with the help of these, you can solve your problem, it may be helpful to you.
This below code is working fine in my org: You can follow for more information:
Link: https://salesforce.stackexchange.com/questions/57504/contacts-list-in-account-object
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha
If you got something for python please help me out.
Thanks,
Shradheya