--- title: >- Deprecation of Product, Order, and Shipping Discount Function APIs - Shopify developer changelog description: >- Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: >- https://shopify.dev/changelog/deprecation-product-order-shipping-discount-function-apis md: >- https://shopify.dev/changelog/deprecation-product-order-shipping-discount-function-apis.md metadata: effectiveApiVersion: '' affectedApi: - displayName: Admin GraphQL API handle: admin-graphql primaryTag: displayName: API handle: api secondaryTag: displayName: Deprecation Announcement handle: deprecation indicatesActionRequired: true createdAt: '2025-03-19T14:54:06-04:00' postedAt: '2025-05-21T08:21:00-04:00' updatedAt: '2025-05-21T10:03:37-04:00' effectiveAt: '2025-04-01T12:00:00-04:00' --- May 21, 2025 Tags: * Action Required * Admin GraphQL API # Deprecation of Product, Order, and Shipping Discount Function APIs As of API version 2025-04, the following Function APIs are deprecated: * [Product Discount Function API](https://shopify.dev/docs/api/functions/latest/product-discount) * [Order Discount Function API](https://shopify.dev/docs/api/functions/latest/order-discount) * [Shipping Discount Function API](https://shopify.dev/docs/api/functions/latest/shipping-discount) **These APIs will be removed from all future stable and unstable API versions.** To replace these APIs, we've created the new [Discount Function API](https://shopify.dev/docs/api/functions/latest/discount), unifying the functionality of the previous APIs into a single extension. If you use the existing APIs, before API version 2026-04 you'll need to update to the new Discount Function API. To learn how to do this, read the [migration guide](https://shopify.dev/docs/api/functions/latest/discount#migrate-from-deprecated-discount-function-apis).