Discount Application
Discount applications capture the intentions of a discount source at the time of application.
Anchor to FieldsFields
- Anchor to allocationMethodallocation•Discount
Method Application Allocation Method! non-null The method by which the discount's value is allocated to its entitled items.
- Anchor to targetSelectiontarget•Discount
Selection Application Target Selection! non-null Which lines of targetType that the discount is allocated over.
- Anchor to targetTypetarget•Discount
Type Application Target Type! non-null The type of line that the discount is applicable towards.
- Anchor to valuevalue•Pricing
Value! non-null The value of the discount application.
Anchor to Types implemented inTypes implemented in
- •OBJECT
Automatic discount applications capture the intentions of a discount that was automatically applied.
- Anchor to allocationMethodallocation•Discount
Method Application Allocation Method! non-null The method by which the discount's value is allocated to its entitled items.
- Anchor to targetSelectiontarget•Discount
Selection Application Target Selection! non-null Which lines of targetType that the discount is allocated over.
- Anchor to targetTypetarget•Discount
Type Application Target Type! non-null The type of line that the discount is applicable towards.
- Anchor to titletitle•String!non-null
The title of the application.
- Anchor to valuevalue•Pricing
Value! non-null The value of the discount application.
- •OBJECT
Discount code applications capture the intentions of a discount code at the time that it is applied.
- Anchor to allocationMethodallocation•Discount
Method Application Allocation Method! non-null The method by which the discount's value is allocated to its entitled items.
- Anchor to applicableapplicable•Boolean!non-null
Specifies whether the discount code was applied successfully.
- Anchor to codecode•String!non-null
The string identifying the discount code that was used at the time of application.
- Anchor to targetSelectiontarget•Discount
Selection Application Target Selection! non-null Which lines of targetType that the discount is allocated over.
- Anchor to targetTypetarget•Discount
Type Application Target Type! non-null The type of line that the discount is applicable towards.
- Anchor to valuevalue•Pricing
Value! non-null The value of the discount application.
- •OBJECT
Manual discount applications capture the intentions of a discount that was manually created.
- Anchor to allocationMethodallocation•Discount
Method Application Allocation Method! non-null The method by which the discount's value is allocated to its entitled items.
- Anchor to descriptiondescription•String
The description of the application.
- Anchor to targetSelectiontarget•Discount
Selection Application Target Selection! non-null Which lines of targetType that the discount is allocated over.
- Anchor to targetTypetarget•Discount
Type Application Target Type! non-null The type of line that the discount is applicable towards.
- Anchor to titletitle•String!non-null
The title of the application.
- Anchor to valuevalue•Pricing
Value! non-null The value of the discount application.
- •OBJECT
Script discount applications capture the intentions of a discount that was created by a Shopify Script.
- Anchor to allocationMethodallocation•Discount
Method Application Allocation Method! non-null The method by which the discount's value is allocated to its entitled items.
- Anchor to targetSelectiontarget•Discount
Selection Application Target Selection! non-null Which lines of targetType that the discount is allocated over.
- Anchor to targetTypetarget•Discount
Type Application Target Type! non-null The type of line that the discount is applicable towards.
- Anchor to titletitle•String!non-null
The title of the application as defined by the Script.
- Anchor to valuevalue•Pricing
Value! non-null The value of the discount application.