Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to DiscountAutomaticFreeShippingInput

DiscountAutomaticFreeShippingInput

input_object

The input fields for creating or updating a free shipping discount that's automatically applied on a cart and at checkout.

Anchor to appliesOnOneTimePurchaseappliesOnOneTimePurchase
•
BooleanDefault:true

Whether the discount applies on regular one-time-purchase items.

Anchor to appliesOnSubscriptionappliesOnSubscription
•
BooleanDefault:false

Whether the discount applies on subscription items. Subscriptions enable customers to purchase products on a recurring basis.

•

The discount classes that you can use in combination with the shipping discount.

•

A list of destinations where the discount will apply.

•

The date and time when the discount expires and is no longer available to customers. For discounts without a fixed expiration date, specify null.

Anchor to maximumShippingPricemaximumShippingPrice
•

The maximum shipping price that qualifies for the discount.

•

The minimum subtotal or quantity of items that are required for the discount to be applied.

•

The number of billing cycles for which the discount can be applied, which is useful for subscription-based discounts. For example, if you set this field to 3, then the discount only applies to the first three billing cycles of a subscription. If you specify 0, then the discount applies indefinitely.

•

The date and time when the discount becomes active and is available to customers.

•

The discount's name that displays to merchants in the Shopify admin and to customers.


Was this section helpful?