put https://api.nftport.xyz/v0/mints/customizable
Updates an NFT which has been previously minted with Customizable minting
or Batch customizable minting. You can update the metadata URI with a new link or freeze the metadata URI to permanently lock it. The NFT must be minted in your deployed contract and update only works if contract and token are not frozen.
- First, you need
contract_address
from Deploy a contract for NFT products andmetadata_updatable
must be settrue
. - Secondly, you need
token_id
from Customizable minting or Batch customizable minting. - If you only wish to update the metadata URI set a new
metadata_uri
. If you wish to update metadata URI and freeze both at the same time then set a newmetadata_uri
andfreeze_metadata
astrue
. If you only want to freeze existing metadata URI, then setfreeze_metadata
astrue
.
Useful for:
- Creating dynamic NFTs (NFTs that change after minting based on events).
- Revealing NFTs after the drop.
Related:
- If you want to learn how to use customizable minting, see Customizable Minting Quickstart.
- If you wish to list all your previously minted NFTs, see List all your minted NFTs.