Skip to main content

Main Category

This service is used to list all main categories.

Warning

An example is provided in the Response section. Please note that this example data may not include all fields and is intended for illustrative purposes only.

Request

curl --location --request GET '<BASE_URL>/main-categories'
--header 'Content-Type: application/json'
--header 'Authorization: <jwtToken>'

Response

[
{
"id": 4,
"name": "Aksesuar & Çanta"
},
{
"id": 1,
"name": "Elektronik"
},
{
"id": 2,
"name": "Ev & Mobilya"
},
{
"id": 5,
"name": "Kırtasiye Ofis Malzemeleri"
}
]