website logo
⌘K
🚀Welcome to Eyrene
🎉What's New
😎Tutorials
📱Mobile App
💻Web Portal
🔌API
Docs powered by archbee 

Categories

Methods allow you to get a complete list or a specific category in Eyrene, view information about them, update all fields, or only select category fields.

GET /сategories

Retrieves a list of categories.

Get a cake by its ID
GET
Params
Body Parameters
id
required
String
ID of the cake to get
Curl
|
RESPONSES
200
|

Response parameters​

count integer

The number of categories.

next string (uri) Nullable

Next page.

previous string (uri) Nullable

Previous page.

results array of objects

An array of objects with information about categories:

  • id string Category ID.
  • name string Category name.

POST /сategories

Сreate a new category.

Get a cake by its ID
GET
Params
Body Parameters
id
required
String
ID of the cake to get
Curl
|
RESPONSES
201
|

GET /сategories/{id}

Retrieve detailed information about a category by ID.

Get a cake by its ID
GET
Params
Body Parameters
id
required
String
ID of the cake to get
Curl
|
RESPONSES
200
|

Response parameters​

id string

Category ID.

name string

Category name.



PUT /сategories/{id}

Update all category fields.

Get a cake by its ID
GET
Params
Body Parameters
id
required
String
ID of the cake to get
Curl
|
RESPONSES
200
|

Response parameters​

id string

New category ID.

name string

Category new name.



PATCH /сategories/{id}

Update some of the category fields.

Get a cake by its ID
GET
Params
Body Parameters
id
required
String
ID of the cake to get
Curl
|
RESPONSES
200
|

Response parameters​

id string

New category ID.

name string

Category new name.



Updated 14 Apr 2022
Did this page help you?
Yes
No
UP NEXT
Manufacturers
Docs powered by archbee 
Request example
TABLE OF CONTENTS
GET /сategories
GET
Request example
Response parameters​
POST /сategories
POST
Request example
GET /сategories/{id}
GET
Request example
Response parameters​
PUT /сategories/{id}
PUT
Request example
Response parameters​
PATCH /сategories/{id}
PATCH
Request example
Response parameters​