I'm using the Salesforce SOAP API via the PHP library and trying to figure out the proper format to submit an Address compound field type. I've tried submitting as an associative array:
[ShippingAddress] => Array(
[City] => city
[PostalCode] => zip
[Street] => street
which gives me an array to string error from SforcePartnerClient, as well as a flat array:
[ShippingCity] => city
[ShippingPostalCode] => zip
[ShippingStreet] => street
Which throws an undefined field error on ShippingAccuracy.
What is the proper field format to submit the Address compound field type?