ebay_get_order_earnings
Retrieve order-level earnings from the eBay Finances API, including gross amounts, fees, refunds, and net payouts. Filter by order creation date to reconcile revenue per order.
Instructions
Get order-level earnings from the eBay Finances API: gross amount, expenses (fees, shipping labels, donations), refunds, and net earnings per order. Filter by orderCreationDate range (defaults to the past year), page with limit/offset, sort by orderCreationDate. Requires the optional https://api.ebay.com/oauth/api_scope/sell.finances.earnings.read scope, which is not requested by default: add it to EBAY_OAUTH_SCOPES and re-run OAuth consent. eBay grants it only to approved US, CN, or HK sellers with USD payouts. eBay requires Digital Signatures on Finances API calls for EU/UK sellers, which this server does not add.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort field; only orderCreationDate is supported. eBay sorts ascending by orderCreationDate by default. | |
| limit | No | Records per page, up to 200 (eBay default 20) | |
| filter | No | Order creation date range in UTC; orderCreationDate is the only supported filter, e.g. orderCreationDate:[2024-10-23T00:00:01.000Z..2024-11-09T00:00:01.000Z]. eBay returns the past year when omitted. | |
| offset | No | Zero-based number of orders to skip, up to 10,000 (eBay default 0) | |
| marketplaceId | No | Overrides the X-EBAY-C-MARKETPLACE-ID header, e.g. EBAY_US, EBAY_GB or EBAY_DE. Defaults to EBAY_MARKETPLACE_ID; eBay assumes EBAY_US when the header is absent. |