eBay Integration
The eBay integration allows you to connect your eBay seller account to Laravel Mail to sync products/listings and manage basic account settings.
Features
- Connect Account: Securely connect your eBay account via OAuth.
- Listings Sync: Sync your active and ended listings from eBay to the platform.
- Sync History: View logs of previous sync operations.
- Account Management: View account status, token expiration, and disconnect when needed.
connecting an Account
- Navigate to Settings -> Integrations -> eBay.
- Click Connect Account.
- You will be redirected to eBay's authorization page.
- Log in and approve the application permissions.
- Upon success, you will be redirected back to the platform.
Syncing Listings
You can sync listings manually or rely on scheduled jobs (if configured).
Manual Sync
- Go to the eBay Listings page.
- Click Sync Now to start a sync process.
- The system will fetch active listings and update local records.
API Reference
The following API endpoints are available for eBay integration:
Accounts
GET /api/ebay/accounts- List connected accountsGET /api/ebay/accounts/{id}/stats- Get account sync statsPOST /api/ebay/accounts/connect- Initiate connectionDELETE /api/ebay/accounts/{id}- Disconnect accountPOST /api/ebay/accounts/{id}/refresh-token- Refresh OAuth token
Listings
GET /api/ebay/listings- List listingsGET /api/ebay/listings/{id}- Get listing detailsPOST /api/ebay/listings/sync- Sync specific listingPOST /api/ebay/listings/bulk-sync- Bulk sync listingsDELETE /api/ebay/listings/{id}- End listing locally (does not end on eBay)