import { ShopifyCompany } from '@daffodil/driver/shopify'
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.
interface ShopifyCompany {
__typename: "Company"
createdAt: Scalars['DateTime']['output']
externalId: string
id: string
metafield: ShopifyMetafield
metafields: ShopifyMetafield[]
name: string
updatedAt: Scalars['DateTime']['output']
}
__typename "Company" |
|---|
createdAt Scalars['DateTime']['output'] |
|---|
The date and time (ISO 8601 format) at which the company was created in Shopify. |
externalId string |
|---|
A unique externally-supplied ID for the company. |
id string |
|---|
A globally-unique ID. |
metafield ShopifyMetafield |
|---|
A custom field, including its |
metafields ShopifyMetafield[] |
|---|
A list of custom fields that a merchant associates with a Shopify resource. |
name string |
|---|
The name of the company. |
updatedAt Scalars['DateTime']['output'] |
|---|
The date and time (ISO 8601 format) at which the company was last modified. |