{"title":"Discount - Liquid Object Reference","slug":"discount-liquid-object-reference","url":"https://support.storeconnect.com/articles/discount-liquid-object-reference","url_markdown":"https://support.storeconnect.com/articles/discount-liquid-object-reference.md","subtitle":null,"summary":"The Discount object contains information about a discount that may be applied to one or more products.","type":"Developer_Documentation","video_url":"","keywords":"liquid, objects, Discount, template, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nThe Discount object contains information about a discount that may be applied to one or more products.\n\n:::note\nThis object supports custom data via the `data` attribute.\n:::\n\n## Attributes\n\n| Attribute | Type | Description |\n|-----------|------|-------------|\n| `account` | [Account](account-liquid-object-reference) | Returns the Account that this Discount is applied to |\n| `active?` | Boolean | Returns true if the Discount is active |\n| `apply_discount_to` | String | Returns the type of object that the Discount is applied to: cart, product, or shipping |\n| `behaviour_when_applied` | String | Returns the behaviour when the Discount is applied: stack, replace, or set_price |\n| `brand` | [Brand](brand-liquid-object-reference) | Returns the Brand that this Discount is applied to |\n| `calculation_type` | String | Returns the calculation type for this Discount: percent, value, or discounted_price |\n| `discounted_points` | Number | Returns the discounted points price for this Discount |\n| `discounted_price` | Number | Returns the discounted price for this Discount |\n| `expires_at` | Timestamp | Returns the date and time that this Discount expires |\n| `id` | String | Returns the unique id for this Discount |\n| `membership` | [Membership](membership-liquid-object-reference) | Returns the Membership that this Discount is applied to |\n| `name` | String | Returns the name of this Discount |\n| `percent_discount` | String | Returns the the discount as a percent for this Discount |\n| `pricebook` | [Pricebook](pricebook-liquid-object-reference) | Returns the Pricebook that this Discount is applied to |\n| `product` | [Product](product-liquid-object-reference) | Returns the Product that this Discount is applied to |\n| `product_category` | [ProductCategory](product-category-liquid-object-reference) | Returns the Product Category that this Discount is applied to |\n| `rebate_amount` | Number | Returns the rebate amount for this Discount |\n| `starts_at` | Timestamp | Returns the start date for this Discount |\n| `value_discount` | Number | Returns the value of the discount for this Discount |\n| `value_discount_points` | Number | Returns the points value of the discount for this Discount |"}