Update POS cart api docs to reflect discount per unit allocation#4231
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! 🙏 |
This stack of pull requests is managed by Graphite. Learn more about stacking. |
4b3419a to
83f2939
Compare
83f2939 to
560043d
Compare
Merge activity
|
…ion" (#4240) Part of shop/issues-retail#26513 ### Background Reverting #4231 PR to defer this change to 2026-07. Will update docs then. No update needed on the `shopify-dev` dev side since the doc update PR was never merged (shop/world#553810). ### Solution n/a ### 🎩 - Ran `yarn docs:point-of-sale 2026-04` in this repo. - Provide absolute path for the `shopify-dev` repo location (should be something like `/Users/janezhu/world/trees/root/src/areas/platforms/shopify-dev/`) - In `shopify-dev` repo (now in the monorepo), run `dev server` - Go to your local https://shopify-dev.shop.dev/docs/api/pos-ui-extensions/2026-04-rc/target-apis/contextual-apis/cart-api to see the reverted docs:   ### Checklist - [x] I have 🎩'd these changes - [x] I have updated relevant documentation

Background
Resolves https://github.com/shop/issues-retail/issues/26385
Update documentation for discount allocation change from ACROSS to EACH starting in API version 2026-04.
Solution
Update docs and provide example
🎩
yarn docs:point-of-sale 2026-04-rcin this repo.shopify-devrepo (now in the monorepo), rundev serverChecklist