v1

latestOpenAPI 3.0.12026-07-2699111970.1 KB
NFT Templates

Edit Template

Edit a Token template.

API scope required: nfts.update

patch/2022-06-09/collections/{collectionId}/templates/{templateId}

Path parameters

collectionIdstring required

This is the identifier for the collection related to the request. Every project has default collections: default-solana and default-polygon.

The create-collection API will result in collections with UUID formatted collectionId. Example: 9c82ef99-617f-497d-9abb-fd355291681b

The create-collection-idempotent API allows you to specify an arbitrary identifier during the initial request. Example: your-custom-identifier

templateIdstring required

The template ID

Request body

OR

Example request

{
  "metadata": {
    "name": "test",
    "imageUrl": "https://www.crossmint.com/assets/crossmint/logo.png"
  }
}

Response

Success