company_ address
The address of a company location.
To learn about B2B in themes, refer to Support B2B customers in your theme.
Properties
The second line of the address.
If no second line is specified, then
nil
is returned.The country of the address in ISO 3166-1 (alpha 2) format.
The province of the address in ISO 3166-2 (alpha 2) format.
NoteThe value doesn't include the preceding ISO 3166-1 country code.
{
"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"
}
{
"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?