--- title: appDiscountType - GraphQL Admin description: An app discount type. api_version: 2025-10 api_name: admin type: query api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/queries/appdiscounttype md: https://shopify.dev/docs/api/admin-graphql/latest/queries/appdiscounttype.md --- # app​Discount​Type query Requires Apps must have `read_discounts` access scope. An app discount type. ## Arguments * function​Id [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) required The ID for the function providing the app discount type. *** ## Possible returns * App​Discount​Type [App​Discount​Type](https://shopify.dev/docs/api/admin-graphql/latest/objects/AppDiscountType) 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. *** ## Examples * ### appDiscountType reference ## Query Reference ```graphql { appDiscountType(functionId) { # appDiscountType fields } } ```