> For the complete documentation index, see [llms.txt](https://atascripts.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://atascripts.gitbook.io/docs/resource/advanced-shop/exports.md). Agents can also search and read this documentation through its [MCP server](https://atascripts.gitbook.io/docs/~gitbook/mcp).

# Exports

```lua
-- Check if player owns a shop
exports["ata_advancedshop"]:IsPlayerShopOwner(playerId, shopId)

-- Get all shops data
exports["ata_advancedshop"]:GetAllShops()

-- Get specific shop data
exports["ata_advancedshop"]:GetShopData(shopId)
```
