Skip to content

Reference

eBay

Set up eBay OAuth for marketplace selling and order management

Connect your users to eBay for marketplace selling, inventory management, order fulfillment, and account data.

PropertyValue
Provider IDebay
CategoryE-commerce
PKCESupported
Token refreshAutomatic
Redirect URIShown in Developer Portal

Go to the eBay Developer Portal

Navigate to developer.ebay.com/my/keys and sign in.

Create a new application

Click Get a Keyset and fill in the application details.

Configure the redirect URI

In the application settings, add the Alter callback URL from the Developer Portal to the RuName (eBay Redirect URL name) configuration.

Get credentials

Copy the Client ID (App ID) and Client Secret (Cert ID).

Open the Developer Portal

Go to portal.alterauth.com and navigate to the application.

Add eBay provider

Go to OAuth Providers > Add Provider > eBay.

Enter credentials

  • Client ID: Paste your eBay App ID
  • Client Secret: Paste your eBay Cert ID

Select scopes

Choose the scopes the application needs.

Save

Click Save. The provider is now active.

ScopeDescription
https://api.ebay.com/oauth/api_scopeAccess to general eBay API endpoints
https://api.ebay.com/oauth/api_scope/sell.marketingAccess to selling marketing tools and promotions
https://api.ebay.com/oauth/api_scope/sell.inventoryAccess to inventory and listing management
https://api.ebay.com/oauth/api_scope/sell.fulfillmentAccess to order fulfillment and shipping
https://api.ebay.com/oauth/api_scope/sell.accountAccess to seller account settings and policies
https://api.ebay.com/oauth/api_scope/commerce.identity.readonlyView the user’s basic eBay account information (immutable user ID)
  • eBay uses full URL strings as scope values rather than short names.
  • eBay has separate sandbox and production environments. Test with sandbox credentials before going to production.
  • See the eBay OAuth documentation for more details.

Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.

Operation IDFamiliesMethodProvider path
issueRefundpaymentPOST/order/{order_id}/issue_refund
acceptPaymentDisputepaymentPOST/payment_dispute/{payment_dispute_id}/accept
contestPaymentDisputewritePOST/payment_dispute/{payment_dispute_id}/contest
addEvidencewritePOST/payment_dispute/{payment_dispute_id}/add_evidence
updateEvidencewritePOST/payment_dispute/{payment_dispute_id}/update_evidence
uploadEvidenceFilewritePOST/payment_dispute/{payment_dispute_id}/upload_evidence_file
createShippingFulfillmentwritePOST/order/{orderId}/shipping_fulfillment
fetchEvidenceContentreadGET/payment_dispute/{payment_dispute_id}/fetch_evidence_content
getActivitiesreadGET/payment_dispute/{payment_dispute_id}/activity
getOrderreadGET/order/{orderId}
getOrdersreadGET/order
getPaymentDisputereadGET/payment_dispute/{payment_dispute_id}
getPaymentDisputeSummariesreadGET/payment_dispute_summary
getShippingFulfillmentreadGET/order/{orderId}/shipping_fulfillment/{fulfillmentId}
getShippingFulfillmentsreadGET/order/{orderId}/shipping_fulfillment

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.