Classic APIs
ClassicCatalogApi
bundlesOfTypeOwnedByUser

bundlesOfTypeOwnedByUser

Gets bundles of a specific type owned by a specified user.

Parameters

NameTypeDescription
userIdIdentifierThe ID of the user to get owned bundles for.
bundleTypeTypeThe type of bundles to return.
limit?10 | 25 | 50 | 100The number of results to be returned per request.
sortOrder?SortOrderThe order that the results are sorted in.
cursor?stringThe paging cursor for the previous or next page.

Example

const { data: bundles } = await ClassicCatalogApi.bundlesOfTypeOwnedByUser({
  userId: 45348281,
  bundleType: "BodyParts",
}); 

Example Data

[
  {
    id: 2043,
    name: "Billy",
    bundleType: "BodyParts",
    creator: {
      id: 1755732316,
      name: "mPhase",
      type: "User",
      hasVerifiedBadge: true,
    },
  },
  {
    id: 942,
    name: "Gil by Guilded",
    bundleType: "BodyParts",
    creator: {
      id: 1,
      name: "Roblox",
      type: "User",
      hasVerifiedBadge: true,
    },
  },
  {
    id: 573,
    name: "Oliver",
    bundleType: "BodyParts",
    creator: {
      id: 1,
      name: "Roblox",
      type: "User",
      hasVerifiedBadge: true,
    },
  },
  {
    id: 572,
    name: "Summer",
    bundleType: "BodyParts",
    creator: {
      id: 1,
      name: "Roblox",
      type: "User",
      hasVerifiedBadge: true,
    },
  },
  {
    id: 239,
    name: "Woman",
    bundleType: "BodyParts",
    creator: {
      id: 1,
      name: "Roblox",
      type: "User",
      hasVerifiedBadge: true,
    },
  },
  {
    id: 510,
    name: "Eleven’s Mall Outfit",
    bundleType: "BodyParts",
    creator: {
      id: 1,
      name: "Roblox",
      type: "User",
      hasVerifiedBadge: true,
    },
  },
  {
    id: 502,
    name: "FC Barcelona: Elite Playmaker",
    bundleType: "BodyParts",
    creator: {
      id: 1,
      name: "Roblox",
      type: "User",
      hasVerifiedBadge: true,
    },
  },
  {
    id: 504,
    name: "FC Barcelona: Elite Striker",
    bundleType: "BodyParts",
    creator: {
      id: 1,
      name: "Roblox",
      type: "User",
      hasVerifiedBadge: true,
    },
  },
  {
    id: 364,
    name: "NFL Super Bowl LIII – Los Angeles Rams",
    bundleType: "BodyParts",
    creator: {
      id: 1,
      name: "Roblox",
      type: "User",
      hasVerifiedBadge: true,
    },
  },
  {
    id: 394,
    name: "Simple Robo",
    bundleType: "BodyParts",
    creator: {
      id: 1,
      name: "Roblox",
      type: "User",
      hasVerifiedBadge: true,
    },
  },
] 

Endpoint

GET /v1/users/{userId}/bundles/{bundleType}