<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/variants-now-support-multiple-barcodes-1zgdawp1d" -->

---
title: Variants now support multiple barcodes | daily.dev
description: Shopify's Admin GraphQL API now supports multiple barcodes per product variant through a new barcodes connection on ProductVariant, readable and writable via...
canonical: https://daily.dev/posts/variants-now-support-multiple-barcodes-1zgdawp1d
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Variants now support multiple barcodes | daily.dev
og:description: Shopify's Admin GraphQL API now supports multiple barcodes per product variant through a new barcodes connection on ProductVariant, readable and writable via...
og:url: https://daily.dev/posts/variants-now-support-multiple-barcodes-1zgdawp1d
og:image: https://api.daily.dev/og/posts/1zgdaWp1D.png
og:image:alt: Variants now support multiple barcodes
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Variants now support multiple barcodes

**[Shopify Developer changelog](https://daily.dev/sources/shopifychangelog)** · 3 min read · 0 upvotes · 0 comments

## Summary

Shopify's Admin GraphQL API now supports multiple barcodes per product variant through a new barcodes connection on ProductVariant, readable and writable via productSet, productVariantsBulkCreate, and productVariantsBulkUpdate mutations. Each barcode can declare a type (UPC, EAN, ISBN, GTIN, ASIN) which gets validated against that standard's rules, or be stored untyped as before. A variant supports up to 20 barcodes of up to 255 characters each. The existing single barcode field is now deprecated but still functional: it reads and writes the first entry in the barcodes connection, though apps reading only barcode will silently miss additional identifiers once a variant has more than one. A removal date for the barcode field will be announced in a future post with a full API version of advance notice.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://shopify.dev/changelog/product-variant-barcode-is-being-replaced-by-barcodes>

## Questions this post answers

### How do I add multiple barcodes to a Shopify product variant using the Admin GraphQL API?

Use the new barcodes connection on ProductVariant to read all barcodes, and the barcodes input on the productSet, productVariantsBulkCreate, or productVariantsBulkUpdate mutations to write them. Each barcode can declare a type (UPC, EAN, ISBN, GTIN, or ASIN) which is validated against that standard's rules; untyped values are stored exactly as sent. A variant supports up to 20 barcodes, each up to 255 characters.

_daily.dev surfaces API changes like this for teams keeping Shopify integrations in sync._

### Is the Shopify ProductVariant barcode field being removed?

It is deprecated but not yet removed; nothing breaks immediately and the field keeps working as before. Reading barcode returns the first entry in the barcodes connection, and writing it updates that first entry while leaving other barcodes untouched. A removal date will be announced in a future post, with a full API version of notice given before it goes away.

_Track deprecation timelines like this on daily.dev before they turn into breaking changes._

### Why would my app silently miss product barcodes after this Shopify API change?

Once a variant has a second barcode added, an integration that reads only the singular barcode field sees just one value with no indication that additional barcodes exist. Apps syncing product identifiers to an ERP, marketplace, POS, or supplier feed should switch those reads to the new barcodes connection to avoid silently dropping data.

_daily.dev helps integration developers catch these silent-breakage risks in platform APIs._

## Similar posts on daily.dev

- [Adding barcode support to inventory shipments API](https://daily.dev/posts/adding-barcode-support-to-inventory-shipments-api-dpsoo9mlo) · Shopify Developer changelog · 0 upvotes · 0 comments
- [New fields to combine bundle options](https://daily.dev/posts/new-fields-to-combine-bundle-options-8sc9faase) · Shopify Developer changelog · 0 upvotes · 0 comments
- [Publish and unpublish product variants independently from product](https://daily.dev/posts/publish-and-unpublish-product-variants-independently-from-product-drsvyfx6o) · Shopify Developer changelog · 1 upvotes · 0 comments
- [Manage packed product dimensions with the Admin GraphQL API](https://daily.dev/posts/manage-packed-product-dimensions-with-the-admin-graphql-api-czpaqpkie) · Shopify Developer changelog · 0 upvotes · 0 comments

---

Tags: [#architecture](https://daily.dev/tags/architecture), [#ecommerce](https://daily.dev/tags/ecommerce), [#graphql](https://daily.dev/tags/graphql), [#shopify](https://daily.dev/tags/shopify)

[View this post on daily.dev](https://daily.dev/posts/variants-now-support-multiple-barcodes-1zgdawp1d)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Variants now support multiple barcodes","url":"https://daily.dev/posts/variants-now-support-multiple-barcodes-1zgdawp1d","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/variants-now-support-multiple-barcodes-1zgdawp1d"},"datePublished":"2026-09-08T17:39:33.626Z","dateModified":"2026-09-13T19:48:06.938Z","description":"Shopify's Admin GraphQL API now supports multiple barcodes per product variant through a new barcodes connection on ProductVariant, readable and writable via...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a5b9f0de82c011d79696b4f6b99b7364?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a5b9f0de82c011d79696b4f6b99b7364?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Shopify Developer changelog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Shopify Developer changelog","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/aefcb5d2c1ca4b45b5d2256b9e2a9cc3","url":"https://daily.dev/sources/shopifychangelog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/variants-now-support-multiple-barcodes-1zgdawp1d","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"architecture,ecommerce,graphql,shopify","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Shopify Developer changelog","item":"https://daily.dev/sources/shopifychangelog"},{"@type":"ListItem","position":3,"name":"Variants now support multiple barcodes"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/variants-now-support-multiple-barcodes-1zgdawp1d#faq","mainEntity":[{"@type":"Question","name":"How do I add multiple barcodes to a Shopify product variant using the Admin GraphQL API?","acceptedAnswer":{"@type":"Answer","text":"Use the new barcodes connection on ProductVariant to read all barcodes, and the barcodes input on the productSet, productVariantsBulkCreate, or productVariantsBulkUpdate mutations to write them. Each barcode can declare a type (UPC, EAN, ISBN, GTIN, or ASIN) which is validated against that standard's rules; untyped values are stored exactly as sent. A variant supports up to 20 barcodes, each up to 255 characters. daily.dev surfaces API changes like this for teams keeping Shopify integrations in sync."}},{"@type":"Question","name":"Is the Shopify ProductVariant barcode field being removed?","acceptedAnswer":{"@type":"Answer","text":"It is deprecated but not yet removed; nothing breaks immediately and the field keeps working as before. Reading barcode returns the first entry in the barcodes connection, and writing it updates that first entry while leaving other barcodes untouched. A removal date will be announced in a future post, with a full API version of notice given before it goes away. Track deprecation timelines like this on daily.dev before they turn into breaking changes."}},{"@type":"Question","name":"Why would my app silently miss product barcodes after this Shopify API change?","acceptedAnswer":{"@type":"Answer","text":"Once a variant has a second barcode added, an integration that reads only the singular barcode field sees just one value with no indication that additional barcodes exist. Apps syncing product identifiers to an ERP, marketplace, POS, or supplier feed should switch those reads to the new barcodes connection to avoid silently dropping data. daily.dev helps integration developers catch these silent-breakage risks in platform APIs."}}]}
```

