deleteCollectionItemFromUserFavorites

This mutation allows deleting an existing lot from the User favorite lots list.

❗️

Notice

If the lot has been already deleted, then do nothing. If the provided lot is invalid or does not exist, then an error message will be returned.

Sample Mutation

Delete a collection item from the user's Favorites:

mutation{
 deleteCollectionItemFromUserFavorites(collectionItemId:"611c8e1f-0afa-4db8-b4f1-cf1b4f22bea3")
}
{
  "data": {
    "deleteCollectionItemFromUserFavorites": true
  }
}

Arguments

NameTypeDescriptionRequired
collectionItemIdUUIDThe collection item ID.Yes

Returns

NameTypeDescription
N/ABooleanConfirmation whether the collection item is deleted from user favorites.

Example

Try a deletion of a collection item from the user's Favorites using a collection item ID: