# Company
A company that a [customer](https://shopify.dev/docs/api/liquid/objects/customer) is purchasing for.
For more information about B2B in themes, see [Support B2B customers in your theme](https://shopify.dev/themes/pricing-payments/b2b).
## Properties
### available_locations
**Type:** array of [company_location](https://shopify.dev/docs/api/liquid/objects/company_location)
The company locations that the current customer has access to or can interact with.
### available_locations_count
**Type:** [number](https://shopify.dev/docs/api/liquid/basics#number)
The number of company locations associated with the customer's company.
### external_id
**Type:** [string](https://shopify.dev/docs/api/liquid/basics#string)
The external ID of the company.
### id
**Type:** [number](https://shopify.dev/docs/api/liquid/basics#number)
The ID of the company.
### metafields
**Type:** array of [metafield](https://shopify.dev/docs/api/liquid/objects/metafield)
"The [metafields](https://shopify.dev/docs/api/liquid/objects/metafield) applied to the company."
> **Tip:** To learn about creating metafields, refer to [Create and manage metafields](https://shopify.dev/apps/metafields/manage) or visit the [Shopify Help Center](https://help.shopify.com/manual/metafields).
### name
**Type:** [string](https://shopify.dev/docs/api/liquid/basics#string)
The name of the company.
## Example
```json
{
"available_locations": [],
"available_locations_count": 1,
"external_id": null,
"id": 98369,
"metafields": {},
"name": "Cornelius' Custom Concoctions"
}
```