Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to companyContactAssignRole

companyContactAssignRole

mutation

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

Assigns a role to a contact for a location.

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.


Was this section helpful?

Anchor to CompanyContactAssignRolePayload returnsCompanyContactAssignRolePayload returns

Anchor to companyContactRoleAssignmentcompanyContactRoleAssignment

The company contact role assignment.

The list of errors that occurred from executing the mutation.


Was this section helpful?