Skip to main content

Interface: UpdateCollectionRequest

Request object to update a collection.

Properties

access

Optional access: 0 | 1 | 2 | 3 | 4

Access type of the collection.


accessAwards

Optional accessAwards: any[]

Build5 id of awards. If set, only members having the specified awards can access this collection.


accessCollections

Optional accessCollections: any[]

Build5 id of collections. If set, only members owning NFTs from the specified collection can access this collection.


availableFrom

Optional availableFrom: Date

The collections available from data. It can be maximum 10 minutes in the past.


bannerUrl

Optional bannerUrl: string

Banner ulr.


description

description: string

Description of the collection.


discord

Optional discord: string

Discord url of the collection.


discounts

Optional discounts: { amount: number ; tokenReward: number ; tokenSymbol: string }[]

Array of discounts. Minimum 0, maximum 5.


name

name: string

Name of the collection.


onePerMemberOnly

Optional onePerMemberOnly: boolean

If true, only on NFT can be owned per member from this collection.


placeholderUrl

Optional placeholderUrl: string

Placeholder url.


price

Optional price: number

Price of the collection. Minimum 1000000, maximum 1000000000000.


royaltiesFee

royaltiesFee: number

Royalty fee for the collection. Minimum 0, maximum 1


royaltiesSpace

Optional royaltiesSpace: string

Build5 id of the royalty space.


twitter

Optional twitter: string

Twitter url of the collection.


uid

uid: string

Build5 id of the collection.


url

Optional url: string

Url for the collection.