Home > @infiniteobjects/shopify-data-manager > AdminTypes > DiscountAutomaticAppInput
The input fields to create an app discount.
Signature:
export interface DiscountAutomaticAppInput
| Property | Modifiers | Type | Description |
|---|---|---|---|
| combinesWith? | InputMaybe<DiscountCombinesWithInput> | (Optional) Determines which discount classes the discount can combine with. | |
| endsAt? | InputMaybe<Scalars[‘DateTime’][‘input’]> | (Optional) The date and time when the discount ends. For open-ended discounts, use null. |
|
| functionId? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) The ID of the function providing the app discount type. | |
| metafields? | InputMaybe<Array<MetafieldInput>> | (Optional) Additional metafields to associate to the discount. | |
| startsAt? | InputMaybe<Scalars[‘DateTime’][‘input’]> | (Optional) The date and time when the discount starts. | |
| title? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) The title of the discount. |