Admin API / Types

ProductSales

Object

Sales of one listing in the counted sold orders. Amounts are in USD.

type ProductSales

Fields

FieldTypeDescription
itemSalesMoney!
Sum of the line totals of the listing's items, at the purchase price. It does not include shipping, tax or discounts, so the sum of itemSales over listings is not totalSales.
orderCountNonNegativeInt!
Number of counted orders with at least one item of the listing.
productProduct
The listing. Null when the listing is deleted or the caller cannot read it. Reading its fields needs the admin:products:read scope.
productIdID!
The listing ID, also when product is null.
unitsSoldNonNegativeInt!
Sum of the quantities of the listing's items.

Returned by