stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > CompanyContact

AdminTypes.CompanyContact interface

A person that acts on behalf of company associated to [a customer](https://shopify.dev/api/admin-graphql/latest/objects/customer).

Signature:

export interface CompanyContact extends Node 

Extends: Node

Properties

Property Modifiers Type Description
company   Company The company to which the contact belongs.
createdAt   Scalars[‘DateTime’][‘output’] The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company contact was created at Shopify.
customer   Customer The customer associated to this contact.
draftOrders   DraftOrderConnection The list of draft orders for the company contact.
id   Scalars[‘ID’][‘output’] A globally-unique ID.
isMainContact   Scalars[‘Boolean’][‘output’] Whether the contact is the main contact of the company.
lifetimeDuration   Scalars[‘String’][‘output’] The lifetime duration of the company contact, since its creation date on Shopify. Examples: 1 year, 2 months, 3 days.
locale?   Maybe<Scalars[‘String’][‘output’]> (Optional) The company contact’s locale (language).
orders   OrderConnection The list of orders for the company contact.
roleAssignments   CompanyContactRoleAssignmentConnection The list of roles assigned to this company contact.
title?   Maybe<Scalars[‘String’][‘output’]> (Optional) The company contact’s job title.
updatedAt   Scalars[‘DateTime’][‘output’] The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company contact was last updated.