This mutation allows the addition of an existing lot to the User favorite lots list.
Notice
If a lot already exists, then do nothing. If the provided lot is invalid or does not exist, then an error message will be returned.
Sample Mutation
Add the collection item to user favorites:
mutation{
addCollectionItemToUserFavorites(collectionItemId:"611c8e1f-0afa-4db8-b4f1-cf1b4f22bea3")
}
Sample Response
{
"data": {
"addCollectionItemToUserFavorites": true
}
}
Arguments
Name | Type | Description | Required |
---|---|---|---|
collectionItemId | UUID | The collection item ID. | Yes |
Returns
Name | Type | Description |
---|---|---|
N/A | Boolean | Confirmation whether collection item is added to user favorites. |
Example
Try to add collection item to user favorites using collection item ID: