Admin API / Types
LivestreamSales
ObjectFigures over counted orders: sold orders (payment status PAID: paid, ready to ship, shipped or delivered) placed during a livestream, from the sellers whose orders the caller can read. Refunded and cancelled orders do not count, and partial refunds are not subtracted. Counts only the orders in the current payment mode of the marketplace: live orders while its new payments move real money, else test orders. Amounts are in USD.
type LivestreamSalesFields
| Field | Type | Description |
|---|---|---|
buyers | LivestreamBuyerConnection! | The buyers of the counted orders, each once, with the figures of that buyer's counted orders. Defaults to ORDER_COUNT descending; ties sort by buyer ID. Reads at most the first 1,000 buyers (1,000,000 for Soho).Arguments:after: String — Return buyers after this cursor.first: Int — Maximum number of buyers to return. Defaults to 20, at most 100 (10,000 for Soho).sort: LivestreamBuyerSortInput — Sort order. Defaults to ORDER_COUNT descending.where: LivestreamBuyerWhereInput — Buyer filters. |
newBuyerCount | NonNegativeInt! | Number of distinct buyers who are new for the seller of at least one of their counted orders: the buyer had no earlier order with that seller before the start of that order's livestream. An earlier order counts when its status is paid, ready to ship, shipped, delivered or refunded. |
soldProductCount | NonNegativeInt! | Number of distinct listings attached to the livestream with an item in a counted order. |
soldQuantity | NonNegativeInt! | Sum of the item quantities of the counted orders. |
summary | SalesSummary! | Totals of the counted orders. uniqueBuyerCount counts a buyer once across sellers and livestreams. |