Skip to content

feat(point-of-sale): add POS intercept API types - #4520

Merged
vctrchu merged 3 commits into
2026-10-rcfrom
pos-intercept-api
Aug 6, 2026
Merged

feat(point-of-sale): add POS intercept API types#4520
vctrchu merged 3 commits into
2026-10-rcfrom
pos-intercept-api

Conversation

@vctrchu

@vctrchu vctrchu commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

What changed

  • Adds POS shopify.intercept() typing to the background ShopifyGlobal used by pos.app.ready.data.
  • Adds the first interceptable POS workflow, beforecheckout, with a cart-bearing event payload.
  • Adds the interceptor result shape from the UI API Design proposal: operations with optional validationAdd entries (WARNING / ERROR, handle, optional target).
  • Leaves types private as the work is in progress.

@vctrchu

vctrchu commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

/snapit

@shopify-github-actions-access

Copy link
Copy Markdown
Contributor

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

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

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

@vctrchu

vctrchu commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

/snapit

@shopify-github-actions-access

Copy link
Copy Markdown
Contributor

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

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

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

@vctrchu vctrchu added the #gsd:51812 POS Intercept Extensions — https://vault.shopify.io/gsd/projects/51812 label Aug 4, 2026
@henryStelle
henryStelle changed the base branch from 2026-07-rc to 2026-10-rc August 5, 2026 22:35
@henryStelle henryStelle self-assigned this Aug 5, 2026
@henryStelle
henryStelle marked this pull request as ready for review August 5, 2026 23:54
Assisted-By: devx/f72cb0ba-11c1-4cc7-ab65-755169af9570

Add POS intercept name constant

Assisted-By: devx/f72cb0ba-11c1-4cc7-ab65-755169af9570

Mark POS intercept types as private
…pt validations

Assisted-By: devx/9207e17f-e39b-4a11-8404-6b6307beb973
@vctrchu

vctrchu commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

/snapit

@vctrchu vctrchu changed the title Add POS intercept API types feat(point-of-sale): add POS intercept API types Aug 6, 2026
@vctrchu
vctrchu force-pushed the pos-intercept-api branch from 0ed2775 to 8e9a678 Compare August 6, 2026 22:17
Assisted-By: devx/9207e17f-e39b-4a11-8404-6b6307beb973
@vctrchu
vctrchu force-pushed the pos-intercept-api branch from 8e9a678 to 69a7ae1 Compare August 6, 2026 22:22
@henryStelle

Copy link
Copy Markdown
Contributor

/snapit

@vctrchu
vctrchu force-pushed the pos-intercept-api branch 2 times, most recently from 5542d17 to 69a7ae1 Compare August 6, 2026 22:58
@vctrchu
vctrchu merged commit 72e6b9d into 2026-10-rc Aug 6, 2026
5 checks passed
@vctrchu

vctrchu commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

/snapit

@shopify-github-actions-access

Copy link
Copy Markdown
Contributor

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

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

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

@shopify-github-actions-access

Copy link
Copy Markdown
Contributor

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

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

#gsd:51812 POS Intercept Extensions — https://vault.shopify.io/gsd/projects/51812

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants