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 companyContactRevokeRoles

companyContactRevokeRoles

mutation

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

Revokes roles on a company contact.

ID!required

The contact whose roles are being revoked.

BooleanDefault:false

Flag to revoke all roles on the contact.

The current role assignment IDs to revoke.


Was this section helpful?

Anchor to CompanyContactRevokeRolesPayload returnsCompanyContactRevokeRolesPayload returns

Anchor to revokedRoleAssignmentIdsrevokedRoleAssignmentIds

A list of role assignment IDs that were removed from the company contact.

The list of errors that occurred from executing the mutation.


Was this section helpful?