Home > @infiniteobjects/shopify-data-manager > AdminTypes > DiscountAutomaticFreeShippingInput
The input fields to create or update free shipping automatic discount.
Signature:
export interface DiscountAutomaticFreeShippingInput
| Property | Modifiers | Type | Description |
|---|---|---|---|
| appliesOnOneTimePurchase? | InputMaybe<Scalars[‘Boolean’][‘input’]> | (Optional) Whether the discount applies on regular one-time-purchase items. | |
| appliesOnSubscription? | InputMaybe<Scalars[‘Boolean’][‘input’]> | (Optional) Whether the discount applies on subscription items. | |
| combinesWith? | InputMaybe<DiscountCombinesWithInput> | (Optional) Determines which discount classes the shipping discount can combine with. | |
| destination? | InputMaybe<DiscountShippingDestinationSelectionInput> | (Optional) A list of destinations where the discount will apply. | |
| endsAt? | InputMaybe<Scalars[‘DateTime’][‘input’]> | (Optional) The date and time when the discount ends. For open-ended discounts, use null. |
|
| maximumShippingPrice? | InputMaybe<Scalars[‘Decimal’][‘input’]> | (Optional) The maximum shipping price that qualifies for the discount. | |
| 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. |