GET brands/
...
icon | false |
---|
...
Retrieves the list of all account brands
...
List of parameters
Parameter list
Parameter | Type | Description | Mandatory |
---|---|---|---|
rival |
booelan
Send competitor’s brands only or your own brands only
нет
...
boolean | to give only competitor brands or only own brands | нет |
Request example:
Paste code macro | ||||
---|---|---|---|---|
| ||||
curl -XGET "[endpoint]/brands/" -H "TokenAPI: [your_token]" |
...
Paste code macro | ||||
---|---|---|---|---|
| ||||
{ "brands": [ { "name": "Benefit", "rival": true }, { "name": "Biotherm", "rival": true }, { "name": "Bobbi Brown", "rival": false }, { "name": "Clarins", "rival": true }, { "name": "Clinique", "rival": false }, { "name": "Darphin", "rival": false }, { "name": "Dior", "rival": true } ] } |
Example of a requestRequest example:
Paste code macro | ||||
---|---|---|---|---|
| ||||
curl -XGET "[endpoint]/brands/?rival=true" -H "TokenAPI: [your_token]" |
...