Skip to main content
object

A B2B organization that purchases from the shop. In the Storefront API, company information is accessed through the PurchasingCompany object on CartBuyerIdentity, which provides the associated location and contact for the current purchasing context.

You can store custom data using metafields.

•DateTime!
non-null

The date and time (ISO 8601 format) at which the company was created in Shopify.

•String

A unique externally-supplied ID for the company.

•ID!
non-null

A globally-unique ID.

•Metafield

A custom field, including its namespace and key, that's associated with a Shopify resource for the purposes of adding and storing additional information.

Arguments

•String

The container the metafield belongs to. If omitted, the app-reserved namespace will be used.

•String!
required

The identifier for the metafield.


•[Metafield]!
non-null

A list of custom fields that a merchant associates with a Shopify resource.

Arguments

•[HasMetafieldsIdentifier!]!
required

The list of metafields to retrieve by namespace and key.

The input must not contain more than 250 values.


•String!
non-null

The name of the company.

•DateTime!
non-null

The date and time (ISO 8601 format) at which the company was last modified.


Was this section helpful?

•interface

Was this section helpful?