CalculatedDiscountApplication object
An auto-generated type for paginating through multiple CalculatedDiscountApplications.
On this page
Fields
- edges (
[[CalculatedDiscountApplicationEdge!]!](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculateddiscountapplication))
A list of edges. - pageInfo (
[PageInfo!](https://shopify.dev/docs/admin-api/graphql/reference/pageinfo))
Information to aid in pagination.
An auto-generated type which holds one CalculatedDiscountApplication and a cursor during pagination.
On this page
Fields
- cursor (
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
A cursor for use in pagination. - node (
[CalculatedDiscountApplication!](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculateddiscountapplication))
The item at the end of CalculatedDiscountApplicationEdge.
Types that return CalculatedDiscountApplicationEdge
[CalculatedDiscountApplicationConnection.edges](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculateddiscountapplication#edges-2021-01)
A discount application involved in order editing that might be newly added or have new changes applied.
Fields
- allocationMethod (
[DiscountApplicationAllocationMethod!](https://shopify.dev/docs/admin-api/graphql/reference/orders/discountapplicationallocationmethod))
The method by which the discount’s value is allocated to its entitled items. - appliedTo (
[DiscountApplicationLevel!](https://shopify.dev/docs/admin-api/graphql/reference/orders/discountapplicationlevel))
The level at which the discount was applied. - description (
[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
The description of discount application. Indicates the reason why the discount was applied. - id (
[ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01))
Globally unique identifier. - targetSelection (
[DiscountApplicationTargetSelection!](https://shopify.dev/docs/admin-api/graphql/reference/orders/discountapplicationtargetselection))
How the discount amount is distributed on the discounted lines. - targetType (
[DiscountApplicationTargetType!](https://shopify.dev/docs/admin-api/graphql/reference/orders/discountapplicationtargettype))
Whether the discount is applied on line items or shipping lines. - value (
[PricingValue!](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/pricingvalue))
The value of the discount application.
Types that implement CalculatedDiscountApplication
[CalculatedAutomaticDiscountApplication](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculatedautomaticdiscountapplication)[CalculatedDiscountCodeApplication](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculateddiscountcodeapplication)[CalculatedManualDiscountApplication](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculatedmanualdiscountapplication)[CalculatedScriptDiscountApplication](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculatedscriptdiscountapplication)
