🌐
Shopify
shopify.dev › docs › api › functions › latest › discount
Discount Function API
The Discount Function API provides a unified schema for creating Function extensions. A single Function processes one discount (either code-based or automatic), but can apply savings across three discount classes: product, order, and shipping.
🌐
Shopify
shopify.dev › docs › api › functions › reference › product-discounts
Discount Function API - Shopify.dev
The Discount Function API provides a unified schema for creating Function extensions. A single Function processes one discount (either code-based or automatic), but can apply savings across three discount classes: product, order, and shipping.
🌐
Shopify Help Center
help.shopify.com › en › manual › shopify-flow › reference › actions › get-discount-data
Shopify Help Center | Get discount data
In workflows that require discount data, you can use the Get discount data action to retrieve discount information from your store.
🌐
Digioh Help Docs
help.digioh.com › home › shopify dynamic couponing
Shopify Discount Code API Integration - Digioh Help Docs
February 13, 2025 - Digioh’s Shopify Discount API integration helps us to create coupons code dynamically in Shopify using the Shopify discount code API.
🌐
Yepcode
yepcode.io › recipes › rest-api-to-shopify-discount-codes
REST API to Shopify discount codes | YepCode Recipes | Code snippets for solving common problems
More info at https://yepcode.io/docs/processes/team-variables // TODO: Add your http credential with Shopify information: // baseUrl: https://your-development-store.myshopify.com/admin/api/2022-04 // HTTP Headers: { "X-Shopify-Access-Token": "your-access-token" } this.httpClient = axios.create({ baseURL: yepcode.env.SHOPIFY_BASE_URL, headers: { "X-Shopify-Access-Token": yepcode.env.SHOPIFY_ACCESS_TOKEN, }, }); } async consume(item) { // TODO: Customize your request checking the API documentation: // https://shopify.dev/api/admin-rest/2022-04/resources/discountcode#post-price-rules-price-rule-id-discount-codes await this.httpClient.post( "/price_rules/<price-rule-id>/discount_codes.json", { discount_code: { code: item.code + "OFF", }, } ); } async close() {} }
🌐
Shopify
shopify.com › partners › blog › discount-kit-shopify-functions-webassembly-api
Discount Kit's Journey: Faster Checkouts with Shopify Functions (2025) - Shopify
The Discount API now allows apps to generate product, order, and shipping discounts—all powered by a single Discount Code. Merchants can combine multiple discount effects, reduce the number of Functions needed, and unlock more flexible promotions.
🌐
Shopify
shopify.dev › docs › api › admin-rest › latest › resources › discountcode
DiscountCode
The discount_code_id path parameter is the ID of the discount code to retrieve for the associated price rule. ... curl -X GET "https://your-development-store.myshopify.com/admin/api/2025-10/price_rules/507328175/discount_codes/507328175.json" \
Find elsewhere
🌐
Shopify
shopify.dev › docs › api › functions › reference › product-discounts › graphql
Product Discount API reference - Shopify.dev
The Discount Function API provides a unified schema for creating Function extensions. A single Function processes one discount (either code-based or automatic), but can apply savings across three discount classes: product, order, and shipping.
🌐
Shopify Community
community.shopify.com › retired boards › appdev › custom storefronts
Create / Apply Discount through Storefront API
October 17, 2023 - Hello. I am reading the documentation on Storefront API and I’m incredibly confused. I want to apply a discount with a dynamic amount based on the items in my cart. How do I do this? Can I do this without creating a fixe…
🌐
Shopify
shopify.dev › docs › api › functions › reference › order-discounts
About the Order Discount Function API - Shopify.dev
The Discount Function API provides a unified schema for creating Function extensions. A single Function processes one discount (either code-based or automatic), but can apply savings across three discount classes: product, order, and shipping.
🌐
Skailama
skailama.com › blog › shopify-discount-functions
Shopify Discount Functions: Implementation Guide & Migration Tips
October 29, 2025 - In either case, Shopify needs a record of a discount in the admin that corresponds to your function. The API call typically includes details like the function ID, the title of the discount, the strategy for how it combines with other discounts, etc.
🌐
Shopify
shopify.dev › docs › api › functions › reference › discounts-allocator
About the Discounts Allocator Function API - Shopify.dev
Use the Discounts Allocator Function API to provide custom logic that determines how discounts should be calculated in a cart.
🌐
Shopify
shopify.dev › docs › apps › build › discounts
About discounts
These classes determine which part of the cart the discount Function targets, enabling Shopify to correctly calculate and apply the appropriate price reduction during checkout. Discount classes are used to define the effect of a discount on a cart. The discount's discountClasses field determines which Function targets will be executed during checkout. App discounts built with the Discount Function API can return operations that use Order and Product discount classes in their CartLinesDiscountsGenerateRunResult and the Shipping class in CartDeliveryOptionsDiscountsGenerateRunResult.
🌐
Oscprofessionals
oscprofessionals.com › home › shopify apps › what are the different discount apis for shopify apps?
What Are the Different Discount APIs for Shopify Apps
December 31, 2024 - Contact us now and get your store up and running fast! The Shipping Discount API available via Shopify Apps allows merchants to create discounts for shipping rates applied at checkout.
Address   34, Mantri House, 34, Cement Rd, Om Sai Nagar, Shivaji Nagar, 440010, Nagpur
🌐
Shopifyseoconsultant
shopifyseoconsultant.com › use-shopify-discount-code-api
Shopify Discount Code API: Discount Management Simplified
Sellers can use the API endpoints to generate unique codes with specific properties. This can include a discount percentage or fixed-amount discounts, free shipping, or buy-one-get-one offers.
🌐
GitHub
github.com › ramdhanishivam › discount-function-app
GitHub - ramdhanishivam/discount-function-app: Shopify Functions API - Javascript App for Discount
Shopify Functions API - Javascript App for Discount - GitHub - ramdhanishivam/discount-function-app: Shopify Functions API - Javascript App for Discount
Author   ramdhanishivam