> For the complete documentation index, see [llms.txt](https://docs.novarietygames.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.novarietygames.com/websitecreator/luascript/marketplace/promptproductpurchase.md).

# promptProductPurchase

Prompts a user to purchase a [developer product](https://create.roblox.com/docs/production/monetization/developer-products) with the given productId.

`equipIfPurchase` defaults to true if argument is not provided

```lua
marketplace.promptProductPurchase(productId: Number, equipIfPurchased: Boolean): void
```
