DiscountAutomaticBasicInput
input
The input fields for creating and updating an automatic discount.
Fields
The discount types that can be combined with the discount. If the field is
null, an empty object ({}), or omitted, the discount cannot be combined with any other discounts.Information about eligible products and their discounts.
The date and time when the discount ends. Format: ISO 8601. If this field is
null or omitted, the discount has no expiration date.The threshold condition of the discount. It can be a minimum product quantity or a minimum order subtotal.
The title of the discount.
The scope of customers eligible for the discount. If this field is
null or omitted during discount creation, the discount will apply to all customers. If this field is null or omitted during discount update, the original value remains unchanged.The maximum number of times the discount can be used. If this field is
Value range: 1–99,999,999
null or omitted, there is no total usage limit.Value range: 1–99,999,999
The maximum number of times a single customer can use the discount. If this field is
Value range: 1–99,999,999
null or omitted, there is no limit on usage per customer.Value range: 1–99,999,999
Map
DiscountAutomaticBasicInput
Was this article helpful to you?