---
title: "CompanyContact"
description: "Company contact"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/objects/company-contact'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/objects/company-contact.md'
---
# CompanyContact

Company contact

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`CompanyContact`

## Fields

* `company`

  [Company](https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/objects/company.md)

  Company information

* `createdAt`

  [Date](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/date.md)

  Creation time

* `customer`

  [Customer](https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/customer.md)

  Customer information

* `id`

  [ID](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/id.md)

  Contact id

* `isMainContact`

  [Boolean](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/boolean.md)

  Is the main contact person

* `locale`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  Language

* `updatedAt`

  [Date](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/date.md)

  Update time

## Schema Definition

```graphql
type CompanyContact { 
	company: Company
	createdAt: Date
	customer: Customer
	id: ID
	isMainContact: Boolean
	locale: String
	updatedAt: Date 
}
```

## Field from

* [CompanyContactEdge](https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/objects/company-contact-edge.md).node

  node information

* [CompanyAssignCustomerAsContactPayload](https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/company-assign-customer-as-contact-payload.md).companyContact

  Company contact

* [CompanyContactCreatePayload](https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/objects/company-contact-create-payload.md).companyContact

  Company contact

* [CompanyContactUpdatePayload](https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/objects/company-contact-update-payload.md).companyContact

  Company contact information

* [CompanyContactConnection](https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/objects/company-contact-connection.md).nodes

  A list of nodes.

* [Company](https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/objects/company.md).mainContact

  Main contact

* [Query](https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/queries/company-contact.md).companyContact

  公司联系人信息查询

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

