Skip to main content

PublicProductMetrics

Metrics for a PublicProduct including msrp min/max, price min/max, and discount metrics

type PublicProductMetrics {
countOfVariants: Int!
discountMaximum: Float!
discountMaximumInStock: Float
discountMinimum: Float!
discountMinimumInStock: Float
discountPercentageMaximum: Float!
discountPercentageMaximumInStock: Float
discountPercentageMinimum: Float!
discountPercentageMinimumInStock: Float
inventoryStatus: InventoryStatus!
msrpMaximum: Float!
msrpMaximumInStock: Float
msrpMinimum: Float!
msrpMinimumInStock: Float
priceMaximum: Float!
priceMaximumInStock: Float
priceMinimum: Float!
priceMinimumInStock: Float
standardizedColors: [VariantStandardizedColor!]!
standardizedColorsInStock: [VariantStandardizedColor!]!
}

Fields

PublicProductMetrics.countOfVariants ● Int! non-null scalar

This number is mostly useful in tallying other numbers, averages, etc.

PublicProductMetrics.discountMaximum ● Float! non-null scalar

The maximum discount for all of the variants

PublicProductMetrics.discountMaximumInStock ● Float scalar

The maximum discount for all in stock variants (null if no variants are in stock)

PublicProductMetrics.discountMinimum ● Float! non-null scalar

The minimum discount for all of the variants

PublicProductMetrics.discountMinimumInStock ● Float scalar

The minimum discount for all in stock variants (null if no variants are in stock)

PublicProductMetrics.discountPercentageMaximum ● Float! non-null scalar

The maximum discount percentage for all of the variants

PublicProductMetrics.discountPercentageMaximumInStock ● Float scalar

The maximum discount percentage for all in stock variants (null if no variants are in stock)

PublicProductMetrics.discountPercentageMinimum ● Float! non-null scalar

The minimum discount percentage for all of the variants

PublicProductMetrics.discountPercentageMinimumInStock ● Float scalar

The minimum discount percentage for all in stock variants (null if no variants are in stock)

PublicProductMetrics.inventoryStatus ● InventoryStatus! non-null enum

In Stock if any Variant inventoryStatus is In Stock

PublicProductMetrics.msrpMaximum ● Float! non-null scalar

The maximum MSRP from all of the variants

PublicProductMetrics.msrpMaximumInStock ● Float scalar

The maximum MSRP from all in stock variants (null if no variants are in stock)

PublicProductMetrics.msrpMinimum ● Float! non-null scalar

The minimum MSRP from all of the variants

PublicProductMetrics.msrpMinimumInStock ● Float scalar

The minimum MSRP from all in stock variants (null if no variants are in stock)

PublicProductMetrics.priceMaximum ● Float! non-null scalar

The maximum price from all of the variants

PublicProductMetrics.priceMaximumInStock ● Float scalar

The maximum price from all in stock variants (null if no variants are in stock)

PublicProductMetrics.priceMinimum ● Float! non-null scalar

The minimum price from all of the variants

PublicProductMetrics.priceMinimumInStock ● Float scalar

The minimum price from all in stock variants (null if no variants are in stock)

PublicProductMetrics.standardizedColors ● [VariantStandardizedColor!]! non-null enum

All of the variants standardizedColors

PublicProductMetrics.standardizedColorsInStock ● [VariantStandardizedColor!]! non-null enum

The standardizedColors of only in stock variants

Member of

PublicProduct object