Admin API / Types
PeriodSales
ObjectTotals of the sold orders created in one period, as SalesSummary counts them. Amounts are in USD. Every total is 0 when no order matches.
type PeriodSalesFields
| Field | Type | Description |
|---|---|---|
netEarnings | Money! | Sum of what the sellers earn on each counted order after every fee and fee tax. Not the amount paid out. |
orderCount | NonNegativeInt! | Number of counted orders. |
periodStart | Date! | The first day of the period in timeZone: a Monday for WEEK, the first day of the month for MONTH. The first period can start before fromDate, and the last period can end after toDate. Such a period counts only the orders from fromDate to toDate. |
totalSales | Money! | Sum of order totals: subtotal, shipping fee and sales tax, before discounts and credits. |
unitsSold | NonNegativeInt! | Sum of the item quantities of the counted orders. An order with no item adds 0. |