mutation

unfollowById

Remove a followed item, brand, or product using its collection ID.
Arguments
collectionType
String!
Required
Type of collection followed, i.e. products, brands, or collections.
collectionId
String!
Required
The ID of the collection type.
Response
Required
A unique identifier for the follow operation, which can be used to reference or track the follow status.
message
String!
Required
A message indicating the result of the follow or unfollow operation. This could be a confirmation message or an error message.
Mutation
1mutation unfollowById($collectionType: String!, $collectionId: String!) {
2 unfollowById(collectionType: $collectionType, collectionId: $collectionId) {
3 id
4 message
5 }
6}
Try it
Input Variables
1{
2 "collectionType": "collectionType",
3 "collectionId": "collectionId"
4}
Response
1{
2 "unfollowById": {
3 "id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e",
4 "message": "message"
5 }
6}