# Consume an Item (ERC1155)

### Consume (burn) an item

## Consume an item directly from its owner wallet

<mark style="color:green;">`POST`</mark> `https://api.alturanft.com/api/v2/item/consume`

Takes an item's collection address, tokenId, amount to consume, address to consume from (from) and your API key and consume a given amount of the specified NFT from the specified address.

#### Query Parameters

| Name                                     | Type   | Description  |
| ---------------------------------------- | ------ | ------------ |
| apiKey<mark style="color:red;">\*</mark> | String | Your API key |

#### Request Body

| Name                                      | Type    | Description                                  |
| ----------------------------------------- | ------- | -------------------------------------------- |
| address<mark style="color:red;">\*</mark> | String  | The item's collection address                |
| tokenId<mark style="color:red;">\*</mark> | Integer | The item's tokenId                           |
| amount<mark style="color:red;">\*</mark>  | Integer | The amount of item to consume                |
| from<mark style="color:red;">\*</mark>    | String  | The address you want to consume an item from |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="500: Internal Server Error " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
Only works if the item was created as consumable
{% endhint %}
