docs(pos): correct Discount.amount read behavior for 2026-07 - #4620
docs(pos): correct Discount.amount read behavior for 2026-07#4620vctrchu wants to merge 1 commit into
Conversation
Assisted-By: devx/ebf9cf26-03bb-4c3e-9919-a083a362bb2b
|
We detected some changes in |
|
This PR targets a stable release branch ( When you open the forward-port PR, include a line like this in its body so the Accepted formats (comma-separated for multiple):
If a forward-port isn't needed (e.g., the change is stable-only), you can remove the |
What
Corrects the
Discount.amountTSDoc on the POS cart types for the released 2026-07 API version: reading a discount from the cart returns the calculated monetary total in this field, not the value that was applied. The previous doc claimed reads return the percentage value, which is not what this version does (shop/issues-retail#33093, reported in https://community.shopify.dev/t/36265 and https://community.shopify.dev/t/36171).Also warns that echoing a read discount back through
bulkCartUpdatedoes not preserve it in this version, and points to 2026-10 where reads match writes (Shopify/extensibility#1657, shop/world#997169).Older released branches have the same behavior; happy to cherry-pick this doc note to them if that's the convention.