Anchor to ScriptDiscountApplicationScript
objectScript Discount Application
Captures the intentions of a discount that was created by a Shopify Script.
Anchor to FieldsFields
- Anchor to allocationMethodallocation•Discount
Method Application Allocation Method!non-nullPre-auth accessible The method by which the discount's value is allocated to its entitled items.
- Anchor to targetSelectiontarget•Discount
Selection Application Target Selection!non-nullPre-auth accessible The lines of targetType that the discount is allocated over.
- Anchor to targetTypetarget•Discount
Type Application Target Type!non-nullPre-auth accessible The type of line that the discount is applicable towards.
- Anchor to titletitle•String!non-nullPre-auth accessible
The title of the application as defined by the Script.
- Anchor to valuevalue•Pricing
Value!non-nullPre-auth accessible The value of the discount application.
Was this section helpful?