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