Add the NFT user's favorite list.
Sample mutation
mutation addNFTToFavourite($orgID: UUID1!, $tokenId: UUID1!) {
addNFTToFavourite(orgID: $orgID, tokenId: $tokenId)
}
Sample variable
{
"tokenId": "83bef811-cefb-48da-a7e7-27c553a5f7ac",
"orgID": "f2f5c627-5421-4c40-9913-edfd09dd98b3"
}
Sample response
{
"data": {
"addNFTToFavourite": true
}
}
Arguments
Name | Type | Description | Required |
---|---|---|---|
tokenId | UUID | NFT token unique ID. | Yes |
orgID | UUID | The Organization ID. | Yes |
Field
Name | Type | Description |
---|---|---|
addNFTToFavourite | Boolean | The sending value. If the NFT added in favourite list, it will be 'true'. |
Example
add the given NFT in user's NFT favourite list.