---
title: "createProductBundle"
method: POST
path: "/core/api/v1/product-bundle"
tags: ["product-bundle-controller"]
---

# createProductBundle

`POST /core/api/v1/product-bundle`

## Request

- Base URL: `https://api.freshlearn.com`
- URL: `https://api.freshlearn.com/core/api/v1/product-bundle`
- Auth: none declared

## Headers

- `Authorization` string
- `domain` string
- `api-key` string

## Request body

- ProductBundleDto
  - `communityGroupIds` integer[]
  - `communityIds` integer[]
  - `courseIds` integer[]
  - `createdTime` integer
  - `description` string
  - `digitalDownloadIds` integer[]
  - `id` integer
  - `imageUrl` string
  - `masterclassIds` integer[]
  - `orderIndex` integer
  - `orderedProducts` OrderedProductDto[]
    - `displayOrder` integer
    - `productId` integer
    - `productName` string
    - `productType` 'All' | 'Course' | 'Playlist' | 'Cohort' | 'Masterclass' | 'DigitalDownload' | 'ProductBundle' | 'Community' | 'Group' | 'Collection' | 'Scorm' | 'Coaching'
  - `participantCount` integer
  - `publicView` boolean
  - `status` 'DRAFT' | 'PUBLISH'
  - `title` string

## Response `200`

OK

## Other responses

- `201`: Created
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/freshlearn/apis/freshlearn-api.md) · [All operations](https://skmtc.dev/freshlearn/apis/freshlearn-api/llms.txt) · [OpenAPI document](https://skmtc.dev/freshlearn/apis/freshlearn-api/revisions/8a82ee14b586?raw)
