Skip to content

Get All Brands

This function will return a JSON array of brands, their ID, type, and an array of any varietals.

Path

https://api.b-fonline.com/api/brands

Method

GET

Parameters

None

Responses

200 - JSON array of brand objects

[
  {...},  
  {
    "id": "46",
    "name": "El Jimador",
    "type": "SPIRIT",
    "minorBrands": [
      {
        "brand_minor_id": "753",
        "brand_minor_description": "AƱejo"
      },
      {
        "brand_minor_id": "1751",
        "brand_minor_description": "Lime"
      },
      {
        "brand_minor_id": "1752",
        "brand_minor_description": "Mango"
      },
      {
        "brand_minor_id": "750",
        "brand_minor_description": "Reposado"
      },
      {
        "brand_minor_id": "752",
        "brand_minor_description": "Silver"
      }
    ]
  },
  {...}
]

Code Examples

1
2
3
curl -X GET \
https://api.b-fonline.com/api/brands \
-H 'cache-control: no-cache'