Anchor to SubscriptionDiscountRejectionReasonSubscription
SubscriptionDiscountRejectionReason
enum
The reason a discount on a subscription draft was rejected.
Anchor to Valid valuesValid values
- Anchor to CURRENTLY_INACTIVECURRENTLY_INACTIVE•
Discount is inactive.
- Anchor to CUSTOMER_NOT_ELIGIBLECUSTOMER_NOT_ELIGIBLE•
Given customer does not qualify for the discount.
- Anchor to CUSTOMER_USAGE_LIMIT_REACHEDCUSTOMER_USAGE_LIMIT_REACHED•
Customer usage limit has been reached.
- Anchor to INCOMPATIBLE_PURCHASE_TYPEINCOMPATIBLE_PURCHASE_TYPE•
Purchase type does not qualify for the discount.
- Anchor to INTERNAL_ERRORINTERNAL_ERROR•
Internal error during discount code validation.
- Anchor to NO_ENTITLED_LINE_ITEMSNO_ENTITLED_LINE_ITEMS•
Discount does not apply to any of the given line items.
- Anchor to NO_ENTITLED_SHIPPING_LINESNO_ENTITLED_SHIPPING_LINES•
No applicable shipping lines.
- Anchor to NOT_FOUNDNOT_FOUND•
Discount code is not found.
- Anchor to PURCHASE_NOT_IN_RANGEPURCHASE_NOT_IN_RANGE•
Purchase amount of items does not qualify for the discount.
- Anchor to QUANTITY_NOT_IN_RANGEQUANTITY_NOT_IN_RANGE•
Quantity of items does not qualify for the discount.
- Anchor to USAGE_LIMIT_REACHEDUSAGE_LIMIT_REACHED•
Discount usage limit has been reached.
Was this section helpful?
Anchor to FieldsFields
- Anchor to SubscriptionAppliedCodeDiscount.rejectionReasonSubscription•
Applied Code Discount.rejection Reason OBJECT The reason that the discount on the subscription draft is rejected.
- •OBJECT
The reason that the discount on the subscription draft is rejected.
Was this section helpful?