stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > DiscountCodeFreeShipping

AdminTypes.DiscountCodeFreeShipping interface

A code discount that offers customers free shipping on their order.

Signature:

export interface DiscountCodeFreeShipping 

Properties

Property Modifiers Type Description
appliesOncePerCustomer   Scalars[‘Boolean’][‘output’] Whether the discount can be applied only once per customer.
appliesOnOneTimePurchase   Scalars[‘Boolean’][‘output’] Whether the discount applies on regular one-time-purchase shipping lines.
appliesOnSubscription   Scalars[‘Boolean’][‘output’] Whether the discount applies on subscription shipping lines.
asyncUsageCount   Scalars[‘Int’][‘output’] The number of times that the discount has been used.
codeCount   Scalars[‘Int’][‘output’] The number of redeem codes for the discount.
codes   DiscountRedeemCodeConnection A list of redeem codes for the discount.
combinesWith   DiscountCombinesWith Determines which discount classes the discount can combine with.
createdAt   Scalars[‘DateTime’][‘output’] The date and time when the discount was created.
customerSelection   DiscountCustomerSelection The customers that can use the discount.
destinationSelection   DiscountShippingDestinationSelection A shipping destination that qualifies for the discount.
discountClass   ShippingDiscountClass | `${ShippingDiscountClass}` The class of the discount for combining purposes.
endsAt?   Maybe<Scalars[‘DateTime’][‘output’]> (Optional) The date and time when the discount ends. For open-ended discounts, use null.
hasTimelineComment   Scalars[‘Boolean’][‘output’] Indicates whether there are any timeline comments on the discount.
maximumShippingPrice?   Maybe<MoneyV2> (Optional) The maximum shipping price amount accepted to qualify for the discount.
minimumRequirement?   Maybe<DiscountMinimumRequirement> (Optional) The minimum subtotal or quantity that’s required for the discount to be applied.
recurringCycleLimit?   Maybe<Scalars[‘Int’][‘output’]> (Optional) The number of times a discount applies on recurring purchases (subscriptions).
shareableUrls   Array<DiscountShareableUrl> URLs that can be used to share the discount.
shortSummary   Scalars[‘String’][‘output’] A short summary of the discount.
startsAt   Scalars[‘DateTime’][‘output’] The date and time when the discount starts.
status   DiscountStatus | `${DiscountStatus}` The status of the discount.
summary   Scalars[‘String’][‘output’] A detailed summary of the discount.
title   Scalars[‘String’][‘output’] The title of the discount.
totalSales?   Maybe<MoneyV2> (Optional) The total sales from orders where the discount was used.
updatedAt   Scalars[‘DateTime’][‘output’] The date and time when the discount was updated.
usageLimit?   Maybe<Scalars[‘Int’][‘output’]> (Optional) The maximum number of times that the discount can be used.