Admin API / Types

ProductListTotals

Object

Sums over the listings of a product list. Each sum covers every listing that the list's where and query match, on all pages.

type ProductListTotals

Fields

FieldTypeDescription
listedValueMoney!
Sum of price × quantity over the active variants of the listings, in USD. Inactive variants and variants with unlimited stock are not in the sum: unlimitedStockListingCount counts the listings that have unlimited stock.
unlimitedStockListingCountNonNegativeInt!
Number of the listings that have an active variant with unlimited stock. The unlimited-stock variants are not in listedValue. The other active variants of these listings are in it.
viewCountNonNegativeInt!
Sum of Product.viewCount over the listings.

Returned by