An access token is required to call this API. Refer to Authorization for more information about how to obtain the token.
Query a company contact by ID.
Arguments
id ● ID!non-null
Role ID
Return
id ● ID
Role ID
name ● String
role name
Status and error codes
For detailed information about common codes, see Status and error codes.
Example
Fetches a company contact role by ID.
query {
companyContactRole(id: "gid://shopline/CompanyContactRole/164499664320701") {
id
name
}
}
Response
{
"data": {
"companyContactRole": {
"name": "ADMIN",
"id": "gid://shopline/CompanyContactRole/164499664320701"
}
}
}
Was this article helpful to you?