Sales reports and data
How do I get eBay orders with the Sell Fulfillment API (getOrders + OAuth)?
By the FlipTally editorial team · Updated
Call `GET https://api.ebay.com/sell/fulfillment/v1/order` with a User access token from the OAuth authorization code grant that includes the `sell.fulfillment` or `sell.fulfillment.readonly` scope. getOrders returns orders from up to the last two years; use the filter parameter for creation or modified date ranges. Fees and payouts come from the Finances API, not getOrders.
| Piece | Value | Notes |
|---|---|---|
| Endpoint | GET /sell/fulfillment/v1/order | getOrder for one order by ID |
| Token | User access token (authorization code grant) | Application tokens (client credentials) aren't enough for a seller's orders |
| Scope | https://api.ebay.com/oauth/api_scope/sell.fulfillment(.readonly) | Read-only is enough for bookkeeping |
| Filter | creationdate:[start..end] or lastmodifieddate | ISO 8601 timestamps |
| Fees and payouts | Finances API (getTransactions) | Needs the sell.finances scope |
Steps
- Create a developer account and an app keyset at developer.ebay.com.
- Set up the authorization code grant: the seller signs in and consents to your scopes.
- Exchange the code for a user access token and refresh token; refresh the access token when it expires.
- Call getOrders with your date filter and page through results with limit and offset.
- For fees per order, call the Finances API's transactions endpoint.
Do you really need the API?
For one seller's bookkeeping, the transaction report CSV from Seller Hub has orders and every fee with no code or tokens. The API pays off if you're building a tool or syncing many accounts. See downloading the CSV.
Quick answers
Will connecting a third party app to my eBay account get me banned?
Apps that use eBay's official APIs with OAuth are how eBay intends integrations to work. Only grant the scopes an app needs.
Is my data safe if I connect my eBay account to a bookkeeping app?
OAuth means you never share your password, and you can revoke access in your eBay account. CSV import shares nothing with eBay at all.
How do I import my eBay sales into a spreadsheet automatically?
Use the API with a script or a connector service, or download the transaction report on a schedule.
What to do next
Downloaded a report? Drop it into the free check: it finds the header row, reads the fee columns and totals gross, fees, labels, refunds and net by month. Nothing is uploaded.
Check my sales report freeSources
- eBay Developers: Fulfillment API getOrders
- eBay Developers: Fulfillment API overview
- eBay Developers: Finances API overview
- eBay Developers: OAuth tokens
Checked: . General information, not tax or legal advice. Fees and rules change: confirm current values at the official links above.