---
title: "discount_allocation"

doc_type: static
doc_category: static
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/sline/object/discount-allocation'
  md: 'https://developer.shopline.com/docs/sline/object/discount-allocation.md'
---

# discount_allocation


    
Information about the discount applied to an item and the discount amount.



    For how to present discounts in the store theme, refer to [Discounts](https://developer.shopline.com/docs/online-store-3-0-themes/theme-features/pricing-and-payment/discounts.md).



## Properties

    <div>
    

        
<ObjectProperty 
    name="amount"
    types={[<Mdx>integer</Mdx>]}
>
<ObjectSummary>
The discount amount.

> **TIP**
>
> Format the amount using the [money](https://developer.shopline.com/docs/sline/filter/money.md), [money_with_currency](https://developer.shopline.com/docs/sline/filter/money-with-currency.md), or [money_without_currency](https://developer.shopline.com/docs/sline/filter/money-without-currency.md) filter.
</ObjectSummary>
</ObjectProperty>
        
<ObjectProperty 
    name="discount_application"
    types={[<Mdx>[discount_application](https://developer.shopline.com/docs/sline/object/discount-application.md)</Mdx>]}
>
<ObjectSummary>
Details of the applied discount.


</ObjectSummary>
</ObjectProperty>
        
    
    </div>


