✍️Update an Item's data
Last updated
Last updated
This method allows you to change the name, description, and the value of an item's property given the name of the property (key). This can be used to update an item's state and information (i.e., health, wear, strength, consumed state, etc.)
POST
https://api.alturanft.com/api/v2/item/updateItem
Takes an item's collection address, tokenId, a property name and the new value or item name or item description or an array of properties and your API key
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
You cannot change the value of static properties.
apiKey*
String
Your API key
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
itemName
String
The new item name
itemDesc
String
The new item description
properties
array
Array of objects containing the items propertyName's and the new propertyValue's that you wish to update.
[
{propertyName:"", propertyValue:""},
{propertyName:"", propertyValue:""}
]