--- 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 --- [Back to Developer changelog](https://shopify.dev/changelog) 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).