Skip to content

Get category groups​

GET
/api/v2/category-groups

Returns a list of category groups

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Responses​

Category group list

application/json
JSON
{
  
"count": 10,
  
"totalCount": 25,
  
"limit": 50,
  
"offset": 25,
  
"data": [
  
]
}

Playground​

Authorization

Samples​


Create a new category group​

POST
/api/v2/category-groups

Create category group

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
{
  
"title": "Category Group A"
}

Responses​

Created category group object

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Body

Samples​


Get category group by ID​

GET
/api/v2/category-groups/{id}

Returns a single category group

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

Category Group Id

Type
integer
Required
Format
"int64"

Responses​

Category group object

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value

Samples​


Delete a category group​

DELETE
/api/v2/category-groups/{id}

Delete a category group

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

Category Group Id

Type
integer
Required
Format
"int64"

Responses​

Category group deleted successfully

Playground​

Authorization
Variables
Key
Value

Samples​


Update a category group​

PATCH
/api/v2/category-groups/{id}

Update an existing category group

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

Category Group Id

Type
integer
Required
Format
"int64"

Request Body​

application/json
JSON
{
  
"title": "Category Group A"
}

Responses​

Updated category group object

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Powered by VitePress OpenAPI