Appearance
office
The active office context, reliant on the domain-office assignment in Settings > Domains. Will return null if there's no active context.
Single office accounts do not have an implied website office context — there's only an active office if it is assigned explicitly to the domain.
ACCESS
Directly accessible in all Website templates.
Example
json
{
"id": 1,
"agency_id": 1,
"name": "Los Angeles",
"phone": "310-691-7900",
"email": "la@agency.com",
"physical_address1": "469 S. Robertson Blvd",
"physical_address2": "Suite 101A",
"physical_address3": "Beverly Hills, CA",
"physical_postcode": "90214",
"postal_address1": "469 S. Robertson Blvd",
"postal_address2": "Suite 101A",
"postal_address3": "Beverly Hills, CA",
"postal_postcode": "90214",
"country_id": "US",
"country_name": "United States",
"currency_id": "USD",
"timezone": "America/Los_Angeles",
"domain": "la.agency.com",
"date_format_short": "%m/%d/%Y",
"date_format_medium": "%B %e, %Y",
"date_format_long": "%A, %B %e, %Y",
"bank_name": null,
"bank_branch": null,
"bank_account_number": null,
"bank_routing_number": null,
"bank_swift_code": null,
"tax_number": null,
"created_at": "2025-01-31 12:00:00",
"updated_at": "2025-01-31 12:00:00",
"deleted_at": "2025-01-31 12:00:00"
}Properties
id
integeragency_id
integername
stringphone
stringemail
stringphysical_address1
stringphysical_address2
stringphysical_address3
stringphysical_postcode
stringpostal_address1
stringpostal_address2
stringpostal_address3
stringpostal_postcode
stringcountry_id
stringISO 3166-1 alpha-2 country code.
country_name
stringcurrency_id
stringtimezone
stringdomain
stringdate_format_short
stringOffice-configured short date format string for use with the Liquid date filter.
date_format_medium
stringOffice-configured medium date format string for use with the Liquid date filter.
date_format_long
stringOffice-configured long date format string for use with the Liquid date filter.
bank_name
stringbank_branch
stringbank_account_number
stringbank_routing_number
stringbank_swift_code
stringtax_number
stringcreated_at
datetimeupdated_at
datetimedeleted_at
datetime