> 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-name-and-description.md).

# Update an Item's Name & Description

Update item name and description

### Usage in your script

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

```javascript
const updateItemData = await alturaItem.updateItemData(ITEMNAME, ITEMDESC);
```

{% endtab %}

{% tab title="TypeScript" %}

```typescript
const updateItemData: IAlturaItem = await alturaItem.updateItemData(ITEMNAME, ITEMDESC);
```

{% 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>ITEMNAME</td><td><strong>String</strong></td><td><strong>Optional</strong></td><td>New name of the Item</td></tr><tr><td>ITEMDESC</td><td><strong>String</strong></td><td><strong>Optional</strong></td><td>New description for the item</td></tr></tbody></table>
