Skip to content

Brand

Display all brands

{{base_url}}/brand
Scheme
{
    "status": boolean,
    "message": string,
    "data": [
        {
            "id": integer,
            "name": string,
            "description": string,
            "logo": string
        },
        ...
    ]
}

Product per brand

{{base_url}}/v2/product/brand/{brand_id}
query desc
page display products in page
per_page display products per page (default 10)
Scheme
{
  "status": boolean,
  "message": string,
  "data": {
    "per_page": integer,
    "has_next_page": boolean,
    "page": integer,
    "data": [
      {
        "id": integer,
        "name": string,
        "price": float,
        "category": {
          "id": integer,
          "name": string
        },
        "brand": {
          "id": integer,
          "name": string,
          "logo": string
        },
        "image": string,
        "promoted": boolean
      },
      ...
    ]
  }
}