How would I get the creator of an item if I have the item Id?

I have an t-shirts ID and I was wondering if there was a way to get the creator of that t-shirts name? Thanks for any help

1 Like
local MarketplaceService = game:GetService("MarketplaceService")

type creator = {CreatorTargetId: number, CreatorType: string, 
	HasVerifiedBadge: boolean, Id: number, Name: string}

local function getItemCreator(id: number): creator
	local info = MarketplaceService:GetProductInfo(id)
	return info.Creator
end

local id = 0 --set this to your item id
local creator = getItemCreator(id)
print(creator.Name)
2 Likes

Go to the Catalog and click on any item. Then in the URL line (up top) replace the number you see with the ID number you have and hit return. It should take you right to that item.

1 Like

This’s scripting support, not website one…

1 Like

Had no clue you could do that via script … sweet.
My post and Nyrion’s post replied at the same time.

2 Likes