Company Location
A branch or office of a Company where B2B customers can place orders. When a B2B customer selects a location after logging in, the Storefront API contextualizes product queries to return location-specific pricing and quantity rules.
Access through the object, which associates the location with the buyer's Cart.
Anchor to FieldsFields
- createdAt (DateTime!)
- externalId (String)
- id (ID!)
- locale (String)
- metafield (Metafield)
- metafields ([Metafield]!)
- name (String!)
- updatedAt (DateTime!)
- Anchor to createdAtcreated•Date
At Time! non-null The date and time (ISO 8601 format) at which the company location was created in Shopify.
- Anchor to externalIdexternal•String
Id A unique externally-supplied ID for the company.
- •ID!non-null
A globally-unique ID.
- Anchor to localelocale•String
The preferred locale of the company location.
- Anchor to metafieldmetafield•MetafieldToken access required
A custom field, including its
namespaceandkey, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to namespacenamespace•String
The container the metafield belongs to. If omitted, the app-reserved namespace will be used.
- •String!required
The identifier for the metafield.
Arguments
- Anchor to metafieldsmetafields•[Metafield]!non-null Token access required
A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to identifiersidentifiers•[Has
Metafields Identifier!]! required The list of metafields to retrieve by namespace and key.
The input must not contain more than
250values.
Arguments
- Anchor to namename•String!non-null
The name of the company location.
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time (ISO 8601 format) at which the company location was last modified.