Prerequisites for Creating a Connection

You must satisfy the following prerequisites to create a connection with the eBay Marketplace Adapter:

Obtain the Client ID and Client Secret

  1. Log in to your eBay Developer Program.
  2. Click your account and select Application access keys.
    Application access keys link below the user account, Forums, and Docs & KBs options.

  3. Copy the client ID and client secret.

    You'll need to enter these values on the Connections page when you configure security for your eBay Marketplace Adapter connection in Oracle Integration. See Configure Connection Security.

Use the Authorization Code Credentials Security Policy

If you want to use the authorization code credentials security policy, you must create a redirect URL in eBay.

  1. Log in to your eBay Developer Program.
  2. Click your account and select Application access keys.
  3. Click User Tokens.
  4. Under Get a Token from eBay via Your Application, click +Add eBay Redirect URL.
  5. In the Your auth accepted URL field, enter your Oracle Integration instance URL in the following format:
    https://your_server.com/icsapis/agent/oauth/callback

    The Your eBay Sign-in Settings page shows the Get a Token from eBay via Your Application page. Below this is the How does it work label and a Learn more link. Below this is the Your eBay Sign-in Settings label. Below are the RunName (eBay Redirect URL name), Display Title, and OAuth Enabled labels. Below this are the Your branded eBay Sandbox Sign In (Auth'n'auth), Display Title, and Your privacy policy URL fields. Below this are the Your auth accepted URL and Your auth declined URL.

  6. Click Save.

Obtain the Scope

  1. Log in to your eBay Developer Program.
  2. On the home page, click Docs & KBs > All API Documentation. The list of the APIs is displayed for all the modules.
    The Docs & KBs menu is selected to show options for Buy, Sell, Commerce, Developer, and All API Documentation. To the right of the Docs & KBs menu, the Support menu is shown.

  3. Click the API Reference link for the API you need to configure (for example, Account API).
    The

  4. On the API Reference : Resources page, click a method name.
  5. On the next page, under OAuth scope, find the list of OAuth scopes available for a particular method.
    The OAuth scope page shows the URL of the OAuth scope to copy.

  6. Copy the scope.

    You'll need to enter this value on the Connections page when you configure security for your eBay Marketplace Adapter connection in Oracle Integration. See Configure Connection Security.

Identify the Applicable Scope for the Selected Security Policy

  1. Log in to your eBay Developer Program.
  2. On the home page, click Docs & KBs > All API Documentation.
  3. Click the API Reference link for an API and click a method name.
  4. Click OpenAPI 3 JSON Contract (beta).
    The OpenAPI 3 JSON Contract (beta)

    A JSON file is downloaded.

  5. Open the JSON file.
    The securitySchemes contents of the JSON file are shown.

  6. Scroll to the bottom or search the securitySchemes field. The applicable security policies/policy appear(s).

    Note:

    Search for Security in the downloaded JSON file. If the available scope in the Security field is different than the one you obtained after performing the steps (see Obtain the Scope), you must enter both scopes in the Scope field on the Connections page. See Configure Connection Security. In most cases, the scopes are the same in both locations.