PATCH
/
2022-06-09
/
collections
/
{collectionId}
curl --request PATCH \
  --url https://staging.crossmint.com/api/2022-06-09/collections/{collectionId} \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "supplyLimit": 123,
  "payments": {
    "price": "<string>",
    "recipientAddress": "<string>"
  }
}'
{
  "transactionId": "<string>",
  "status": "<string>"
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

collectionId
string
default:
custom-collection-id
required

The ID of the named collection

Body

application/json
supplyLimit
number

The maximum number of NFTs that can be minted for this collection

payments
object

Enable payments for this collection by setting price and recipientAddress.

Response

200
application/json
A JSON object containing transactionId and status
transactionId
string

Transaction ID (UUID)

status
string

Status of the transaction (pending)