---
title: "CompanyContactRoleAssignment"
description: >
  The CompanyContactRoleAssignment describes the company and location associated to a company contact's role.
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-role-assignment'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/objects/company-contact-role-assignment.md'
---
# CompanyContactRoleAssignment

The CompanyContactRoleAssignment describes the company and location associated to a company contact's role.

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

## Type Signature

`CompanyContactRoleAssignment`

## Fields

* `companyContactId`

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

  company Contact Id

* `companyId`

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

  company id

* `createdAt`

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

  create time

* `id`

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

  id

* `locationId`

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

  location Id

* `role`

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

  Company Contact Role 

* `updatedAt`

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

  update time

## Schema Definition

```graphql
type CompanyContactRoleAssignment { 
	companyContactId: ID
	companyId: ID
	createdAt: Date
	id: ID
	locationId: ID
	role: CompanyContactRole
	updatedAt: Date 
}
```

## Field from

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

  node information

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

  A list of nodes.

## 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).

