OBJECT

SubscriptionPromotion

The promotion offer on subscription product.

link GraphQL Schema definition

1type SubscriptionPromotion {
2
3# Contains information on the final checkout price for this promotion.
4checkoutPrice(quantity: Int!, paymentProvider: PaymentProvider!): ProductPurchase
5
6# The subscription's discount type (e.g. "PERCENT_OFF").
7discountType: SubscriptionPromotionDiscountType! @deprecated( reason: "No longer supported." )
8
9# The discount value of the subscription product (e.g. "50").
10discountValue: String! @deprecated( reason: "No longer supported." )
11
12# The subscription's USD-formatted price after discount (e.g. "$2.49").
13newPrice: String! @deprecated( reason: "Use SubscriptionPromotion.previewPrice instead." )
14
15# The subscription's USD-formatted price before discount (e.g. "$4.99").
16oldPrice: String! @deprecated( reason: "Use SubscriptionProduct.priceInfo instead." )
17
18# The price for the promotion.
19previewPrice: PriceInfo!
20
21}