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

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
Params
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
Params
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
Params
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
Params
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
Params
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.









Updated 14 Apr 2022
Did this page help you?
Yes
No
PREVIOUS
Categories
NEXT
SKU
Docs powered by archbee 
Request example