GetProductById
Get a single InStore product by its ID.
InvokeServer
('GetProductById'
, ProductId)
Get a single InStore product by its ID. Returns a Product object, nil
if non-existent.
Parameters
Field
Type
Description
ProductId
string
the snowflake id of the product
Example Script
local RS = game.ReplicatedStorage:WaitForChild('InStore');
local RF = RS.Function; --> The InStore RemoteFunction
local Product = RF:InvokeServer('GetProductById', '619608638377562112'); --> Product object
Last updated
Was this helpful?