Skip to content

Latest commit

 

History

History
31 lines (28 loc) · 557 Bytes

brands-metadata.md

File metadata and controls

31 lines (28 loc) · 557 Bytes

Get Brands Metadata

  • GET /options/brands will return brands metadata, that will be used as parameter on others endpoints.
curl \
-H "username: $SMXUSER" \
-H "token: $TOKEN" \
"http://$INSTANCE.smxecho.com/ws/$INSTANCE/echo/options/brands"
[
  {
    "description": "Pepsi",
    "enabled": true,
    "color": "fa5c5c",
    "id": 2,
    "type": "BRAND",
    "display": "Pepsi"
  },
  {
    "description": "Philips",
    "enabled": true,
    "color": "72bbe3",
    "id": 1,
    "type": "BRAND",
    "display": "Philips"
  }
]