# updateErc1155TokenProperty

### Description

This endpoint is used to update a property for a specific NFT. You can also add a property using this endpoint.

{% code overflow="wrap" %}

```javascript
public updateErc1155TokenProperty(chain: VyChain, contractAddress: string, tokenId: number, propertyName: VyTokenPropertyType, reqParams: VyUpdateErc1155TokenPropertyRequest) : VyPromise<VyMetadataDto>
```

{% endcode %}

{% tabs %}
{% tab title="Details" %}
**Parameters**

| chain           | [VyChain](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/enum/vychain)                                                          | The blockchain of the NFT collection                                                      |
| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| contractAddress | string                                                                                                                                         | The NFT contract address                                                                  |
| tokenId         | number                                                                                                                                         | The \`ID\` of the token you want to update                                                |
| propertyName    | [VyTokenPropertyType](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/enum/vytokenpropertytype)                                  | The name of the property you want to update (\*\*NOTE\*\*: This param is case sensitive.) |
| reqParams       | [VyUpdateErc1155TokenPropertyRequest](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/token/vyupdateerc1155tokenpropertyrequest) | Request data for the operation                                                            |

**Returns**

VyPromise<[VyMetadataDto](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/token/vymetadatadto)>
{% endtab %}
{% endtabs %}
