<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/discounts-allocator-function-api-developer-preview-has-ended-nghqx1sps" -->

---
title: Discounts Allocator Function API developer preview has ended
description: The Discounts Allocator Function API, which was only ever available through a developer preview, has been permanently removed and will not ship as a stable...
canonical: https://daily.dev/posts/discounts-allocator-function-api-developer-preview-has-ended-nghqx1sps
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Discounts Allocator Function API developer preview has ended | daily.dev
og:description: The Discounts Allocator Function API, which was only ever available through a developer preview, has been permanently removed and will not ship as a stable...
og:url: https://daily.dev/posts/discounts-allocator-function-api-developer-preview-has-ended-nghqx1sps
og:image: https://api.daily.dev/og/posts/NGHQX1SPS.png
og:image:alt: Discounts Allocator Function API developer preview has ended
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Discounts Allocator Function API developer preview has ended

**[Shopify Developer changelog](https://daily.dev/sources/shopifychangelog)** · 2 min read · 0 upvotes · 0 comments

## Summary

The Discounts Allocator Function API, which was only ever available through a developer preview, has been permanently removed and will not ship as a stable feature. Native discount allocation controls, including stacking multiple product discounts on the same line, now cover most use cases the API was meant to address. The unstable Admin GraphQL mutations tied to it are gone, previously registered functions are unregistered automatically, and related docs and tutorials are removed. Apps that still declare the purchase.discounts-allocator.run extension target must remove it or shopify app deploy will fail for the whole app; other apps are unaffected. Developers who need function-based discounts should use the Discount Function API described in Shopify's Discounts developer documentation instead.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://shopify.dev/changelog/discounts-allocator-function-api-developer-preview-has-ended>

## Questions this post answers

### What happens if my Shopify app still declares the purchase.discounts-allocator.run extension target?

Running shopify app deploy will fail for the entire app, including unrelated extension changes, with the error 'API not found for target: purchase.discounts-allocator.run'. Existing app releases stay installable but their Discounts Allocator Functions stop running. Removing the extension from the app configuration and redeploying resolves the failure and lets other extensions update normally.

_daily.dev helps app developers stay ahead of platform deprecations like Shopify's discounts allocator shutdown._

### What replaced the Shopify Discounts Allocator Function API after its developer preview ended?

The Discount Function API, documented in Shopify's Discounts developer documentation, is the supported way to build discount logic with a function going forward. Native platform controls over how discounts apply have improved since the allocator preview launched, including support for stacking multiple product discounts on the same cart line, covering most use cases the allocator API targeted.

_Developers migrating discount logic on Shopify can track API changes like this via daily.dev._

### Is the Discounts Allocator Function API still available on Shopify?

No, it has been removed entirely and will not be released as a stable API. It was only ever accessible through a developer preview, and its unstable Admin GraphQL mutations were never made available in a stable API version. Functions registered during the preview have been automatically unregistered, and its documentation and tutorial have been taken down.

_daily.dev keeps developers informed when preview APIs like this get discontinued instead of stabilized._

## Similar posts on daily.dev

- [Discount Function support for rejecting discount codes](https://daily.dev/posts/discount-function-support-for-rejecting-discount-codes-9fhkndhiw) · Shopify Developer changelog · 0 upvotes · 0 comments
- [Discounts can now be included in Rollouts](https://daily.dev/posts/discounts-can-now-be-included-in-rollouts-8rnlwtr7w) · Shopify Developer changelog · 0 upvotes · 0 comments
- [The automaticDiscounts query is removed in API version 2027-01](https://daily.dev/posts/the-automaticdiscounts-query-is-removed-in-api-version-2027-01-279pbqdmm) · Shopify Developer changelog · 0 upvotes · 0 comments
- [Use app intents for your discount app](https://daily.dev/posts/use-app-intents-for-your-discount-app-gblbagzqc) · Shopify Developer changelog · 0 upvotes · 0 comments
- [Discount application information now available for draft orders on the Customer Account API](https://daily.dev/posts/discount-application-information-now-available-for-draft-orders-on-the-customer-account-api-9aixlo74c) · Shopify Developer changelog · 0 upvotes · 0 comments

---

Tags: [#ecommerce](https://daily.dev/tags/ecommerce), [#graphql](https://daily.dev/tags/graphql), [#shopify](https://daily.dev/tags/shopify)

[View this post on daily.dev](https://daily.dev/posts/discounts-allocator-function-api-developer-preview-has-ended-nghqx1sps)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Discounts Allocator Function API developer preview has ended","url":"https://daily.dev/posts/discounts-allocator-function-api-developer-preview-has-ended-nghqx1sps","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/discounts-allocator-function-api-developer-preview-has-ended-nghqx1sps"},"datePublished":"2026-09-10T16:05:11.160Z","dateModified":"2026-10-15T02:22:56.000Z","description":"The Discounts Allocator Function API, which was only ever available through a developer preview, has been permanently removed and will not ship as a stable...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a5b9f0de82c011d79696b4f6b99b7364?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a5b9f0de82c011d79696b4f6b99b7364?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Shopify Developer changelog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Shopify Developer changelog","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/aefcb5d2c1ca4b45b5d2256b9e2a9cc3","url":"https://daily.dev/sources/shopifychangelog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/discounts-allocator-function-api-developer-preview-has-ended-nghqx1sps","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ecommerce,graphql,shopify","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Shopify Developer changelog","item":"https://daily.dev/sources/shopifychangelog"},{"@type":"ListItem","position":3,"name":"Discounts Allocator Function API developer preview has ended"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/discounts-allocator-function-api-developer-preview-has-ended-nghqx1sps#faq","mainEntity":[{"@type":"Question","name":"What happens if my Shopify app still declares the purchase.discounts-allocator.run extension target?","acceptedAnswer":{"@type":"Answer","text":"Running shopify app deploy will fail for the entire app, including unrelated extension changes, with the error 'API not found for target: purchase.discounts-allocator.run'. Existing app releases stay installable but their Discounts Allocator Functions stop running. Removing the extension from the app configuration and redeploying resolves the failure and lets other extensions update normally. daily.dev helps app developers stay ahead of platform deprecations like Shopify's discounts allocator shutdown."}},{"@type":"Question","name":"What replaced the Shopify Discounts Allocator Function API after its developer preview ended?","acceptedAnswer":{"@type":"Answer","text":"The Discount Function API, documented in Shopify's Discounts developer documentation, is the supported way to build discount logic with a function going forward. Native platform controls over how discounts apply have improved since the allocator preview launched, including support for stacking multiple product discounts on the same cart line, covering most use cases the allocator API targeted. Developers migrating discount logic on Shopify can track API changes like this via daily.dev."}},{"@type":"Question","name":"Is the Discounts Allocator Function API still available on Shopify?","acceptedAnswer":{"@type":"Answer","text":"No, it has been removed entirely and will not be released as a stable API. It was only ever accessible through a developer preview, and its unstable Admin GraphQL mutations were never made available in a stable API version. Functions registered during the preview have been automatically unregistered, and its documentation and tutorial have been taken down. daily.dev keeps developers informed when preview APIs like this get discontinued instead of stabilized."}}]}
```

