---
schema_version: "1"
id: f1a04c452f7c3a3371863f5205f67f442cd60dd4f0bd5fafb079be52b4526d9e
title: ConnectApi.CommerceAddressOutput
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_commerce_address_output.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_commerce_address_output.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4f3048d027412e01a894d44515880a88a0a703ee7209c81e04bffbeb34bca94a
description: Address for a Commerce account.
---
# 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](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_map.htm#apex_methods_system_map "Contains methods for the Map collection type.")<String, [Record Field](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_labeledRecordField.htm "Record field containing a label and a text value.")\> | 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 |