appDiscountType:
AppDiscountType! -
The app discount type providing the discount type.
appliesOnSubscription:
Boolean! -
Whether the discount applies on subscription items.
asyncUsageCount:
Int! -
The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count.
combinesWith:
DiscountCombinesWith! -
Determines which discount classes the discount can combine with.
createdAt:
DateTime! -
The date and time when the discount was created.
discountClass:
DiscountClass! -
The class of the discount for combining purposes.
endsAt:
DateTime -
The date and time when the discount ends. For open-ended discounts, use `null`.
errorHistory:
FunctionsErrorHistory -
The error history on the most recent version of the app discount.
recurringCycleLimit:
Int! -
The number of times a discount applies on recurring purchases (subscriptions). 0 will apply infinitely whereas 1 will only apply to the first checkout.
startsAt:
DateTime! -
The date and time when the discount starts.
status:
DiscountStatus! -
The status of the discount.
DiscountAutomatic
The type of discount associated to the automatic discount. For example, the automatic discount might offer a basic discount using a fixed percentage, or a fixed amount, on specific products from the order. The automatic discount may also be a BXGY discount, which offers customer discounts on select products if they add a specific product to their order.