Skip to main content

SubscriptionDiscountCustomerGetsValueInput

The input fields for a manual discount's value. Set either percentage or discountAmount.

input SubscriptionDiscountCustomerGetsValueInput {
currencyType: DiscountCurrencyType
discountAmount: SubscriptionDiscountAmountInput
percentage: Percentage
}

Fields​

SubscriptionDiscountCustomerGetsValueInput.currencyType ● DiscountCurrencyType enum types​

The currency that discountAmount is in. Defaults to SHOP.

SubscriptionDiscountCustomerGetsValueInput.discountAmount ● SubscriptionDiscountAmountInput input types​

The fixed amount to take off. Ignored when percentage is set.

SubscriptionDiscountCustomerGetsValueInput.percentage ● Percentage scalar types​

The percentage to take off, where 10 means 10%. Any fraction is dropped.

Member Of​

SubscriptionDiscountCustomerGetsInput input