The details about the app extension that's providing the
[discount type](https://help.shopify.com/manual/discounts/discount-types).
This information includes the app extension's name and
[client ID](https://shopify.dev/docs/apps/build/authentication-authorization/client-secrets),
[App Bridge configuration](https://shopify.dev/docs/api/app-bridge),
[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations),
[function ID](https://shopify.dev/docs/apps/build/functions/input-output/metafields-for-input-queries),
and other metadata about the discount type, including the discount type's name and description.
Access Scopes
Apps must have `read_discounts` access scope.
Fields
app:
App! -
The name of the app extension that's providing the
[discount type](https://help.shopify.com/manual/discounts/discount-types).
appBridge:
FunctionsAppBridge! -
The [App Bridge configuration](https://shopify.dev/docs/api/app-bridge)
for the [discount type](https://help.shopify.com/manual/discounts/discount-types).
appKey:
String! -
The [client ID](https://shopify.dev/docs/apps/build/authentication-authorization/client-secrets)
of the app extension that's providing the [discount type](https://help.shopify.com/manual/discounts/discount-types).
description:
String -
A description of the
[discount type](https://help.shopify.com/manual/discounts/discount-types)
provided by the app extension.
discountClass:
DiscountClass! -
The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)
that's used to control how discounts can be combined.
functionId:
String! -
The
[function ID](https://shopify.dev/docs/apps/build/functions/input-output/metafields-for-input-queries)
associated with the app extension providing the
[discount type](https://help.shopify.com/manual/discounts/discount-types).
targetType:
DiscountApplicationTargetType! -
The type of line item on an order that the
[discount type](https://help.shopify.com/manual/discounts/discount-types) applies to.
Valid values: `SHIPPING_LINE` and `LINE_ITEM`.
title:
String! -
The name of the [discount type](https://help.shopify.com/manual/discounts/discount-types)
that the app extension is providing.