Can I use Inventory API check if a player owns a developer product?

As you can see from the title of this post, I want to know if you can use this Inventory API to check if a specific player owns a developer product.
https://inventory.roblox.com/docs/index.html?urls.primaryName=Inventory%20Api%20v1

1 Like

What do you mean by “own” a developer product?
Dev products are a multiple times purchase item, you dont own them

You’re probably talking about Gamepasses.

4 Likes

As the post above me by @HACANTERO highlights

You don’t “Own” developer products. To add on this as said by roblox in this document about developer products:

Roblox itself does not record the purchase history of Developer Products by specific users, although you can request to download sales data. If you want to track user-specific purchase history, it’s your responsibility to store the data.

You as a developer, can only track the purchases of developer products within your games (By using something like DataStoreService to keep the data), and cannot use something like the Inventory API to see this information.

If your talking about Gamepasses however, you can do this with Inventory API, with the AssetType as 34 (Gamepass), provided that the Inventory of the user is public.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.