Admin API / Types

OrderEarnings

Object

What 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 OrderEarnings

Fields

FieldTypeDescription
marketplaceEarningsMoney
The marketplace owner's share of marketplaceFee. Requires the ADMIN role or higher. A lower role gets a FORBIDDEN error on this field only.
marketplaceFeeMoney!
The District fee plus the marketplace owner's fee.
marketplaceFeeTaxMoney!
Sales tax on marketplaceFee. 0 when no tax applied.
netEarningsMoney!
The seller's share of the order after every fee and fee tax. Not the amount paid out.
processingFeeMoney!
The payment processing fee charged to the seller.
processingFeeTaxMoney!
Sales tax on processingFee. 0 when no tax applied.
shippingFeeMoney!
The shipping fee credited to the seller.

Returned by