Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GET brands/

Info
iconfalse

Returns Retrieves the list of all account brands of the account

...


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
languagebash
themeDarkula
curl -XGET "[endpoint]/brands/" -H "TokenAPI: [your_token]"

...

Paste code macro
languagejson
themeDarkula
{
    "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
languagebash
themeDarkula
curl -XGET "[endpoint]/brands/?rival=true" -H "TokenAPI: [your_token]"

...