AssetService:GetBundleDetailsAsync() does not return enough information

I’m not sure if this should be listed as a bug or a feature because this is pretty limiting compared to other asset types.

print(game.AssetService:GetBundleDetailsAsync(13))

returns

{
    ["BundleType"] = "BodyParts",
    ["Description"] = "His aim is true and his cause is just, evil-doers best beware. The Red Dread Knight seeks to vanquish those with dark desires. Get this item when you redeem a $50 Roblox card from Walmart in May 2018.",
    ["Id"] = 13,
    ["Items"] = {...},
    ["Name"] = "Red Dread Knight"
}

This is simply not enough information (for example, there is no way to get the price of a bundle via current Lua API). This method should mirror that of the GetBundleDetails Web API, which returns Bundle info as well as Creator info, and Product info, just like other asset types.

On the contrary, this is what the Web API returns (and what the Lua API should reflect)

{
  "id": 13,
  "name": "Red Dread Knight",
  "description": "His aim is true and his cause is just, evil-doers best beware. The Red Dread Knight seeks to vanquish those with dark desires. Get this item when you redeem a $50 Roblox card from Walmart in May 2018.",
  "bundleType": "BodyParts",
  "items": [
    {
      "owned": false,
      "id": 1694621060,
      "name": "Red Dread Knight's Helm",
      "type": "Asset"
    },
    {
      "owned": false,
      "id": 1694623317,
      "name": "Red Dread Knight's Sword",
      "type": "Asset"
    },
    {
      "owned": false,
      "id": 1694634304,
      "name": "Red Dread Knight Left Arm",
      "type": "Asset"
    },
    {
      "owned": false,
      "id": 1694637312,
      "name": "Red Dread Knight Right Arm",
      "type": "Asset"
    },
    {
      "owned": false,
      "id": 1694638995,
      "name": "Red Dread Knight Left Leg",
      "type": "Asset"
    },
    {
      "owned": false,
      "id": 1694641120,
      "name": "Red Dread Knight Right Leg",
      "type": "Asset"
    },
    {
      "owned": false,
      "id": 1694642503,
      "name": "Red Dread Knight Torso",
      "type": "Asset"
    },
    {
      "id": 132923180,
      "name": "Red Dread Knight",
      "type": "UserOutfit"
    }
  ],
  "creator": {
    "id": 1,
    "name": "ROBLOX",
    "type": "User"
  },
  "product": {
    "id": 369653636,
    "type": "productType",
    "isPublicDomain": false,
    "isForSale": false,
    "priceInRobux": null,
    "isFree": true,
    "noPriceText": "Offsale"
  }
}
3 Likes

When AvatarEditorService is released it will provide more bundle details through the GetItemDetails method. e.g

print(game.AvatarEditorService:GetItemDetails(13, Enum.AvatarItemType.Bundle))
10 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.