Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.CommerceAddressOutput

Address for a Commerce account.
Property Name Type Description Available Version
addressId String ID of the address. 54.0
addressType String Type of address (for example, “Shipping” or “Billing”). 54.0
city String The address city. 54.0
companyName String The address company name. 57.0
country String The address country. 54.0
countryCode String Two-character country code. 54.0–58.0
fields Map<String, Record Field> A list of custom address fields, if any. 54.0
firstName String The address first name. 57.0
isDefault Boolean Indicates whether a contact’s address is the preferred method of communication (true) or not (false). The default value is false. 54.0
lastName String The address last name. 57.0
middleName String The address middle name. 57.0
name String Name of the contact. 54.0
phoneNumber String The address phone number. 57.0
postalCode String Zip code or postal code for the address. 54.0
region String The address state. 54.0
regionCode String The address state code. 54.0–58.0
street String The address street. 54.0