function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Problems creating a relationship Account - Oppotunity with API

I want to create a relationship between a Account and a Opportunity, with the entity called "PArtner". 

The API documentation says that the entitiy "OpportunityPartner" is readonly (then cannot be created)... I understand that I have to create a "PArtner" with these fields:





I get the following error:

INFO: Error code is: INVALID_TYPE
GRAVE: Error message: sObject type 'Partner' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.


I use the API for create a entity "Partner", as it would be a Opportunity, ACcount,  or others SF entitites... I don`t know because not works...


THank you!!!!