Hello, I’m making a game called Gamepass Checker. But, for some reasons when I try to get sales of a gamepass; it returns as 0 even if a lot of people have bought it.
local market = game:GetService("MarketplaceService")
local infos = market:GetProductInfo(3799308,Enum.InfoType.GamePass)
local sales = infos.PriceInRobux print(infos.Sales)
I forget where I saw this, but I’m pretty sure you can only get the sales of an item now if it was created by you. I wanted to confirm this, so I tried the following:
-- gamepass i didnt create
local market = game:GetService("MarketplaceService")
local infos = market:GetProductInfo(3196348,Enum.InfoType.GamePass)
print(infos.Sales) --> output was 0. this is literally an adopt me gamepass, i would assume more than 0 people bought it.
-- gamepass i created
local market = game:GetService("MarketplaceService")
local infos = market:GetProductInfo(12069171,Enum.InfoType.GamePass)
print(infos.Sales) --> output was 204.
Try this for a gamepass you created and let me know if it works for you.
You’ll notice that the sales here are completley missing, when I remember very vividly you used to be able to get ‘purchaseCount’ here. The documentation to my knowledge still says you can, but as you can clearly see it’s nowhere to be found in the response.