API
Data API
Brands
Methods allow you to get a list of portal brands or information on a specific brand.

Return a list of brands.
Request example
GET /brands
GET
https://instance_name/api/data/v1.0/brands/
curl –i –X GET
https://test.eyrene.com/api/data/v1.0/brands/
-H ‘Authorization: Token 39fbb6e9-fbf9-459a-9e1b-416dbcf51875e’
–F "limit=30" \
–F "offset=30" 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 integer Brand ID.
- name string [ 1 .. 255 ] characters Brand name.



Return information about the brand by ID.
Request example
GET /brand/{id}
GET
https://instance_name/api/data/v1.0/brand/{id}
curl –i –X GET
https://test.eyrene.com/api/data/v1.0/brands/19765/
-H ‘Authorization: Token 39fbb6e9-fbf9-459a-9e1b-416dbcf51875e’
–F "limit=3" \
–F "offset=0" Response parameters​

id integer
Brand ID.

name string [ 1 .. 255 ] characters
Brand name.