Variable getUsersUseridInventoryConst
getUsersUseridInventory: EndpointGeneric<{ assetTypes: {}[]; cursor: undefined | string; filterDisapprovedAssets: undefined | boolean; limit: | undefined | 10 | 25 | 50 | 100; showApprovedOnly: undefined | boolean; sortOrder: undefined | "Asc" | "Desc"; userId: number; }, { data: { assetId: number; assetType: | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 | 18 | 19 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82; created: string; name: string; }[]; nextPageCursor: string; previousPageCursor: string; }, any> = ...
Api
GET https://inventory.roblox.com/v2/users/:userId/inventory
Summary
Get user's inventory by multiple Roblox.Platform.Assets.AssetType.
Param: userId
The inventory owner's userId.
Param: assetTypes
The asset types to query.
Param: filterDisapprovedAssets
Filters moderated assets when enabled.
Param: showApprovedOnly
Filters moderated assets and assets pending review when enabled.
Param: limit
The number of results per request.
Param: cursor
The paging cursor for the previous or next page.
Param: sortOrder
The order the results are sorted in.
Description
GamePass and Badges not allowed.