NFT Collections
Update Collection Info
Update the sales details of a collection
API scope required: collections.update
patch/2022-06-09/collections/{collectionId}
Request
- Base URLhttps://staging.crossmint.com/api
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Request body
Response
A JSON object containing transactionId and status
Example response
{
"actionId": "e9abb61c-9371-447e-af1a-86fb5c073754",
"action": "collections.update",
"status": "pending",
"data": {
"chain": "arbitrum",
"collection": {
"id": "42c43e55-f92d-4b25-bc99-d8309b6e1f38",
"contractAddress": "0x45ba91BCa91fA0D384022d3C279866811795FcF7"
}
},
"startedAt": "2023-12-30T00:06:56.000Z",
"resource": "https://staging.crossmint.com/api/2022-06-09/collections/<collectionId>"
}Changes
No recorded changes to this operation across all 1 revision of this API.