companyRole
Get company role detail, contains permissions of the role.
Requires a B2B Token.
Arguments
companyId
ID of the company, optional
roleId
ID of the role, required
Returns
id
ID of the role
name
Role name
roleType
Role type.
1 is predefined, 2 is custom
roleLevel
Role level.
1 is store level
permissions
Permissions of the role