Skip to main content
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.

[ID!]

The current role assignment IDs to revoke.


Was this section helpful?

Anchor to CompanyContactRevokeRolesPayload returnsCompanyContactRevokeRolesPayload returns

Anchor to revokedRoleAssignmentIdsrevokedRoleAssignmentIds
[ID!]

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

[BusinessCustomerUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?