Skip to main content

SubscriptionDiscountDiscountApplyInput

The input fields for choosing the discount to apply. Set one of redeemCode, discountTitle, subscriptionDiscountId or manual.

input SubscriptionDiscountDiscountApplyInput {
discountTitle: String
manual: SubscriptionDiscountManualDiscountApplyInput
redeemCode: String
subscriptionDiscountId: GlobalID
}

Fields​

SubscriptionDiscountDiscountApplyInput.discountTitle ● String scalar types​

The title of an automatic discount to apply.

SubscriptionDiscountDiscountApplyInput.manual ● SubscriptionDiscountManualDiscountApplyInput input types​

A manual discount to create and apply.

SubscriptionDiscountDiscountApplyInput.redeemCode ● String scalar types​

A discount code to redeem.

SubscriptionDiscountDiscountApplyInput.subscriptionDiscountId ● GlobalID scalar types​

The ID of a pending subscription discount to apply, such as one returned by subscriptionDiscountValidate.

Member Of​

SubscriptionDiscountApplyInput input