eBay Fulfillment API
The eBay Fulfillment API, part of eBay's Sell APIs, lets sellers manage the post-checkout order lifecycle on the marketplace. Sellers retrieve and track orders, create shipping fulfillments with carrier and tracking info, issue refunds, and handle buyer payment disputes end-to-end. It's essential for automating order operations and integrating eBay order data into logistics systems.

Power end-to-end data operations for your eBay Fulfillment API API with Nexla. Our bi-directional eBay Fulfillment API connector is purpose-built for eBay Fulfillment API, making it simple to ingest data, sync it across systems, and deliver it anywhere — all with no coding required. Nexla turns API-sourced data into ready-to-use, reusable data products and makes it easy to send data to eBay Fulfillment API or any other destination. With comprehensive monitoring, lineage tracking, and access controls, Nexla keeps your eBay Fulfillment API workflows fast, secure, and fully governed.
Features
Type: API
- Seamless API Integration: Connect to any endpoint as source or destination without coding, with automatic data product creation
- Visual Composition & Chaining: Build complex integrations using visual templates, chain API calls, and compose workflows with data validation and filtering
- API Proxy: Expose curated slices of your data securely with a secure and customizable API proxy that validates and transforms data on the fly
- Request optimization with intelligent batching, retry, and caching to minimize API calls and costs
Prerequisites
The eBay Fulfillment API uses OAuth 2.0 (3-legged authorization code flow), which requires you to register an application in the eBay Developer Program and obtain an App ID (Client ID) and Cert ID (Client Secret). These credentials identify your registered application and authorize it to act on behalf of an eBay seller account.
Register for the eBay Developer Program
-
Go to https://developer.ebay.com and sign in with your eBay account, or create a new eBay account if you do not already have one.
-
Once signed in, navigate to Hi, [your name] in the top navigation and select Account to access the Developer Program account settings.
Create an Application Keyset
-
Navigate to Application Keys in the developer portal (or go directly to https://developer.ebay.com/my/keys).
-
Click Create a keyset under the Production environment (use Sandbox for testing).
-
Enter a name for your application in the Application Title field, then click Continue.
-
Confirm your primary contact information when prompted, then click Submit.
-
eBay will generate three key values for your application:
-
App ID (Client ID): Uniquely identifies your registered application. This value is used as the Client ID in the Nexla credential.
-
Dev ID: Uniquely identifies your developer account profile. This value is not required for Nexla configuration.
-
Cert ID (Client Secret): Acts as the client secret for token requests. Keep this value confidential—do not share or expose it publicly.
Store your App ID and Cert ID in a secure location immediately after creation. The Cert ID is sensitive and should be treated like a password. For production use, always create a Production keyset; use the Sandbox keyset only for development and testing.
-
-
Before you can use your Production keyset, eBay requires you to subscribe to or opt out of eBay marketplace account deletion/closure notifications. Follow the prompts on the Application Keys page to complete this step.
Configure OAuth Redirect URI
-
In the eBay Developer Portal, navigate to Get a Token from eBay via Your Application (or the OAuth settings section for your keyset).
-
Add Nexla's OAuth redirect/callback URI as an allowed RuName (eBay Redirect URL name). eBay uses RuNames to map redirect URIs to your application. Consult your Nexla instance configuration or contact Nexla support for the exact redirect URI to register.
Confirm Required OAuth Scope
-
The eBay Fulfillment API requires the
https://api.ebay.com/oauth/api_scope/sell.fulfillmentOAuth scope to access order and shipping fulfillment data. This scope is pre-configured as the default in the Nexla eBay Fulfillment API credential. Confirm that your application keyset includes this scope by reviewing the scopes assigned to your keyset in the Developer Portal.For complete details on obtaining eBay OAuth credentials, see the Getting your OAuth credentials guide in the eBay Developers Program documentation.
Authenticate
Credentials required
3-legged OAuth2 authorization for eBay Fulfillment API. User grants application access to manage orders and fulfillment on their behalf.
| Field | Required | Secret | Description |
|---|---|---|---|
| Authorization URL | No | No | The URL endpoint where users authenticate and authorize access |
| Client ID (App ID) | Yes | Yes | The eBay App ID (also called client_id) for the registered keyset. |
| Access Scope | No | No | Space-separated list of OAuth scopes. Fulfillment API requires https://api.ebay.com/oauth/api_scope/sell.fulfillment |
| Token URL | No | No | The URL endpoint where authorization codes are exchanged for access tokens |
| Client Secret (Cert ID) | Yes | Yes | The eBay Cert ID (also called client_secret) used to authenticate token requests. |
| Base URL | Yes | No | eBay Fulfillment API base URL (production or sandbox environment) Allowed values: Production; Sandbox |
Create a credential in Nexla
-
After selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.
-
Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.
The eBay Fulfillment API credential uses a 3-legged OAuth 2.0 flow, which means an eBay seller must interactively grant your application access to manage orders and fulfillment on their behalf. After granting access, eBay issues access tokens that Nexla uses for all API calls.
-
In the Authorization URL field, confirm or enter the eBay OAuth authorization endpoint. The default value is
https://auth.ebay.com/oauth2/authorizeand should not need to be changed for Production use. For Sandbox, usehttps://auth.sandbox.ebay.com/oauth2/authorize. -
Enter your application's App ID (also referred to as Client ID) in the Client ID (App ID) field. This is the App ID generated when you created your application keyset in the eBay Developer Portal.
-
In the Access Scope field, enter the space-separated list of OAuth scopes that this credential will request. The default value is
https://api.ebay.com/oauth/api_scope/sell.fulfillment, which grants access to view and manage order fulfillments. Additional scopes can be added as needed:-
https://api.ebay.com/oauth/api_scope/sell.fulfillment— View and manage order fulfillments (required for the Fulfillment API) -
https://api.ebay.com/oauth/api_scope/sell.finances— View and manage payment and order financial information (required for issuing refunds) -
https://api.ebay.com/oauth/api_scope/sell.payment.dispute— View and manage payment disputes and related details
-
-
In the Token URL field, confirm or enter the eBay token exchange endpoint. The default value is
https://api.ebay.com/identity/v1/oauth2/tokenand is used to exchange authorization codes for access tokens. -
Enter your application's Cert ID (also referred to as Client Secret) in the Client Secret (Cert ID) field. This is the Cert ID generated alongside your App ID in the eBay Developer Portal. This value is stored securely and used to authenticate token requests.
-
In the Base URL field, select the environment for this credential:
-
Production:
https://api.ebay.com/sell/fulfillment/v1— Use this for live eBay seller accounts. -
Sandbox:
https://apiz.ebay.com/sell/fulfillment/v1— Use this for testing and development.
The Sandbox environment is a replica of the Production environment that allows developers to test integrations without affecting real orders or seller accounts. Additional information about eBay's OAuth token flows is available in the Get OAuth access tokens documentation.
-
-
After all fields are configured, Nexla will redirect you to eBay's authorization page, where the eBay seller whose account will be accessed must sign in and grant consent to the requested scopes.
-
Click the Save button at the bottom of the overlay. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation and can be selected for use with a new data source or destination.
Use as a data source
To create a new data flow, navigate to the Integrate section, and click the New Data Flow button. Select the eBay Fulfillment API connector tile, then select the credential that will be used to connect to the eBay Fulfillment API instance, and click Next; or, create a new eBay Fulfillment API credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure data sources to ingest data from common eBay Fulfillment API endpoints. Each template is designed specifically for the corresponding eBay Fulfillment API endpoint, making data source setup easy and efficient. Select the endpoint from which this source will fetch data from the Endpoint pulldown menu. Available endpoint templates are listed in the expandable boxes below. Click on an endpoint to see more information about it and how to configure your data source for this endpoint.
Once the selected endpoint template has been configured, click the Test button to the right of the endpoint selection menu to retrieve a sample of the data that will be fetched. Sample data will be displayed in the Endpoint Test Result panel on the right, allowing you to verify that the source is configured correctly before saving.
Manual configuration
eBay Fulfillment API data sources can also be manually configured to ingest data from any valid eBay Fulfillment API endpoint, including endpoints not covered by the pre-built templates, chained API calls, or custom request parameters. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, endpoint URL, date/time and lookup macros, path to data, metadata, and request headers.
eBay Fulfillment API endpoints follow the base URL pattern https://api.ebay.com/sell/fulfillment/v1/ for Production (or https://apiz.ebay.com/sell/fulfillment/v1/ for Sandbox), followed by the resource path—for example, https://api.ebay.com/sell/fulfillment/v1/order to retrieve all orders. Date/time macros are particularly useful for filter parameters such as creationdate or lastmodifieddate, and lookup-based macros are useful for referencing order IDs, dispute IDs, or other identifiers pulled from another Nexla data source.
Set Path to Data in Response to $.orders[*] for the getOrders endpoint, $.fulfillments[*] for shipping fulfillments, or $.paymentDisputeSummaries[*] for dispute summaries; single-object endpoints such as Get Order do not require a path. The total and limit fields returned alongside the orders array can be preserved as metadata on each record via Path to Metadata in Response. You do not need to include the eBay Fulfillment API's OAuth authorization header in Request Headers—this is handled automatically based on your credential configuration—but you may need to add the X-EBAY-C-MARKETPLACE-ID header for marketplace-specific requests (e.g., X-EBAY-C-MARKETPLACE-ID:EBAY_US).
Once all of the relevant settings have been configured, click the Create button in the upper right corner of the screen to save and create the new eBay Fulfillment API data source. Nexla will now begin ingesting data from the configured endpoint and will organize any data that it finds into one or more Nexsets.
Use as a destination
Click the + icon on the Nexset that will be sent to the eBay Fulfillment API destination, and select the Send to Destination option from the menu. Select the eBay Fulfillment API connector from the list of available destination connectors, then select the credential that will be used to connect to the eBay Fulfillment API organization, and click Next; or, create a new eBay Fulfillment API credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure destinations to send data to common eBay Fulfillment API endpoints. Each template is designed specifically for the corresponding eBay Fulfillment API endpoint, making destination setup easy and efficient. Select the endpoint to which data will be sent from the Endpoint pulldown menu. Then, click on the template in the list below to expand it, and follow the instructions to configure additional endpoint settings.
Manual configuration
eBay Fulfillment API destinations can also be manually configured to send data to any valid eBay Fulfillment API endpoint. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, data format, endpoint URL, request headers, attribute exclusions, record batching, and response webhooks.
eBay Fulfillment API write operations use POST for creating new resources (such as shipping fulfillments and dispute actions), and accept application/json for all write operations. Endpoints follow the base URL pattern https://api.ebay.com/sell/fulfillment/v1/ followed by the resource path—for example, to issue a refund for a specific order, the URL is https://api.ebay.com/sell/fulfillment/v1/order/{orderId}/issue_refund. Replace path parameters such as the order ID or payment dispute ID with the actual values for each record, or use Nexla's lookup-based macros to dynamically populate them from the Nexset data.
You do not need to include the eBay Fulfillment API's OAuth authorization header or the Content-Type: application/json header in Request Headers—these are automatically handled by Nexla based on your credential and data format configuration. You may add the X-EBAY-C-MARKETPLACE-ID header if marketplace-specific behavior is required (e.g., X-EBAY-C-MARKETPLACE-ID:EBAY_US).
Save & activate
Once all endpoint settings have been configured, click the Done button in the upper right corner of the screen to save and create the destination. To send the data to the configured eBay Fulfillment API endpoint, open the destination resource menu, and select Activate.
The Nexset data will not be sent to the eBay Fulfillment API until the destination is activated. Destinations can be activated immediately or at a later time, providing full control over data movement.