Brief
Shopify variants can now hold multiple barcodes
Shopify's developer changelog says product variants now support multiple barcodes, with up to 20 per variant and optional type validation.
Shopify's developer changelog says variants now support multiple barcodes. A variant can hold up to 20 barcodes, each up to 255 characters. Each barcode can declare a type: UPC, EAN, ISBN, GTIN, or ASIN. If no type is declared, the value is stored exactly as sent. The first barcode you send is what the existing barcode field returns. Sending barcodes replaces the variant's entire set, so include the barcodes you want to keep. ProductVariant.barcode is deprecated but still works.
Our reading
Our reading is that small teams using Shopify should audit how they store extra identifiers, because bulk barcode writes now replace the whole set rather than updating one field.
Source details and supporting facts
Each line is stated by the page named above it.
Stated by shopify.dev
- Variants now support multiple barcodes
- A variant accepts up to 20 barcodes, each up to 255 characters.
- Each barcode can declare a type: UPC, EAN, ISBN, GTIN, or ASIN.
- Sending barcodes replaces the variant's entire set, so include the barcodes you want to keep.
- ProductVariant.barcode is now deprecated, but nothing breaks today and barcode keeps working.
Sources
- Shopify developer changelogText stored 16 September 2026
How this story was checked. Written from the 1 page listed above, stored 16 September 2026; claims checked against that stored text on 16 September 2026.
What that means
- 5 of 5 reported statements were confirmed against the page that carries them; the rest were removed rather than published.
- Figures in the text were required to appear in the stored source text: yes. Identifiers: yes.
- The check reads stored text only: no claim rests on a fresh look that did not happen.
- Where the reporting was silent, the text says so instead of filling the gap.