company_ location
To learn about B2B in themes, refer to Support B2B customers in your theme.
Properties
Returns
trueif the location is currently selected. Returnsfalseif not.- metafieldsmetafields
The metafields applied to the company location.
TipTo 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>.
- shipping_
addressshipping_ address The address of the location.
- store_
credit_ accountstore_ credit_ account The store credit account associated with the company location.
The account shown will be in the currency associated with the company location’s current context. For example, when browsing a storefront for a company location in the US market, the company location's USD store credit account will be returned. If the company location does not have a USD store credit account
nilwill be returned.
Example
{
"company": {},
"current?": false,
"external_id": null,
"id": 98369,
"metafields": {},
"name": "99 Cauldron Lane",
"shipping_address": {},
"store_credit_account": null,
"tax_registration_id": null,
"url_to_set_as_current": "https://polinas-potent-potions.myshopify.com/company_location/update?location_id=98369&return_to=/resource"
}