--- title: DiscountApplication - Customer API description: Captures the intentions of a discount source at the time of application. api_version: 2025-10 api_name: customer type: interface api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/latest/interfaces/discountapplication md: https://shopify.dev/docs/api/customer/latest/interfaces/discountapplication.md --- # Discount​Application interface Captures the intentions of a discount source at the time of application. ## Fields * allocation​Method [Discount​Application​Allocation​Method!](https://shopify.dev/docs/api/customer/latest/enums/DiscountApplicationAllocationMethod) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The method by which the discount's value is allocated to its entitled items. * target​Selection [Discount​Application​Target​Selection!](https://shopify.dev/docs/api/customer/latest/enums/DiscountApplicationTargetSelection) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The lines of targetType that the discount is allocated over. * target​Type [Discount​Application​Target​Type!](https://shopify.dev/docs/api/customer/latest/enums/DiscountApplicationTargetType) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The type of line that the discount is applicable towards. * value [Pricing​Value!](https://shopify.dev/docs/api/customer/latest/unions/PricingValue) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The value of the discount application. *** ## Types implemented in * [Automatic​Discount​Application](https://shopify.dev/docs/api/customer/latest/objects/AutomaticDiscountApplication) OBJECT Captures the intentions of a discount that was automatically applied. * allocation​Method [Discount​Application​Allocation​Method!](https://shopify.dev/docs/api/customer/latest/enums/DiscountApplicationAllocationMethod) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The method by which the discount's value is allocated to its entitled items. * target​Selection [Discount​Application​Target​Selection!](https://shopify.dev/docs/api/customer/latest/enums/DiscountApplicationTargetSelection) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The lines of targetType that the discount is allocated over. * target​Type [Discount​Application​Target​Type!](https://shopify.dev/docs/api/customer/latest/enums/DiscountApplicationTargetType) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The type of line that the discount is applicable towards. * title [String!](https://shopify.dev/docs/api/customer/latest/scalars/String) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The title of the application. * value [Pricing​Value!](https://shopify.dev/docs/api/customer/latest/unions/PricingValue) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The value of the discount application. * [Discount​Code​Application](https://shopify.dev/docs/api/customer/latest/objects/DiscountCodeApplication) OBJECT Captures the intentions of a discount code at the time that it is applied. * allocation​Method [Discount​Application​Allocation​Method!](https://shopify.dev/docs/api/customer/latest/enums/DiscountApplicationAllocationMethod) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The method by which the discount's value is allocated to its entitled items. * code [String!](https://shopify.dev/docs/api/customer/latest/scalars/String) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The string identifying the discount code used at the time of application. * target​Selection [Discount​Application​Target​Selection!](https://shopify.dev/docs/api/customer/latest/enums/DiscountApplicationTargetSelection) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The lines of targetType that the discount is allocated over. * target​Type [Discount​Application​Target​Type!](https://shopify.dev/docs/api/customer/latest/enums/DiscountApplicationTargetType) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The type of line that the discount is applicable towards. * value [Pricing​Value!](https://shopify.dev/docs/api/customer/latest/unions/PricingValue) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The value of the discount application. * [Manual​Discount​Application](https://shopify.dev/docs/api/customer/latest/objects/ManualDiscountApplication) OBJECT Captures the intentions of a discount that was manually created. * allocation​Method [Discount​Application​Allocation​Method!](https://shopify.dev/docs/api/customer/latest/enums/DiscountApplicationAllocationMethod) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The method by which the discount's value is allocated to its entitled items. * description [String](https://shopify.dev/docs/api/customer/latest/scalars/String) The description of the application. * target​Selection [Discount​Application​Target​Selection!](https://shopify.dev/docs/api/customer/latest/enums/DiscountApplicationTargetSelection) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The lines of targetType that the discount is allocated over. * target​Type [Discount​Application​Target​Type!](https://shopify.dev/docs/api/customer/latest/enums/DiscountApplicationTargetType) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The type of line that the discount is applicable towards. * title [String!](https://shopify.dev/docs/api/customer/latest/scalars/String) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The title of the application. * value [Pricing​Value!](https://shopify.dev/docs/api/customer/latest/unions/PricingValue) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The value of the discount application. * [Script​Discount​Application](https://shopify.dev/docs/api/customer/latest/objects/ScriptDiscountApplication) OBJECT Captures the intentions of a discount that was created by a Shopify Script. * allocation​Method [Discount​Application​Allocation​Method!](https://shopify.dev/docs/api/customer/latest/enums/DiscountApplicationAllocationMethod) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The method by which the discount's value is allocated to its entitled items. * target​Selection [Discount​Application​Target​Selection!](https://shopify.dev/docs/api/customer/latest/enums/DiscountApplicationTargetSelection) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The lines of targetType that the discount is allocated over. * target​Type [Discount​Application​Target​Type!](https://shopify.dev/docs/api/customer/latest/enums/DiscountApplicationTargetType) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The type of line that the discount is applicable towards. * title [String!](https://shopify.dev/docs/api/customer/latest/scalars/String) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The title of the application as defined by the Script. * value [Pricing​Value!](https://shopify.dev/docs/api/customer/latest/unions/PricingValue) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The value of the discount application. *** ```json { "allocationMethod": "", "targetSelection": "", "targetType": "", "value": "" } ```