Skip to main content

SubscriptionDiscountManualDiscountApplyInput

The input fields for creating a manual discount for a subscription.

input SubscriptionDiscountManualDiscountApplyInput {
class: DiscountClass!
combinesWith: SubscriptionDiscountCombinesWithInput
customerGets: SubscriptionDiscountCustomerGetsInput
recurringCycleLimit: NonZeroCount
title: String!
}

Fields​

SubscriptionDiscountManualDiscountApplyInput.class ● DiscountClass! non-null enum types​

The manual discount's class. A SHIPPING discount always takes 100% off shipping.

SubscriptionDiscountManualDiscountApplyInput.combinesWith ● SubscriptionDiscountCombinesWithInput input types​

The other discounts the manual discount can combine with.

SubscriptionDiscountManualDiscountApplyInput.customerGets ● SubscriptionDiscountCustomerGetsInput input types​

What the customer gets from the manual discount. Required unless the class is SHIPPING.

SubscriptionDiscountManualDiscountApplyInput.recurringCycleLimit ● NonZeroCount scalar types​

The maximum number of subscription orders the discount applies to. Leave empty for no limit.

SubscriptionDiscountManualDiscountApplyInput.title ● String! non-null scalar types​

The manual discount's title. It must be unique among the subscription's discounts.

Member Of​

SubscriptionDiscountDiscountApplyInput input