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

Authorizations

X-API-KEY
string
headerrequired

Obtained in the Crossmint developer console

Path Parameters

collectionId
string
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 intitial request. Example: your-custom-identifer

templateId
string
required

The template ID

Body

application/json
metadata
object

See https://docs.crossmint.com/docs/metadata for more info

onChain
object

Onchain details

supply
object

Supply details

reuploadLinkedFiles
boolean

Any URLs in the metadata object will be resolved and reuploaded to IPFS [Default: true]

Response

200 - application/json
templateId
string
metadata
object
onChain
object
supply
object