Skip to content

discount_application

The discount_application object.

Properties

PropertyDescription
discount_application.allocation_methodBuyer-visible allocation_method value for this discount application.
discount_application.codePublic code value.
discount_application.descriptionPlain-text reason a seller gave for a manual discount, e.g. Loyal customer, or nil for every other kind of discount.
discount_application.fixed_priceCurrency amount for fixed price, in the store currency’s minor unit unless the object reference states otherwise.
discount_application.fixed_price_centsCurrency amount for fixed price cents, in the store currency’s minor unit unless the object reference states otherwise.
discount_application.pricing_modelBuyer-visible pricing_model value for this discount application.
discount_application.source_typePublic source type value.
discount_application.target_selectionBuyer-visible target_selection value for this discount application.
discount_application.target_typePublic target type value.
discount_application.titleCustomer-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_amountCurrency amount for total allocated amount, in the store currency’s minor unit unless the object reference states otherwise.
discount_application.typePublic type or resource-kind identifier.
discount_application.valueThe value.
discount_application.value_typePublic 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.