Skip to main content
Anchor to companyLocationAssignRoles

companyLocationAssignRoles

mutation

Requires write_customers access scope or write_companies access scope. Also: The shop must have access to B2B. Some operations may require additional plan capabilities.

Assigns roles on a company location.

•ID!
required

The location whose roles are being assigned.

•[CompanyLocationRoleAssign!]!
required

The roles to assign.

Show input fields

Was this section helpful?

Anchor to CompanyLocationAssignRolesPayload returnsCompanyLocationAssignRolesPayload returns

•[CompanyContactRoleAssignment!]

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

Show fields
•[BusinessCustomerUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?