Can we use any Id other than Salesforce Id to query object for Integration while using Partner WSDL. e.g. Can we use an external field (e.g. Customer ID) to query Account inside Salesforce using SOAP API?

2 Answers 2


Yes, it is possible.

You can SOQL to query Account records on any condition. You can test Partner WSDL directly using soapUI without writing any code.


And you should also make the respective field as External ID and Unique that way you will not have an runtime errors because of bad data.

  • You can find more details about External Id
    – DJD
    May 30, 2015 at 2:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .