What Shopify says about barcodes
Shopify's Optimizing products for Shopify Catalog doc names barcode as the fifth of seven product fields AI platforms consider, with the qualifier 'ISBN, UPC, GTIN, etc.' The Catalog itself uses barcode data to match products across channels, retailers, and AI shopping engines. A correctly-set GTIN turns the product from a one-off SKU in your store into a globally-identified entity that ChatGPT shopping, Perplexity, Gemini, Google Merchant Center, and Bing Shopping can recognize as the same product.
The barcode is Shopify's cross-channel identifier. It is also the field most commonly left blank on small Shopify catalogs — partly because manual product imports skip it, partly because manufacturer-supplied product data doesn't always include the GTIN. The blank-barcode silent failure (covered below) is the single most common Catalog readiness gap on stores with imported products.
§ 01 Matrix
The identifier matrix by product type
Different product types use different GTIN formats. The Shopify barcode field accepts any of them — the format is determined by the product, not by Shopify. Choose the right format for the product type to avoid mismatches in Google Merchant Center, Shopify Catalog, and AI shopping engines.
| Format | Digits | Use case | Example product |
| GTIN-12 (UPC-A) | 12 | Retail products in North America | US-sold consumer goods, US-distributed supplements |
| GTIN-13 (EAN-13) | 13 | Retail products in Europe, UK, most non-US markets | EU-distributed apparel, UK-distributed books (non-ISBN) |
| GTIN-8 (EAN-8) | 8 | Small retail products with limited package space | Cosmetic samples, small candy bars |
| GTIN-14 (ITF-14) | 14 | Outer packs and cases — wholesale shipping units | Case of 12 supplements (different GTIN from each bottle) |
| ISBN-13 | 13 | Books and book-like products | Published books, audiobooks, digital books |
| ISBN-10 | 10 | Books published before 2007 | Legacy book inventory |
| ASIN | 10 | Amazon-internal identifier (not a true GTIN) | Amazon-only listings — not interchangeable with retail GTINs |
Shopify Catalog accepts GTIN-8, GTIN-12, GTIN-13, GTIN-14, and ISBN in the barcode field. ASIN is Amazon-specific and not a GTIN equivalent — don't use ASIN as the Shopify barcode value for cross-channel listings unless you accept that the product won't match outside Amazon.
§ 02 Where
Where the barcode field lives
The barcode field is per-variant, not per-product. Open a product; scroll to Variants; click into a specific variant; the Barcode field is under Inventory. Each variant has its own barcode because each SKU is a separately-identifiable product to retailers, scanners, and AI agents. A linen Roman shade in three colors has three barcodes (one per color variant); a candle in two sizes has two barcodes.
On single-variant products (Default Title only), the barcode field is still per-variant — you set it on the one variant. Shopify's CSV import accepts the barcode in the Variant Barcode column. Bulk barcode entry is one of the most common cases for using the CSV export/import flow — export the product list, fill in barcodes in a spreadsheet, re-import.
§ 03 Failure
The blank-barcode silent failure
A blank barcode does not cause an error in Shopify admin. The product saves fine, displays fine on the storefront, and even gets indexed by Google for organic search. The failure is in Shopify Catalog matching and AI shopping recognition. Without a barcode, the product cannot be matched to retailer feeds, cannot be cross-referenced with manufacturer databases, and shows up to AI engines as a generic SKU rather than a globally-identified product.
§ 04 GS1
Sourcing original GTINs from GS1
GS1 is the authoritative international issuer of GTINs. Brands selling original products (private label, in-house manufacturing) must register with their national GS1 organization (GS1 US, GS1 UK, GS1 Germany, etc.) to obtain a company prefix. The company prefix is the first 6-10 digits of every GTIN the brand issues; the remaining digits are the brand's internal product identifier, plus a final check digit calculated from the rest.
Cost: GS1 membership is annual and varies by region and product volume — expect $30-$250 per year for small catalogs, up to $2,000+ for large catalogs. The investment is required for legitimate retail distribution — major retailers (Amazon, Walmart, Target, supermarkets) verify GTINs against the GS1 registry and reject mismatched ones. AI shopping engines do not currently verify against the registry as strictly, but the consistency of using real GTINs vs invented ones matters for matching accuracy across surfaces.
§ 05 Special cases
Special cases — private label, custom-made, digital products
Three product categories have legitimate non-standard barcode handling. Private label products use the reseller's GS1 prefix (the reseller is the brand of record). Custom-made products (made-to-order furniture, custom apparel) often don't have GTINs because each unit is unique — Shopify Catalog accepts these with a blank barcode and uses other signals for matching. Digital products (downloads, software, ebooks) use ISBN if applicable (digital books) or don't need a barcode at all (digital art, software downloads).
For dropship products carrying the manufacturer's brand, the barcode is the manufacturer's GTIN — copy it from the manufacturer's product data (most manufacturer feeds include the GTIN; if not, the GTIN is printed on the physical product packaging). For dropship products under your private label (you re-brand a manufacturer product), the barcode is your own GS1-issued GTIN, even if the manufacturer is the source of the physical product. The brand of record is the legal seller, and the GTIN follows the brand.
The schema-side mirror: Shopify themes emit Product schema with a gtin field that pulls from the barcode4. A correctly-set barcode flows into the JSON-LD on every PDP, which Google reads for rich results and which AI agents read as part of the structured-data signal. The single barcode field on the variant therefore feeds three surfaces at once: Shopify Catalog, Google Merchant Center, and Schema.org Product output.