The input data for creating and updating an automatic discount activity.
Fields
combinesWith ● DiscountCombinesWithInput
The discount types that can be combined with the discount. If the field is null, an empty object ({}), or is omitted, the discount cannot be combined with any other discounts.
More
customerGets ● DiscountCustomerGetsInput!non-null
Information about eligible products and their discounts.
More
endsAt ● Date
The date and time when the discount ends. If null or omitted, the discount has no expiration date.
minimumRequirement ● DiscountMinimumRequirementInput!non-null
The threshold condition of the discount. It can be a minimum product quantity or a minimum order subtotal.
More
startsAt ● Date!non-null
The date and time when the discount starts.
title ● String!non-null
The title of the discount.
customerSelection ● DiscountCustomerSelectionInput
Specify the customer scope eligible for this discount. If null or omitted during an update, the original value remains unchanged.
More
usageLimit ● Int
The maximum number of times the discount can be used. If null or omitted, there is no total usage limit.
Value range: 1–99,999,999
appliesTimesPerCustomer ● Int
The maximum number of times a single customer can use the discount. If null or omitted, there is no limit.
Value range: 1–99,999,999
Was this article helpful to you?