🧬Bulk Update an Item's Properties

This method allows you to change the value of multiple properties of a given item at once. This can update an item's state (i.e., health, wear, strength, consumed, state, etc.)

Bulk update an item's properties

Updates multiple value's of an item's properties

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

Takes an item's collection address, tokenId, an array of objects with two fields: propertyName & propertyValue (the updated value), and your API key and updates the item's properties

Query Parameters

NameTypeDescription

apiKey*

String

Your API key

Request Body

NameTypeDescription

address*

String

The item's collection address

tokenId*

Integer

The item's tokenId

properties*

Array

Array of objects containing the items propertyName's and the new propertyValue's that you wish to update.

[

{propertyName:"", propertyValue:""},

{propertyName:"", propertyValue:""}

]

{
    // Response
}

You cannot change the value of static properties.

Last updated