Get Secure Discount by ID
Retrieves a non-public discount by discountId. These can only be accessed by users with the Discount Read behavior.
Authorizations
JWT Authorization header using the Bearer scheme.
Path Parameters
The ID of the discount
Query Parameters
limits which fields are returned in the response body
Response
OK
Represents a discount for runtime API.
Must be either null or greater than zero.
Gets or sets the AmountType of the discount. Values: Percentage, Amount, FixedPrice, FreeAutoAdd
Indicates whether or not stacking is enabled for this discount
Gets or sets the code associated with the discount.
Gets or sets the content of the discount.
Gets or sets the custom properties of the discount.
Flag to allow or prevent application to multi-ship-to orders, Only applicable to shipping discounts.
Determines whether a discount applies to items with a sale price. Applicable on order and line item discounts. For line items, when this is true, the discount will be disqualified. For order level discounts, when true, the discount will not be applied to those items that have a sale price.
Determines if the discount should apply to sale price or regular price only. Discounts will apply to sale prices by default. Only applies to LineItem product discounts.
Gets or sets the expiration date of the discount.
Indicates if this discount has purchase conditions that must be met before the discount is applied
Gets or sets the unique identifier for the discount.
Products receiving a price from a price list specified here or a child of a specified price list can be discounted.
Readonly property indicating that the condition required purchase is the same as the target items. Used in BxGx and BoGo type discounts.
When set to true then the discount is applied to all of the target items once the minimum quantity per redemption is met.
Gets or sets a value indicating whether the discount is public.
Gets or sets a value indicating whether the discount is a subscription discount.
Gets or sets a value indicating whether the discount is unconditional.
List of distinct labels associated with the discount.
Maximum impact this discount can apply on a single order. Must be either null or greater than zero.
Maximum impact this discount can apply on a single line item. Must be either null or greater than zero.
Maximum number of redemptions for the discount per registered user.
Maximum number of times a user can redeem this discount. Must be either null or greater than zero.
Prevents Line Item Shipping discounts from being applied when a Line Item Product
discount has been applied
Prevents Order Product discounts from being applied when a Line Item Product
or Shipping discount has been applied
Prevents Order Shipping discounts from being applied when a Line Item Product/Shipping
or Order Product discount has been applied
The pricing context this discount is applicable to. Values: Any, OnlinePurchase, ContinuityOrder
Used to determin how discount is evaluated. When set to TargetOnly, then only the Target is used to drive the purchase requirement. When set to Combination, then the Target and Condition are used to drive the purchase requirement.
Enables post-order-discount minimum re-evaluation for eligible free-item discounts. Values null and false are treated as disabled.
Gets or sets the scope of the discount. Values: Order, LineItem
Indicates which stacking layer this discount is a part of
Gets or sets the start date of the discount.

