---
title: "CompanyLocationRoleAssignInput"
description: "The input fields for the role and contact to assign on a location."
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/inputs/company-location-role-assign-input'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/inputs/company-location-role-assign-input.md'
---
# CompanyLocationRoleAssignInput

The input fields for the role and contact to assign on a location.

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

## Type Signature

`CompanyLocationRoleAssignInput`

## Input Fields

* `companyContactRoleId`

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

  role id

* `companyContactId`

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

  
  The company contact id

## Schema Definition

```graphql
input CompanyLocationRoleAssignInput { 
	companyContactRoleId: ID!
	companyContactId: ID! 
}
```

## Input field from

* [CompanyLocationAssignRolesInput](https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/inputs/company-location-assign-roles-input.md).rolesToAssign

  The input fields for the role and contact to assign on a location.

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

