VOOZH about

URL: https://shopify.dev/docs/api/liquid/objects/company

⇱ Liquid objects: company


Skip to main content

A company that a customer is purchasing for.

To learn about B2B in themes, refer to Support B2B customers in your theme.

Properties

Anchor to
available_locationsavailable_locations

The company locations that the current customer has access to, or can interact with.

Anchor to
available_locations_countavailable_locations_count

The number of company locations associated with the customer's company.

Anchor to
external_idexternal_id

The external ID of the company.

The ID of the company.

Anchor to
metafieldsmetafields
array of metafield

The metafields applied to the company.

Tip

To learn about how to create metafields, refer to Create and manage metafields or visit the Shopify Help Center.

Tip:

To learn about how to create metafields, refer to Create and manage metafields or visit the Shopify Help Center.

Tip: To learn about how to create metafields, refer to <a href="/apps/metafields/manage">Create and manage metafields</a> or visit the <a href="https://help.shopify.com/manual/metafields">Shopify Help Center</a>.

The name of the company.

{
"available_locations": [],
"available_locations_count": 1,
"external_id": null,
"id": 98369,
"metafields": {},
"name": "Cornelius&#39; Custom Concoctions"
}
Example
{
 "available_locations": [],
 "available_locations_count": 1,
 "external_id": null,
 "id": 98369,
 "metafields": {},
 "name": "Cornelius&#39; Custom Concoctions"
}
Was this section helpful?