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.
Retrieves a list of manufacturers.
curl –i –X GET
https://test.eyrene.com/api/v1.5/categories/
-H ‘Authorization: Token 39fbb6e9-fbf9-459a-9e1b-416dbcf51875e’
–F "limit=2" \
–F "offset=0" 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.

Сreate a new manufacturer.
curl –i –X POST
https://test.eyrene.com/api/v1.5/manufacturers/
-H ‘Authorization: Token 39fbb6e9-fbf9-459a-9e1b-416dbcf51875e’
-F "id=165168161" \
-F "name=Henkel"Retrieve detailed information about the manufacturer by ID.
curl –i –X GET
https://test.eyrene.com/api/v1.5/manufacturers/1234567890/
-H ‘Authorization: Token 39fbb6e9-fbf9-459a-9e1b-416dbcf51875e’ Response parameters​
id string
Manufacturer ID.
name string
Manufacturer name.

Update all category fields.
curl –i –X PUT
https://test.eyrene.com/api/v1.5/manufacturers/123456/
-H ‘Authorization: Token 39fbb6e9-fbf9-459a-9e1b-416dbcf51875e’
-F "id=195684" \
-F "name=BORJOMI"Response parameters​
id string
New manufacturer ID.
name string
Manufacturer's new name.

Update some of the manufacturer fields.
curl –i –X PATCH
https://test.eyrene.com/api/v1.5/manufacturers/123456/
-H ‘Authorization: Token 39fbb6e9-fbf9-459a-9e1b-416dbcf51875e’
-F "name=Aqua Minerale"Response parameters​
id string
New manufacturer ID.
name string
Manufacturer's new name.