feat(pos): add Extension API (apiVersion + target) to POS StandardApi#4299
feat(pos): add Extension API (apiVersion + target) to POS StandardApi#4299js-goupil wants to merge 1 commit into2026-07-rcfrom
Conversation
🚨🚨🚨 Docs migration in progress 🚨🚨🚨We are actively migrating UI extension reference docs to MDX in the
During this migration, please be aware of the following:
Doc comments in Examples that previously lived in this repo are being moved to the What should I do?
Thanks for your patience while we complete the migration! 🙏 |
e00f921 to
6761db7
Compare
6761db7 to
5507f8c
Compare
|
Could we draft these until the ui-api-design gets approved? |
Summary
Implements the
extensionAPI for POS UI extensions, as designed in ui-api-design#1473.Exposes
shopify.extension.apiVersionandshopify.extension.targeton the POSStandardApi, aligning POS with the approach already used by Checkout.Changes
Source
src/surfaces/point-of-sale/api/extension-api/extension-api.ts(new) —ExtensionApiContent<T>andExtensionApi<T>interfaces withapiVersion: ApiVersionandtarget: Tsrc/surfaces/point-of-sale/api/standard/standard-api.ts— addedExtensionApi<T>to theStandardApiintersection typesrc/surfaces/point-of-sale/api.ts— exportedExtensionApiandExtensionApiContentDocumentation
docs/surfaces/point-of-sale/reference/apis/extension-api.doc.ts(new) — API reference docdocs/surfaces/point-of-sale/reference/examples/extension-api/extension-info.jsx(new) — usage exampleTests / Mocks
packages/ui-extensions-tester/src/point-of-sale/factories.ts— addedextension: { apiVersion: '2026-04', target }to thecreateMockStandardApifactoryUsage