Skip to main content
Anchor to CompanyContactRoleAssignment

CompanyContactRoleAssignment

object

Requires read_customers access scope or read_companies access scope. Also: The API client must be installed on a Shopify Plus store.

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

•Company!
non-null

The company this role assignment belongs to.

•CompanyContact!
non-null

The company contact for whom this role is assigned.

•CompanyLocation!
non-null

The company location to which the role is assigned.

•DateTime!
non-null

The date and time (ISO 8601 format) when the assignment record was created.

•ID!
non-null

A globally-unique ID.

•CompanyContactRole!
non-null

The role that's assigned to the company contact.

•DateTime!
non-null

The date and time (ISO 8601 format) when the assignment record was last updated.


Was this section helpful?

•mutation

Assigns a role to a contact for a location.

Arguments

•ID!
required

The ID of the contact to assign a role to.

Anchor to companyContactRoleIdcompanyContactRoleId
•ID!
required

The ID of the role to assign to a contact.

•ID!
required

The ID of the location to assign a role to a contact.


Fields

Anchor to companyContactRoleAssignmentcompanyContactRoleAssignment
•CompanyContactRoleAssignment

The company contact role assignment.

•[BusinessCustomerUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•mutation

Assigns roles on a company contact.

Arguments

•ID!
required

The contact whose roles are being assigned.

•[CompanyContactRoleAssign!]!
required

The new roles to assign.


Fields

•[CompanyContactRoleAssignment!]

A list of newly created assignments of company contacts to a company location.

•[BusinessCustomerUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•mutation

Assigns roles on a company location.

Arguments

•ID!
required

The location whose roles are being assigned.

•[CompanyLocationRoleAssign!]!
required

The roles to assign.


Fields

•[CompanyContactRoleAssignment!]

A list of newly created assignments of company contacts to a company location.

•[BusinessCustomerUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

•interface

Was this section helpful?