Home > @infiniteobjects/shopify-data-manager > AdminTypes > SubscriptionDiscountRejectionReason
The reason a discount on a subscription draft was rejected.
Signature:
export declare enum SubscriptionDiscountRejectionReason
| Member | Value | Description |
|---|---|---|
| CurrentlyInactive | "CURRENTLY_INACTIVE" |
Discount is inactive. |
| CustomerNotEligible | "CUSTOMER_NOT_ELIGIBLE" |
Given customer does not qualify for the discount. |
| CustomerUsageLimitReached | "CUSTOMER_USAGE_LIMIT_REACHED" |
Customer usage limit has been reached. |
| IncompatiblePurchaseType | "INCOMPATIBLE_PURCHASE_TYPE" |
Purchase type does not qualify for the discount. |
| InternalError | "INTERNAL_ERROR" |
Internal error during discount code validation. |
| NoEntitledLineItems | "NO_ENTITLED_LINE_ITEMS" |
Discount does not apply to any of the given line items. |
| NoEntitledShippingLines | "NO_ENTITLED_SHIPPING_LINES" |
No applicable shipping lines. |
| NotFound | "NOT_FOUND" |
Discount code is not found. |
| PurchaseNotInRange | "PURCHASE_NOT_IN_RANGE" |
Purchase amount of items does not qualify for the discount. |
| QuantityNotInRange | "QUANTITY_NOT_IN_RANGE" |
Quantity of items does not qualify for the discount. |
| UsageLimitReached | "USAGE_LIMIT_REACHED" |
Discount usage limit has been reached. |