GET /manufacturers
Returns a list of manufacturers.
Address: GET https://instance_name/api/data/v1.3/manufacturers/
Content-type: application/json
Request body parameters
limit
integer
Number of results to return per page.
offset
integer
The initial index from which to return the results.
Request example
curl –i –X GET
https://test.inspector-cloud.com/api/data/v1.0/manufacturers/
-H ‘Authorization: Token <<your_token>>’
Response example
Response code: 200
{
"count": 75,
"next": "https://test.inspector-cloud.com/api/data/v1.3/manufacturers/?limit=30&offset=30",
"previous": null,
"results": [
{
"id": 15,
"name": "L'OREAL"
},
{
"id": 17,
"name": "Matrix"
},
{
"id": 18,
"name": "Rusholts"
},
{
"id": 19,
"name": "PepsiCo"
},
{
"id": 21,
"name": "Henkel"
},
{
"id": 22,
"name": "NESTLE"
},
{
"id": 25,
"name": "HEINZ"
},
{
"id": 27,
"name": "MD"
}
...
]
}
Response definitions
count
integer
next
string (uri) Nullable
Next page.
previous
string (uri) Nullable
Previous page.
results
Array of objects
Required. Array of objects with information about manufacturer.
id
integer
ID of the product manufacturer.
name
string [ 1 .. 255 ] characters