Edit Bundle

edit bundle

post
/v2/module/bundle/edit

edit bundle

Authorizations
AuthorizationstringRequired
Query parameters
slugstringOptional

slug of bundle

Body
slugstringOptional

slug of bundle

titlestringOptional

title of bundle

authorIdintegerOptional

author id of bundle

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

Responses
200

Response

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

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

Response

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

Last updated