> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markz3d.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AddShelfAllowedItem

Adds an item to the list of allowed items for a specific shelf.

<table>
  <thead>
    <tr>
      <th scope="col">
        Argument
      </th>

      <th scope="col">
        Data Type
      </th>

      <th scope="col">
        Needed
      </th>

      <th scope="col">
        Default
      </th>

      <th scope="col">
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <th>`shelfName`</th>
      <td>string</td>
      <td>✅</td>
      <td>`-`</td>
      <td>The name (key) of the shelf defined in Config.Shelfs</td>
    </tr>

    <tr>
      <th>`item`</th>
      <td>string</td>
      <td>✅</td>
      <td>`-`</td>
      <td>The name of the item to add to the allowed list</td>
    </tr>
  </tbody>
</table>

> [accordion] Example
>
> ```lua theme={null}
> exports["utility_delivery"]:AddShelfAllowedItem("pizza_this_vinewood", "water_bottle")
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.