PATCH
/
2022-06-09
/
collections
/
{collectionId}
/
templates
/
{templateId}
curl --request PATCH \
  --url https://staging.crossmint.com/api/2022-06-09/collections/{collectionId}/templates/{templateId} \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "name": "<string>",
  "imageUrl": "<string>",
  "description": "<string>"
}'
This response has no body data.

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
name
string
default: My template

Template name

imageUrl
string
default: https://www.crossmint.com/assets/crossmint/logo.png
description
string
default: A new collection with its own dedicated smart contract