eBay Token Generation
This document outlines the process for generating/refreshing eBay tokens. These tokens are required for API integrations and must be refreshed periodically.
1. Check if the eBay Instance is Created in Callbacks
Before generating/refreshing tokens, we need to verify that the eBay instance exists in our system. Follow these steps:
1.1. Log into the Callbacks Database:
1.2. Search for the Client Instance:
- In the database, click on "client", then search for the client instance by clientName
2. Generate and Refresh eBay Tokens
There are two types of tokens:
- Trading API Token – Used for updating/creating products and downloading orders. Account → eBay Token
- Access Token – Used for catalog, metadata, issue refunds, claims. Account Marketplace eBay → Access Token
2.1. Access Token
-
Generate the authorization link:
-
Once you open the tab on ‘Accounts Marketplace eBay’ and click ‘Insert Account Marketplace eBay’, enter the email address that will receive the authorization email
* Please ensure that the cron/cron group is activate, otherwise, you will not receive the mail. *php82 /var/www/ebay/bin/catalog/cron_ebay_003_get_metadata.php
-
-
Check the Email:
-
Once the email is received, click on the link provided. Important: Ensure you are not logged into any other eBay account before clicking the link to avoid conflicts.
-
- Authorize:
- After clicking the authorization link, you'll be prompted to authorize the integration. If the authorization is successful, you should receive a confirmation message.
2.2. Trading API Token
-
Get the Trading Token:
-
Click on the "Get eBay Token" button in the system.
-
-
Follow the Steps:
- A new window will appear with steps to generate the token. Follow these instructions to complete the process.
-
Confirmation:
- After the token is generated, you should receive a confirmation message.
3. Check Token Expiration
- After refreshing the tokens, refresh the "Account Marketplace eBay" page. You should now see the new expiration date for both tokens.
Additional Tips:
- Token Expiry: Tokens must be refreshed every 18 months.
- Password Changes: Tokens must also be refreshed if the client changes their eBay password.