diff --git a/content/en-us/reference/engine/classes/MarketplaceService.yaml b/content/en-us/reference/engine/classes/MarketplaceService.yaml index 6dcc6a455..bf02e491a 100644 --- a/content/en-us/reference/engine/classes/MarketplaceService.yaml +++ b/content/en-us/reference/engine/classes/MarketplaceService.yaml @@ -368,6 +368,16 @@ methods: number The cost of purchasing the asset using Robux. + + ProductId + number + The product ID if Enum.InfoType is Product. + + + ProductType + string + A string describing what the product is. Not to be confused with Enum.MarketplaceProductType. + Created string @@ -393,10 +403,15 @@ methods: boolean Describes whether the asset can be taken for free. + + TargetId + number + The ID of the product or asset. + - #### Creator Information + ##### Creator Information @@ -410,37 +425,32 @@ methods: - + - - - - + + + - - - - + + + - - - + + - - - - + + + - - - - + + +
Creator tableDictionary table of information describing the creator of the asset (see following lines).Dictionary table of information describing the creator of the asset, containing the following fields:
Creator.CreatorTypestringEither User or Group.
CreatorType: Either User or Group.
Creator.CreatorTargetIdnumberThe ID of the creator user or group.
CreatorTargetId: The ID of the creator user or group.
Creator.HasVerifiedBadgebooleanWhether the creator has a verified badge.HasVerifiedBadge: Boolean of whether the creator has a verified badge.
Creator.NamestringThe name/username of the creator.
Name: The name/username of the creator.
Creator.IdnumberUse Creator.CreatorTargetId instead.
Id: Use CreatorTargetId instead.
- #### Asset Information + ##### Asset Information @@ -454,13 +464,18 @@ methods: - + + + + + + @@ -484,27 +499,70 @@ methods: - + - + + + +
AssetId numberThe asset ID if Enum.InfoType is Asset.The asset ID if Enum.InfoType is Asset.
AssetTypeId number The type of asset. See Enum.AssetType for the asset type ID numbers.
IconImageAssetIdnumberThe asset ID of the product's icon, or 0 if there isn't one.
IsForSale boolean
Remaining numberThe remaining number of items a limited unique item may be sold.The remaining number of times a limited unique item may be sold.
Sales numberThe number of items the asset has been sold.The number of times the asset has been sold.
+ + #### Collectibles Information + + + + + + + + + + + + + + + + + + + - + - + - - - + + + + + + + + + + + + + + + + + + + + + +
KeyTypeDescription
CollectibleItemIdstringThe unique item ID of the collectible.
CollectibleProductIdstringThe unique product ID of the collectible.
SaleAvailabilityLocationsCollectiblesItemDetails tableThe item's Enum.ProductLocationRestriction|ProductLocationRestriction or sale location setting.Dictionary table of information describing the collectible, containing the following fields:
CanBeSoldInThisGamebooleanDescribes whether the asset is purchasable in the current experience.CollectibleLowestAvailableResaleItemInstanceId: The unique item instance ID of the lowest available resale for the collectible.
CollectibleLowestAvailableResaleProductId: The unique product ID of the lowest available resale for the collectible.
CollectibleLowestResalePrice: The lowest resale price for the collectible in Robux.
IsForSale: Boolean of whether the collectible is available for sale (not resale).
IsLimited: Boolean of whether or not the collectible is limited.
TotalQuantity: The total quantity of the collectible available for purchase (not resale).
- #### Developer Products and Passes + ##### Sale Location Settings @@ -516,15 +574,24 @@ methods: - - - + + + - - - - + + + + + + + + + + + + +
ProductIdnumberThe product ID if Enum.InfoType is Product.CanBeSoldInThisGamebooleanDescribes whether the asset is purchasable in the current experience.
IconImageAssetIdnumberThe asset ID of the product/pass icon, or 0 if there isn't one.
SaleLocationtableDictionary table of information describing where the item can be sold, containing the following fields:
SaleLocationType: The type of sale location setting. See Enum.ProductLocationRestriction for the sale location setting ID numbers.
UniverseIds: Array table of universes in which the item can be sold (not currently implemented).
code_samples: - MarketplaceService-GetProductInfo1