# Add new Properties

Use this method to add a new property to an Item.&#x20;

### Usage in your script

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

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

{% endtab %}

{% tab title="TypeScript" %}

```typescript
const addProperty: IAlturaItem = await alturaItem.addProperty(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'd like to change</td></tr><tr><td>PROPERTY_VALUE</td><td><strong>String</strong></td><td><strong>Yes</strong></td><td>The new value you'd like to set the property to</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.altura.com/altura-documentation/js-sdk-reference/smart-nft-endpoints/add-new-properties.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
