Add Nft Item Attribute

Add some attributes to the specified Nft Item.

Add Nft Item Attribute

POST {{server-url}}/nft-items/:nftItemId/attributes

It returns the Nft item attribute's identifier values.

Path Parameters

NameTypeDescription

nftItemId

Number

Represents Nft item's identifier

Headers

NameTypeDescription

Authorization*

String

UUID formatted access token

Content-Type*

String

application/json

PROJECT-ID*

String

UUID formatted projectId information

Request Body

NameTypeDescription

attributes.traitType*

String

Represents attribute's name. You can not add already exist traitType.

attributes.value*

String

Represents attribute's value

attributes.icon

String

Represents attribute's icon url

{
    // Response
}

Example Response Body

{
    "data": null,
    "message": null,
    "code": 0,
    "error": false
}

Last updated