The next deployment exposes the retired target
Shopify closed the Discounts Allocator Function API developer preview on September 10 and removed its unstable mutations, documentation, and registered functions. The API will not move to a stable release.
An app that still declares purchase.discounts-allocator.run fails its next Shopify app deployment with an API-not-found error. That failure blocks the whole deployment, including unrelated extension changes.
Existing releases can install while the function stays inactive
Shopify says existing app releases remain installable and other app functions are unaffected. The allocator function itself no longer runs because Shopify unregistered functions created during the preview.
That split can hide the problem until a discount is tested or a new release is attempted. Check behavior in a development store instead of treating an installable release as proof that allocation still works.
Move supported logic before deleting the old target
Shopify points developers to the Discount Function API and newer native discount controls. Map the preview behavior to those supported options before removing the old configuration.
Our recommendation: record the current allocation examples, reproduce each with supported controls, and test stacked product discounts. Remove the target only after the replacement behavior is understood.
For your next work session
What to check next
- Search app configuration for purchase.discounts-allocator.run.
- List the discount-allocation cases the preview function handled.
- Map each case to native controls or the Discount Function API.
- Test discount stacking and line allocation in a development store.
- Remove the retired target and run a complete app deployment.
Sources and scope
The removed API was never stable. Apps that did not use the preview target are unaffected. Existing releases remain installable, but registered allocator functions were unregistered and no longer run.
The announcement is confirmed by the source below. Practical checks in this article are Stan Consulting's recommendations.
Need help applying this to your business? Shopify marketing support.
