Anchor to DiscountAutomaticDiscount
unionDiscount Automatic
Requires Apps must have access scope.
The type of discount associated to the automatic discount. For example, the automatic discount might offer a basic discount using a fixed percentage, or a fixed amount, on specific products from the order. The automatic discount may also be a BXGY discount, which offers customer discounts on select products if they add a specific product to their order.
Anchor to Possible typesPossible types
- •OBJECT
The
object stores information about automatic discounts that are managed by an app using Shopify Functions. Use
when you need advanced, custom, or dynamic discount capabilities that aren't supported by Shopify's native discount types.
Learn more about creating custom discount functionality.
Note- Anchor to appDiscountTypeapp
Discount Type