> For the complete documentation index, see [llms.txt](https://docs.altura.com/altura-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.altura.com/altura-documentation/js-sdk-reference/smart-nft-endpoints/update-an-items-property.md).

# Update an Item's Property

Use this method to update the value of an item's property.&#x20;

### Usage in your script

{% tabs %}
{% tab title="JavaScript" %}

```javascript
const updatedItem = await alturaItem.updateProperty(PROPERTY_NAME, PROPERTY_VALUE);
```

{% endtab %}

{% tab title="TypeScript" %}

```typescript
const updatedItem: IAlturaItem = await alturaItem.updateProperty(PROPERTY_NAME, PROPERTY_VALUE);
```

{% endtab %}
{% endtabs %}

### **Parameters**

<table><thead><tr><th width="193.33333333333331">Parameter</th><th width="88">Type</th><th width="109">Required</th><th>Description</th></tr></thead><tbody><tr><td>PROPERTY_NAME</td><td><strong>String</strong></td><td><strong>Yes</strong></td><td>The name (key) of the property you want to change</td></tr><tr><td>PROPERTY_VALUE</td><td><strong>String</strong></td><td><strong>Yes</strong></td><td>The new value you want to set the property to</td></tr></tbody></table>
