query

followerCount

Get the total number of followers for a specific item by its ID.
Arguments
collectionId
String!
Required
The ID of the collection type.
collectionType
String!
Required
Type of collection, i.e. products, brands, or collections.
Response
count
Int
The number of followers for the item. This count indicates how many users are following the specified item.
Query
1query followerCount($collectionId: String!, $collectionType: String!) {
2 followerCount(collectionId: $collectionId, collectionType: $collectionType) {
3 count
4 }
5}
Try it
Input Variables
1{
2 "collectionId": "collectionId",
3 "collectionType": "collectionType"
4}
Response
1{
2 "followerCount": {
3 "count": 42
4 }
5}