Discount Code Free Shipping Input
The input fields for creating or updating a free shipping discount that's applied on a cart and at checkout when a customer enters a code.
Anchor to FieldsFields
- Anchor to appliesOncePerCustomerapplies•Boolean
Once Per Customer Whether a customer can only use the discount once.
- Anchor to appliesOnOneTimePurchaseapplies•Boolean
On One Time Purchase Whether the discount applies on one-time purchases. A one-time purchase is a transaction where you pay a single time for a product, without any ongoing commitments or recurring charges.
- Anchor to appliesOnSubscriptionapplies•Boolean
On Subscription Whether the discount applies on subscription items. Subscriptions enable customers to purchase products on a recurring basis.
- Anchor to codecode•String
The code that customers use to apply the discount.
- Anchor to combinesWithcombines•Discount
With Combines With Input The discount classes that you can use in combination with the shipping discount.
- Anchor to customerSelectioncustomer•Discount
Selection Customer Selection Input The customers that can use the discount.
- Anchor to destinationdestination•Discount
Shipping Destination Selection Input The shipping destinations where the free shipping discount can be applied. You can specify whether the discount applies to all countries, or specify individual countries.
- Anchor to endsAtends•Date
At Time 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 maximumShippingPricemaximum•Decimal
Shipping Price The maximum shipping price, in the shop's currency, that qualifies for free shipping.
For example, if set to 20.00, then only shipping rates that cost $20.00 or less will be made free. To apply the discount to all shipping rates, specifynull
.- Anchor to minimumRequirementminimum•Discount
Requirement Minimum Requirement Input The minimum subtotal or quantity of items that are required for the discount to be applied.
- Anchor to recurringCycleLimitrecurring•Int
Cycle Limit The number of billing cycles for which the discount can be applied, which is useful for subscription-based discounts.
For example, if set to3
, then the discount only applies to the first three billing cycles of a subscription. If set to0
, then the discount applies indefinitely.- Anchor to startsAtstarts•Date
At Time The date and time when the discount becomes active and is available to customers.
- Anchor to titletitle•String
The discount's name that displays to merchants in the Shopify admin and to customers.
- Anchor to usageLimitusage•Int
Limit The maximum number of times that a customer can use the discount. For discounts with unlimited usage, specify
null
.