stack

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

AdminTypes.SubscriptionManualDiscount interface

Custom subscription discount.

Signature:

export interface SubscriptionManualDiscount 

Properties

Property Modifiers Type Description
entitledLines   SubscriptionDiscountEntitledLines Entitled line items used to apply the subscription discount on.
id   Scalars[‘ID’][‘output’] The unique ID.
recurringCycleLimit?   Maybe<Scalars[‘Int’][‘output’]> (Optional) The maximum number of times the subscription discount will be applied on orders.
rejectionReason?   Maybe<SubscriptionDiscountRejectionReason | `${SubscriptionDiscountRejectionReason}`> (Optional) The reason that the discount on the subscription draft is rejected.
targetType   DiscountTargetType | `${DiscountTargetType}` Type of line the discount applies on.
title?   Maybe<Scalars[‘String’][‘output’]> (Optional) The title associated with the subscription discount.
type   DiscountType | `${DiscountType}` The type of the subscription discount.
usageCount   Scalars[‘Int’][‘output’] The number of times the discount was applied.
value   SubscriptionDiscountValue The value of the subscription discount.