# Barcode

Stockeo allows you to update variant barcodes. Barcodes can also be used as an alternative variant identifier when product SKUs are not available in the feed or when SKUs from the feed do not match those in Shopify.

To use barcodes as the variant ID, add the **Barcode** field to the **Data Mapping** section. Then click the gear icon next to the field and enable **Use as variant ID**.

<figure><img src="/files/al7c3aEc3ydSu47OOn8i" alt="Animation showing how to add the Barcode field in Stockeo Data Mapping and enable the “Use as variant ID” option"><figcaption><p>Setting a barcode as an alternative variant ID in Stockeo</p></figcaption></figure>

Once this is done, remove the SKU field from the Data Mapping section.

<figure><img src="/files/ejKYudY3Sst6jp5iosXL" alt="Stockeo Data Mapping section showing the SKU field being removed after setting an alternative variant identifier"><figcaption><p>Removing the SKU field from the Data Mapping section in Stockeo</p></figcaption></figure>

You can also use [metafields](/data-mapping/metafields.md) to identify variants in Shopify.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.stockeo.solvenium.com/data-mapping/barcode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
