Create Bundle

create bundle

post
/v2/module/bundle/create

create bundle

Authorizations
AuthorizationstringRequired
Body
categoryIdintegerOptional

category id of bundle

coverstringOptional

cover url / color code (#000000) of bundle

descriptionstringOptional

description of bundle

moduleIdsinteger[]Optional

list course group ids in bundle

priceintegerOptional

price of bundle

slugstringOptional

slug of bundle

titlestringOptional

title of bundle

authorIdintegerOptional

author id of bundle

Responses
post
/v2/module/bundle/create
POST /v2/module/bundle/create HTTP/1.1
Host: services.alkamedia.id
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 120

{
  "categoryId": 1,
  "cover": "text",
  "description": "text",
  "moduleIds": [
    1
  ],
  "price": 1,
  "slug": "text",
  "title": "text",
  "authorId": 1
}
200

Response

{
  "data": {
    "title": "text",
    "updated_at": "text",
    "authorId": 1,
    "categoryId": 1,
    "description": "text",
    "id": 1,
    "slug": "text",
    "cover": "text",
    "created_at": "text",
    "moduleIds": [
      1
    ],
    "price": 1
  },
  "message": "success",
  "status": true
}

Last updated