Brands
Methods allow you to get a complete list or a specific brand in Eyrene, view information about them, update all fields, or only select brand fields.
GET /brands
Retrieves a list of brands.
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 brands.
next string (uri) Nullable
Next page.
previous string (uri) Nullable
Previous page.
results array of objects
An array of objects with information about brands:
- id string Brand ID.
- name string Brand name.
POST /brands
Сreate a new brand.
Get a cake by its ID
GET
Params
Body Parameters
id
required
String
ID of the cake to get
Curl
|
RESPONSES
201
|
GET /brands/{id}
Retrieve detailed information about a brand 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
Brand ID.
name string
Brand name.
PUT /brands/{id}
Update all brand 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 brand ID.
name string
Brand new name.
PATCH /brands/{id}
Update some of the fields in the brand.
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 brand ID.
name string
Brand new name.