Please add a AvatarEditorService:SearchCatalog() 'HasAvailableStock' search parameter

It’s currently not possible to get a table of only collectible/limited items that have stock available. Resales are not supported in-game and items with no remaining stock aren’t always needed when populating an in-game catalog.

Please add a parameter that lets developers specify if the results for AvatarEditorService:SearchCatalog() should return items that have no remaining stock left, or if it should only return items that are buyable to the player.

Adding something like this will cut down the amount of calls a script has to make to populate an in-game catalog as it is not returning results that the player cannot buy in-game.

1 Like

You might want to research Roblox HTTP endpoints, as it has everything you ever need.

For example:
https://inventory.roblox.com/v2/users/3605916982/inventory?assetTypes=Model&limit=100&sortOrder=Asc

Returns a table of 100 Models I own in my profile, you can get more by changing the page in the URL link.

Obviously, you cant call endpoints directly from ROBLOX so your going to have to use a proxy. In this case I use roproxy as it is reliable and free.
https://inventory.roproxy.com/v2/users/3605916982/inventory?assetTypes=Model&limit=100&sortOrder=Asc

You can research ROBLOX endpoints a little to find the specific endpoint for searching the catalog and then combine HTTPService:GetAsync() along side with the proxy (roproxy.com) to get the data you need in game.

1 Like