Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3637

What are the API names for Address' compound fields that are not Mailing/Billing/Etc.? Salesforce

$
0
0

So I currently am working with SOQL (PATCH API Call) to update an Address field on a contact record. This Address field is called Address 2 (API Name: Address_2__c) but I cant seem to be able to pass the correct api name for the compound fields on the json body.

{"Address_2__cCountry" : "<Country>","Address_2__cStreet" : "<Street>","Address_2__cCity" : "<City>","Address_2__cState" : "<State>"}

I have tried Address_2__c.City / Address_2__c.City__c / Address_2__c.City__s / Address_2__c__City__c / Address_2__c__City__s and none have worked.


Viewing all articles
Browse latest Browse all 3637

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>