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

Anchor to
address1

The first line of the address.

Anchor to
address2

The second line of the address.

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

Anchor to
attention

The attention line of the address.

The city of the address.

Anchor to
country

The country of the address.

Anchor to
country_code

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

Anchor to
first_name

The first name of the address.

The ID of the address.

Anchor to
last_name

The last name of the address.

Anchor to
province

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.

Anchor to
street

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?