Hi Knight, thanks for catching this! Since the example on the doc page is about fetching a developer product and not a pass, I’m updating the code snippet to look like this:
local productInfo = MarketplaceService:GetProductInfo(PRODUCT_ID, Enum.InfoType.Product)
local price = productInfo.PriceInRobux
You’d use Enum.InfoType.GamePasses to fetch a pass, or leave it blank to fetch an asset (which is the default value). I’ll call this out on the page to avoid confusion in the future. The doc updates should be live soon