Skip to main content

company_address

The address of a company location.

To learn about B2B in themes, refer to Support B2B customers in your theme.

Properties

The first line of the address.

The second line of the address.

If no second line is specified, then nil is returned.

The attention line of the address.

The city of the address.

The country of the address.

Anchor to
country_code

The country of the address in ISO 3166-1 (alpha 2) format.

The first name of the address.

The ID of the address.

The last name of the address.

The province of the address.

Anchor to
province_code

The province of the address in ISO 3166-2 (alpha 2) format.

Note

The value doesn't include the preceding ISO 3166-1 country code.

A combination of the first and second lines of the address.

The zip or postal code of the address.

{
"address1": "99 Cauldron Lane",
"address2": "Unit 4B",
"attention": "Cornelius' Custom Concoctions",
"city": "Edinburgh",
"country": {},
"country_code": "GB",
"first_name": "Cornelius",
"id": 65,
"last_name": "Potionmaker",
"province": null,
"province_code": null,
"street": "99 Cauldron Lane, Unit 4B",
"zip": "EH95 1AF"
}
Was this section helpful?