# Barcode Search

{% hint style="warning" %}
Please refer to the new [Branded Foods Search](https://docs.suggestic.com/graphql/query/search/branded-foods-search#get-the-list-of-milk-recipes-with-a-specific-barcode) section for an updated and improved way of searching for branded foods using barcodes.
{% endhint %}

Use `barcodeSearch` to find products by their barcode.

### Required Argument

| Argument  | Type   | Description    |
| --------- | ------ | -------------- |
| `barcode` | String | Barcode number |

### **Available Fields**

| Field         | Type     | Description               |
| ------------- | -------- | ------------------------- |
| `name`        | `String` | Product name              |
| `displayName` | `String` | Product display name      |
| `brand`       | `String` | Name of the product brand |

{% tabs %}
{% tab title="Query" %}

```graphql
{
  barcodeSearch(barcode: "8024370054144") {
    name
    displayName
    brand
  }
}
```

{% endtab %}

{% tab title="Response" %}

```graphql
{
  "data": {
    "barcodeSearch": {
      "name": "Cracker Riso su riso Galbusera",
      "displayName": "Cracker Riso su riso Galbusera",
      "brand": "Galbusera"
    }
  }
}
```

{% endtab %}
{% endtabs %}
