DiscountCodeNode – GraphQL Admin – Shopify Developers Platform
The Discount Code Node object enables you to manage code discounts that are applied when customers enter a code at checkout. For example, you can offer discounts where customers have to enter a code to redeem an amount off discount on products
Creating Discount Codes With Shopify's Graphql Api
Creating discount codes using Shopify's GraphQL API is a straightforward process that can significantly enhance your store's promotional capabilities. By leveraging the discountCodeAppCreate mutation, you can offer targeted discounts that attract customers and boost sales.
Shopify Discounts GraphQL API – Stack Overflow
Alternatively, the shopify API provides a general discountNodes endpoint which you can use to request all your discounts together. { discountNodes(first:10) { edges { node { id } } } }
Shopify/tutorial-discount-functions-with-remix
This app is a guide for adding discount function extensions to a Shopify app. We have also provided some additional extensions to help you get started with other types of extensions. These are: Order discount function with minimum subtotal (Rust extension, )
How to understand discount_applications and … – Shopify Community
There can be 4 types within the discount_application type: type: The discount application type. Valid values: automatic: The discount was applied automatically, such as by a Buy X Get Y automatic discount. discount_code: The discount was applied by a discount code.
About discounts – Shopify Developers Platform
Discount apps integrate with the Shopify admin to provide discount types for app users. This guide introduces the ways that you can extend your app code into Shopify checkout and customize the discount experience. Use the GraphQL Admin API to create and manage discounts that are native to Shopify.
Order discounts in GraphQL Admin API – GraphQL Admin API …
We are in the process of migrating from the REST Admin API to the GraphQL Admin API. In the REST API, we would use the discount_codes field in the order to determine the code used and amount of the discount attributed b…
Admin API GraphQL: how to get correct prices for … – Shopify Community
I am building an integration between Shopify and our ERP via the admin API using GraphQL. All is working well except when I try and get the exact prices for an order. In the documentation discountedTotalSet should be 'The total line price after discounts are
discountCodeBasicCreate – GraphQL Admin – Shopify Developers Platform
Creates an amount off discount that's applied on a cart and at checkout when a customer enters a code. Amount off discounts can be a percentage off or a fixed amount off. To create discounts that are automatically applied on a cart and at checkout, use the discountAutomaticBasicCreate mutation. The input data used to create the discount code.
Graphql API → How to query discounts by their types? – Shopify Community
The documentation lists the valid options for discount_type as "bogo, fixed_amount, free_shipping, percentage". See here: https://shopify.dev/docs/admin-api/graphql/reference/queryroot Kevin_A | Solutions Engineer @ Shopify
Limit a Discount to certain Product Variants – Shopify Community
Yeah, I see how that would work. The problem with that I think might be that there are about 5000 products that I would like this to apply to. I'm trying to target the variants in those products that have a certain color in their SKU ("BL" for blue, "ONG" for orange), and …
Discount Function API – Shopify Developers Platform
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. For example, one
Discount object – Shopify Developers Platform
A price reduction applied to an order. Discounts can be offered in various forms, such as a percentage off, a fixed amount off, or free shipping. They can be applied automatically at checkout if certain conditions are met, or through a discount code that customers enter during checkout. Discounts are often used during promotional events or to attract first-time customers.
Order Discount API reference – Shopify Developers Platform
The Order Discount API enables you to create a new type of discount that is applied to all merchandise in the cart.
GraphQL Discount Code – Shopify Community
Hi Yohad_h, On the [doc page about managing existing discounts] there's some great information on querying discounts with GraphQL, with a simplified example of how to get the list of products for Buy X Get Y Discount codes below put together mostly from the examples on that page. …
GraphQL Admin API reference – Shopify Developers Platform
All GraphQL Admin API queries require a valid Shopify access token. Public and custom apps created in the Partner Dashboard generate tokens using OAuth, and custom apps made in the Shopify admin are authenticated in the Shopify admin.Include your token …
DiscountApplication – GraphQL Admin – Shopify Developers Platform
Discount applications capture the intentions of a discount source at the time of application on an order's line items or shipping lines. Discount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount …
Order – GraphQL Admin – Shopify Developers Platform
An order is a customer's request to purchase one or more products from a shop. You can retrieve and update orders using the Order object. Learn more about editing an existing order with the GraphQL Admin API. Only the last 60 days' worth of orders from a store …
discountNodes – GraphQL Admin – Shopify Developers Platform
Filter by the number of times the discount has been used. For example, if a "Buy 3, Get 1 Free" t-shirt discount is automatically applied in 200 transactions, then the discount has been used 200 times. This value is updated asynchronously. As a result, it might
discountAutomaticAppCreate – GraphQL Admin – Shopify Developers Platform
Creates an automatic discount that's managed by an app. Use this mutation with Shopify Functions when you need advanced, custom, or dynamic discount capabilities that aren't supported by Shopify's native discount types. For example, use this mutation to create …