Update an Item's Property

This method allows you to change the value of an item's property given the name of the property (key). This can be used to update an item's state (i.e., health, wear, strength, consumed state, etc.)

Update an item's property

Updates the value of an item's property

POST https://api.alturanft.com/api/v2/item/update_property

Takes an item's collection address, tokenId, a property name, the new value for the property and your API key and updates the item's property

Query Parameters

Name
Type
Description

apiKey*

String

Your API key

Request Body

Name
Type
Description

address*

String

The item's collection address

tokenId*

Integer

The item's tokenId

propertyName*

String

The name (key) of the property you want to change

propertyValue*

String

The new value you want to set the property to

{
    // Response
}

You cannot change the value of static properties.

Last updated