domains attribute on a company object.
Reading values
There are two properties on a domain attribute,domain and root_domain.
The domain property contains the entire domain, after normalization.
The root_domain property is the top-most part of the domain besides the public suffix. For example, the root domain of "app.attio.com" would be "attio.com".
Writing values
To write domain values, simply pass the string of the domain. Theroot_domain property will automatically be inferred from input values so there is no need to write it yourself.
You may also write domain values using an object with a single key, domain.
As the domains attribute is multi-select, you must always pass values wrapped in an array.
Filtering
Domain attribute values can be filtered by either theroot_domain or domain property, and support several operators:
$eqfor an exact match$not_emptyfor any value present$contains,$starts_withand$ends_with
domain property is checked for equality, otherwise you can use the explicit syntax to combine the properties and operators above.