✍️Update an Item's data
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.)
Update an item's property
Updates the value of an item's property
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
Query Parameters
apiKey*
String
Your API key
Request Body
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:""}
]
You cannot change the value of static properties.
Last updated