Admin API / Types
ProductSalesStats
ObjectSales of one listing in every sold order that the caller reads. Amounts are in USD.
type ProductSalesStatsFields
| Field | Type | Description |
|---|---|---|
itemSales | Money! | Sum of the line totals of the listing's items, at the purchase price. It does not include shipping, tax or discounts. |
lastSoldAt | DateTime | Time of the latest sold order with an item of the listing. Null when the listing has no sale. |
orderCount | NonNegativeInt! | Number of sold orders with at least one item of the listing. |
unitsSold | NonNegativeInt! | Sum of the quantities of the listing's items. |