How to get CatalogId from AssetId

Hey, forum. I want to get a CatalogId from something like a PantsTemplate ID (e.g. http://www.roblox.com/asset/?id=138981718) so I can buy the shirt/pants.

Thanks in advance.

You can try to Prompt a purchase with the Id of the catalog item

1 Like

Not sure if this is how it works

game:GetService(MarketplaceService):PromptPurchase(player.UserId, Assetid) -- not sure if thats how it works