Discounts Allocator Function API developer preview has ended
Source: Shopify Dev Changelog
Discounts Allocator Function API Developer Preview Has Ended
Shopify has closed the developer preview for the Discounts Allocator Function API. The API has been removed from the platform and will not be released as a general availability feature. This API was never part of Shopify’s stable Functions API surface and was only accessible to developers who had opted into the specific developer preview program.
What Changed
The Discounts Allocator Function API allowed apps to customize how discounts were distributed across individual cart lines during checkout. This gave developers programmatic control over discount allocation logic that would otherwise follow Shopify’s default behavior.
Since the preview launched, Shopify has expanded native platform controls over discount allocation, reducing the need for a custom Function API to handle this use case. As a result, Shopify has discontinued the preview rather than moving the API toward general availability.
Why This Matters for Shopify App Developers
Most developers will not need to take any action. The API was gated behind a developer preview, meaning only a limited set of apps had access to it in the first place. Because it never reached general availability, no merchant-facing apps in the Shopify App Store should be relying on this API in production.
The one exception applies to apps that declare the purchase.discounts-allocator.run extension target in their configuration. These apps need to remove this extension target, as it no longer functions and will not be supported going forward.
What to Watch For
Developers who participated in the Discounts Allocator preview should audit their app’s shopify.extension.toml files and remove any references to the deprecated extension target. Teams building discount-related functionality should review Shopify’s current Functions API documentation for supported discount allocation approaches, since native platform capabilities now cover much of what this preview API was designed to address.
Stay in the loop
Get Shopify ecosystem news and positioning insights for app founders.