Skip to content

feat(pos): expose multiple variant barcodes - #4775

Merged
vctrchu merged 5 commits into
2027-01-rcfrom
vctrchu/pos-multi-barcodes-2027-01
Oct 28, 2026
Merged

vctrchu merged 5 commits into
2027-01-rcfrom
vctrchu/pos-multi-barcodes-2027-01

Conversation

@vctrchu

@vctrchu vctrchu commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Expose all variant barcodes in the POS Product Search API for 2027-01, and deprecate the primary-only barcode property while retaining it for compatibility.

Background

Product variants support multiple barcodes, but extensions currently declare only the primary value.

Solution

Export ProductVariantBarcode and add required ProductVariant.barcodes. Document primary-first ordering, empty arrays, and search by additional barcodes. Include a minor changeset.

Runtime availability depends on the installed POS version.

🎩

  • Build and type-check the package; import ProductVariantBarcode from @shopify/ui-extensions/point-of-sale.
  • Generate the POS 2027-01 docs and verify barcodes and the barcode deprecation notice.
  • Runtime tophatting with a 2027-01 extension remains pending.

Checklist

  • I have 🎩'd these changes
  • I have updated relevant documentation

@vctrchu
vctrchu marked this pull request as ready for review October 28, 2026 19:40
@vctrchu
vctrchu requested a review from a team October 28, 2026 19:49
@vctrchu

vctrchu commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

/snapit

@github-actions

Copy link
Copy Markdown
Contributor

🫰✨ Thanks @vctrchu! Your snapshots have been published to npm.

Built from ab733af7c2c21dcd4059d678b43adcd7c95d6560. Workflow run.

Test the snapshots by updating your package.json with the newly published versions:

"@shopify/ui-extensions-tester": "0.0.0-snapshot-20261028211955",
"@shopify/ui-extensions": "0.0.0-snapshot-20261028211955"

@vctrchu
vctrchu force-pushed the vctrchu/pos-multi-barcodes-2027-01 branch from ab733af to e15cc15 Compare October 28, 2026 22:21
@vctrchu
vctrchu merged commit ab3b9c1 into 2027-01-rc Oct 28, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants