You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Changes
Added/removed/moved a ton of things for GetProductInfo():
- Moved product id to product section.
- Moved IconImageAssetId to asset section.
- Removed gamepass/dev products section (these fields apply to all
products and assets not just gamepasses/dev products).
- Added seperate table for collectibles information with the appropriate
fields.
- Moved sale location information to seperate table with more
information.
- Fixed typos where "times" was instead typed as "items".
- Added TargetId to product section which wasn't present for some
reason.
With all this the page should now be consistent with the result of
[MarketplaceService:GetProductInfo()](https://create.roblox.com/docs/reference/engine/classes/MarketplaceService#GetProductInfo):

Credit to [@valkenheim](https://devforum.roblox.com/u/Valkenheim) for a
[devforum
post](https://devforum.roblox.com/t/collectiblesitemdetails-not-covered-in-documentation/3505808)
regarding the inconsistencies on this page, but this page was kind of a
mess all around.
## Checks
By submitting your pull request for review, you agree to the following:
- [x] This contribution was created in whole or in part by me, and I
have the right to submit it under the terms of this repository's open
source licenses.
- [x] I understand and agree that this contribution and a record of it
are public, maintained indefinitely, and may be redistributed under the
terms of this repository's open source licenses.
- [x] To the best of my knowledge, all proposed changes are accurate.
---------
Co-authored-by: IgnisRBX <[email protected]>
<td><code>Id</code>: Use <code>CreatorTargetId</code> instead.</td>
439
449
</tr>
440
450
</tbody>
441
451
</table>
442
452
443
-
#### Asset Information
453
+
##### Asset Information
444
454
445
455
<table size="small">
446
456
<thead>
@@ -454,13 +464,18 @@ methods:
454
464
<tr>
455
465
<td><code>AssetId</code></td>
456
466
<td>number</td>
457
-
<td>The asset ID if <code>Enum.InfoType</code> is <b>Asset</b>.</td>
467
+
<td>The asset ID if <code>Enum.InfoType</code> is <code>Asset</code>.</td>
458
468
</tr>
459
469
<tr>
460
470
<td><code>AssetTypeId</code></td>
461
471
<td>number</td>
462
472
<td>The type of asset. See <code>Enum.AssetType</code> for the asset type ID numbers.</td>
463
473
</tr>
474
+
<tr>
475
+
<td><code>IconImageAssetId</code></td>
476
+
<td>number</td>
477
+
<td>The asset ID of the product's icon, or <code>0</code> if there isn't one.</td>
478
+
</tr>
464
479
<tr>
465
480
<td><code>IsForSale</code></td>
466
481
<td>boolean</td>
@@ -484,27 +499,70 @@ methods:
484
499
<tr>
485
500
<td><code>Remaining</code></td>
486
501
<td>number</td>
487
-
<td>The remaining number of items a limited unique item may be sold.</td>
502
+
<td>The remaining number of times a limited unique item may be sold.</td>
488
503
</tr>
489
504
<tr>
490
505
<td><code>Sales</code></td>
491
506
<td>number</td>
492
-
<td>The number of items the asset has been sold.</td>
507
+
<td>The number of times the asset has been sold.</td>
508
+
</tr>
509
+
</tbody>
510
+
</table>
511
+
512
+
#### Collectibles Information
513
+
514
+
<table size="small">
515
+
<thead>
516
+
<tr>
517
+
<th>Key</th>
518
+
<th>Type</th>
519
+
<th>Description</th>
520
+
</tr>
521
+
</thead>
522
+
<tbody>
523
+
<tr>
524
+
<td><code>CollectibleItemId</code></td>
525
+
<td>string</td>
526
+
<td>The unique item ID of the collectible.</td>
527
+
</tr>
528
+
<tr>
529
+
<td><code>CollectibleProductId</code></td>
530
+
<td>string</td>
531
+
<td>The unique product ID of the collectible.</td>
493
532
</tr>
494
533
<tr>
495
-
<td><code>SaleAvailabilityLocations</code></td>
534
+
<td><code>CollectiblesItemDetails</code></td>
496
535
<td>table</td>
497
-
<td>The item's <code>Enum.ProductLocationRestriction|ProductLocationRestriction</code> or sale location setting.</td>
536
+
<td>Dictionary table of information describing the collectible, containing the following fields:</td>
498
537
</tr>
499
538
<tr>
500
-
<td><code>CanBeSoldInThisGame</code></td>
501
-
<td>boolean</td>
502
-
<td>Describes whether the asset is purchasable in the current experience.</td>
539
+
<td colspan="2"></td>
540
+
<td><code>CollectibleLowestAvailableResaleItemInstanceId</code>: The unique item instance ID of the lowest available resale for the collectible.</td>
541
+
</tr>
542
+
<tr>
543
+
<td colspan="2"></td>
544
+
<td><code>CollectibleLowestAvailableResaleProductId</code>: The unique product ID of the lowest available resale for the collectible.</td>
545
+
</tr>
546
+
<tr>
547
+
<td colspan="2"></td>
548
+
<td><code>CollectibleLowestResalePrice</code>: The lowest resale price for the collectible in Robux.</td>
549
+
</tr>
550
+
<tr>
551
+
<td colspan="2"></td>
552
+
<td><code>IsForSale</code>: Boolean of whether the collectible is available for sale (not resale).</td>
553
+
</tr>
554
+
<tr>
555
+
<td colspan="2"></td>
556
+
<td><code>IsLimited</code>: Boolean of whether or not the collectible is limited.</td>
557
+
</tr>
558
+
<tr>
559
+
<td colspan="2"></td>
560
+
<td><code>TotalQuantity</code>: The total quantity of the collectible available for purchase (not resale).</td>
503
561
</tr>
504
562
</tbody>
505
563
</table>
506
564
507
-
#### Developer Products and Passes
565
+
##### Sale Location Settings
508
566
509
567
<table size="small">
510
568
<thead>
@@ -516,15 +574,24 @@ methods:
516
574
</thead>
517
575
<tbody>
518
576
<tr>
519
-
<td><code>ProductId</code></td>
520
-
<td>number</td>
521
-
<td>The product ID if <code>Enum.InfoType</code> is <b>Product</b>.</td>
577
+
<td><code>CanBeSoldInThisGame</code></td>
578
+
<td>boolean</td>
579
+
<td>Describes whether the asset is purchasable in the current experience.</td>
522
580
</tr>
523
-
<tr>
524
-
<td><code>IconImageAssetId</code></td>
525
-
<td>number</td>
526
-
<td>The asset ID of the product/pass icon, or <code>0</code> if there isn't one.</td>
581
+
<tr>
582
+
<td><code>SaleLocation</code></td>
583
+
<td>table</td>
584
+
<td>Dictionary table of information describing where the item can be sold, containing the following fields:</td>
527
585
</tr>
586
+
<tr>
587
+
<td colspan="2"></td>
588
+
<td><code>SaleLocationType</code>: The type of sale location setting. See <code>Enum.ProductLocationRestriction</code> for the sale location setting ID numbers.</td>
589
+
</tr>
590
+
<tr>
591
+
<td colspan="2"></td>
592
+
<td><code>UniverseIds</code>: Array table of universes in which the item can be sold (not currently implemented).</td>
0 commit comments