Skip to main content
Version: 0.1.0

ProductPurchasePreview

No description

type ProductPurchasePreview {
sectionName: String!
productTypeMetadata: ProductTypeMetadata
currentProduct: Product
newProduct: Product
newProductStatus: CatalogProductStatus
}

Fields

ProductPurchasePreview.sectionName ● String! non-null scalar

The section name that the products in this preview would appear under in the product catalog.

ProductPurchasePreview.productTypeMetadata ● ProductTypeMetadata object

Metadata for the product type of the two products in this preview.

ProductPurchasePreview.currentProduct ● Product interface

The current product on the subscription that is possibly being replaced by newProduct.

ProductPurchasePreview.newProduct ● Product interface

The product that will replace currentProduct, or currentProduct if no change is being made.

ProductPurchasePreview.newProductStatus ● CatalogProductStatus enum

The status of newProduct relative to the currentProduct (i.e. downgrade/no change/upgrade)

Member Of

SubscriptionPurchasePreview object