Home > @infiniteobjects/shopify-data-manager > AdminTypes > DiscountAutomaticBasicInput
The input fields to create or update an automatic basic discount.
Signature:
export interface DiscountAutomaticBasicInput
Property | Modifiers | Type | Description |
---|---|---|---|
combinesWith? | InputMaybe<DiscountCombinesWithInput> | (Optional) Determines which discount classes the discount can combine with. | |
customerGets? | InputMaybe<DiscountCustomerGetsInput> | (Optional) Information about the qualifying items and their discount. | |
endsAt? | InputMaybe<Scalars[‘DateTime’][‘input’]> | (Optional) The date and time when the discount ends. For open-ended discounts, use null . |
|
minimumRequirement? | InputMaybe<DiscountMinimumRequirementInput> | (Optional) The minimum subtotal or quantity that’s required for the discount to be applied. | |
recurringCycleLimit? | InputMaybe<Scalars[‘Int’][‘input’]> | (Optional) The number of times a discount applies on recurring purchases (subscriptions). | |
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. |