discount_application
The discount_application object.
Properties
| Property | Description |
|---|---|
discount_application.allocation_method | Buyer-visible allocation_method value for this discount application. |
discount_application.code | Public code value. |
discount_application.description | Plain-text reason a seller gave for a manual discount, e.g. Loyal customer, or nil for every other kind of discount. |
discount_application.fixed_price | Currency amount for fixed price, in the store currency’s minor unit unless the object reference states otherwise. |
discount_application.fixed_price_cents | Currency amount for fixed price cents, in the store currency’s minor unit unless the object reference states otherwise. |
discount_application.pricing_model | Buyer-visible pricing_model value for this discount application. |
discount_application.source_type | Public source type value. |
discount_application.target_selection | Buyer-visible target_selection value for this discount application. |
discount_application.target_type | Public target type value. |
discount_application.title | Customer-facing name of the discount: its stored title, else its code. A seller’s manual discount has no stored title and is named from its rule in the page’s language, e.g. 10% off or ₹10.00 off each. |
discount_application.total_allocated_amount | Currency amount for total allocated amount, in the store currency’s minor unit unless the object reference states otherwise. |
discount_application.type | Public type or resource-kind identifier. |
discount_application.value | The value. |
discount_application.value_type | Public value type value. |
Property list is generated from the storefront engine (DiscountApplicationDrop), so it always matches what your theme can use. Use {{ discount_application | json }} only as a curated debug snapshot; it can omit lazy or otherwise public properties.