[Checkout UI Ext 2026-01] Checkout data API examples + descriptions#4207
[Checkout UI Ext 2026-01] Checkout data API examples + descriptions#4207
Conversation
Add 17 new Preact code examples for checkout data APIs that previously had no examples or fewer than two. New examples (2 per API): - Addresses: read shipping address, read billing address - Buyer Identity: display customer info, display B2B company - Checkout Token: access token, display support reference - Cost: order cost summary, free shipping progress - Discounts: display codes, apply/remove codes - Gift Cards: display applied cards, apply a card - Note: display note, add/update note Additional examples (1 each): - Cart Lines, Customer Privacy, Order Also updates 10 existing example titles to imperative verbs. Made-with: Cursor
🚨🚨🚨 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! 🙏 |
|
Closing: examples are now managed directly in the shopify-dev MDX repo after the migration to MDX. The ui-extensions .doc.ts example pipeline is no longer needed for these. |
Backport of #4173 (targeting 2026-04-rc) to the 2026-01 version branch.
Summary
Adds 17 new Preact examples and 10 title updates for checkout data APIs. Cherry-picked from
2026-04-checkout-data-examples.Closes part of https://github.com/shop/issues-learn/issues/1044