Classic APIs
ClassicCatalogApi
authedUserCreateBundleFavorite

authedUserCreateBundleFavorite

Favorites a specific bundle for the authenticated user.

Parameters

NameTypeDescription
userIdUserIdThe ID of the authenticated user.
bundleIdAssetIdThe ID of the bundle to create favorite for.

Example

const { data: favorite } = await ClassicCatalogApi.authedUserCreateBundleFavorite({ userId: 45348281, bundleId: 429 }); 

Endpoint

POST /v1/favorites/users/{userId}/bundles/{bundleId}/favorite