Admin API / Types
OrderEarnings
ObjectWhat the seller earns on an order, in USD. The values are the ones that checkout recorded for the order. A refund does not change them. A fee or fee tax is deducted from the seller's share, and a positive amount is a deduction. Some older orders store a negative amount. The API returns each amount as stored.
type OrderEarningsFields
| Field | Type | Description |
|---|---|---|
marketplaceEarnings | Money | The marketplace owner's share of marketplaceFee. Requires the ADMIN role or higher. A lower role gets a FORBIDDEN error on this field only. |
marketplaceFee | Money! | The District fee plus the marketplace owner's fee. |
marketplaceFeeTax | Money! | Sales tax on marketplaceFee. 0 when no tax applied. |
netEarnings | Money! | The seller's share of the order after every fee and fee tax. Not the amount paid out. |
processingFee | Money! | The payment processing fee charged to the seller. |
processingFeeTax | Money! | Sales tax on processingFee. 0 when no tax applied. |
shippingFee | Money! | The shipping fee credited to the seller. |