Repository navigation
feat(pos): expose multiple variant barcodes - #4775
Merged
Merged
Conversation
vctrchu
marked this pull request as ready for review
October 28, 2026 19:40
Contributor
Author
|
/snapit |
Contributor
|
🫰✨ Thanks @vctrchu! Your snapshots have been published to npm. Built from Test the snapshots by updating your "@shopify/ui-extensions-tester": "0.0.0-snapshot-20261028211955",
"@shopify/ui-extensions": "0.0.0-snapshot-20261028211955" |
fatbattk
approved these changes
Oct 28, 2026
vctrchu
force-pushed
the
vctrchu/pos-multi-barcodes-2027-01
branch
from
October 28, 2026 22:21
ab733af to
e15cc15
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Expose all variant barcodes in the POS Product Search API for
2027-01, and deprecate the primary-onlybarcodeproperty while retaining it for compatibility.Background
Product variants support multiple barcodes, but extensions currently declare only the primary value.
Solution
Export
ProductVariantBarcodeand add requiredProductVariant.barcodes. Document primary-first ordering, empty arrays, and search by additional barcodes. Include a minor changeset.Runtime availability depends on the installed POS version.
🎩
ProductVariantBarcodefrom@shopify/ui-extensions/point-of-sale.2027-01docs and verifybarcodesand thebarcodedeprecation notice.2027-01extension remains pending.Checklist