--- title: DiscountAutomaticAppInput - GraphQL Admin description: >- The input fields for creating or updating an automatic discount that's managed by an app. Use these input fields when you need advanced, custom, or dynamic discount capabilities that aren't supported by [Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types). api_version: 2026-01 api_name: admin type: input-object api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountAutomaticAppInput md: >- https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountAutomaticAppInput.md --- # Discount​Automatic​App​Input input\_object The input fields for creating or updating an automatic discount that's managed by an app. Use these input fields when you need advanced, custom, or dynamic discount capabilities that aren't supported by [Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types). ## Fields * appliesOnOneTimePurchase * appliesOnSubscription * combinesWith * context * discountClasses * endsAt * functionHandle * metafields * recurringCycleLimit * startsAt * title * functionId: deprecated *** ## Map No referencing types