API
Image Recognition API
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 /manufacturers
GET
Request
Header Parameters
Authorization
required
String
String in "Token XXXXXX..." format.
Body Parameters
limit
optional
String
The number of results to return per page.
offset
optional
String
The initial index from which to return the results.
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.
POST /manufacturers
POST
Request
Header Parameters
Authorization
required
String
String in "Token XXXXXX..." format.
Body Parameters
id
optional
String
Manufacturer ID.
name
optional
String
Manufacturer name.
GET /manufacturers/{id}
Retrieve detailed information about the manufacturer by ID.
GET /manufacturers/{id}
GET
Request
Path Params
id
required
String
Category ID.
Header Parameters
Authorization
required
String
String in "Token XXXXXX..." format.
Response parameters
id string
Manufacturer ID.
name string
Manufacturer name.
PUT /manufacturers/{id}
Update all category fields.
PUT /manufacturers/{id}
PUT
Request
Path Params
id
required
String
Category ID.
Header Parameters
Authorization
required
String
String in "Token XXXXXX..." format.
Body Parameters
id
optional
String
New manufacturer ID.
name
optional
String
Manufacturer new name.
Response parameters
id string
New manufacturer ID.
name string
Manufacturer's new name.
PATCH /manufacturers/{id}
Update some of the manufacturer fields.
PATCH /manufacturers/{id}
PATCH
Request
Path Params
id
required
String
Category ID.
Header Parameters
Authorization
required
String
String in "Token XXXXXX..." format.
Body Parameters
id
optional
String
New manufacturer ID.
name
optional
String
Manufacturer new name.
Response parameters
id string
New manufacturer ID.
name string
Manufacturer's new name.