Hi,
Update:
After some reading, I’ve read that /v1/search/items/details works instead of /v2/. This example works and returns only gears:
https://catalog.roblox.com/v1/search/items/details?Category=11&Subcategory=5&CreatorTargetId=1&SortType=0&SortAggregation=5&Limit=120
It is a little bit confusing when this link for the catalog works, but the category is set to 11 (Accessories):
https://www.roblox.com/catalog?Category=11&Subcategory=5&salesTypeFilter=1
https://create.roblox.com/docs/projects/assets/api#marketplace-api example search is returning all items, when it should only be returning Gears since the SubCategory is set to 5. Setting the Category to 5 (Gears) or to 11 (Accessories) still returns as if the category was set to 1.
Its first return is a Bundle, which is not a gear:
"data": [
{
"id": 192,
"itemType": "Bundle",
"bundleType": 1,
"name": "Korblox Deathspeaker",
"description": "His tribe is widely considered the best and strongest of the twelve Korblox tribes. No one dares challenge his authority. ",
"productId": 369653841,
"itemStatus": [],
"itemRestrictions": [],
"creatorHasVerifiedBadge": true,
"creatorType": "User",
"creatorTargetId": 1,
"creatorName": "Roblox",
"price": 17000,
"favoriteCount": 2004108,
"offSaleDeadline": null,
"saleLocationType": "NotApplicable"
},
Searching for only clothing (Category=3) also returns everything:
https://catalog.roblox.com/v2/search/items/details?Category=3&CreatorTargetId=1&SortType=0&SortAggregation=5&Limit=10
Expected behavior
When searching with:
<https://catalog.roblox.com/v2/search/items/details?Subcategory=5&CreatorTargetId=1&SortType=0&SortAggregation=5&Limit=10<
It should return only what the Category and/or Subcategory is set to, and not all items uploaded by Roblox.
The current workaround is to call the endpoint several times and with the cursor filter out any assetType that is not what you want/looking for. This is not efficient as it requires several more calls just to sort out the assetType you need.
pls fix.