Skip to main content
GET
/
brands
Listagem das Marcas
curl --request GET \
  --url https://homolog.clubfix.com.br/webservice/brands \
  --header 'Authorization: <authorization>'
{
  "data": [
    {
      "id": 1,
      "name": "Alcatel",
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/brands/1"
      }
    },
    {
      "id": 2,
      "name": "Apple",
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/brands/2"
      }
    },
    {
      "id": 3,
      "name": "Huawei",
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/brands/3"
      }
    },
    {
      "id": 4,
      "name": "LG",
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/brands/4"
      }
    },
    {
      "id": 5,
      "name": "Motorola",
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/brands/5"
      }
    },
    {
      "id": 6,
      "name": "Samsung",
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/brands/6"
      }
    },
    {
      "id": 7,
      "name": "Sony",
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/brands/7"
      }
    }
  ],
  "links": {
    "first": "https://homolog.clubfix.com.br/webservice/brands?page=1",
    "last": "https://homolog.clubfix.com.br/webservice/brands?page=1",
    "prev": null,
    "next": null
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 1,
    "links": [
      {
        "url": null,
        "label": "&laquo; Anterior",
        "active": false
      },
      {
        "url": "https://homolog.clubfix.com.br/webservice/brands?page=1",
        "label": "1",
        "active": true
      },
      {
        "url": null,
        "label": "Próxima &raquo;",
        "active": false
      }
    ],
    "path": "https://homolog.clubfix.com.br/webservice/brands",
    "per_page": 15,
    "to": 7,
    "total": 7
  }
}
Authorization
string
required
Token de autenticação do tipo Bearer obtido através do endpoint de login.

Headers

Authorization
string
required

Query Parameters

page
string
per_page
string

Response

200 - application/json

List brands Response

data
object[]
meta
object