Amazon Token Generation
This document outlines the process for generating Amazon token. The token is required for API integration and must be refreshed periodically.
1. Check integration_credentials
Table in /phpmyadmin
This table contains the necessary configurations for Amazon account integration.
- Action: Verify that all values in the
integration_credentials
table are correct. These values should be identical across every Amazon account used in the integration
2. Check if the Instance is Created in Callbacks
Before generating/refreshing tokens, we need to verify that the 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
3. Review Local Settings
- Action: Check that local settings are configured correctly. This should be done by the team leader
4. Create Amazon Account
- Account Type:
- Vendor: Amazon vendors sell products directly to Amazon in bulk. Amazon then sells these products on its platform
- Seller: Amazon sellers list their products on Amazon’s marketplace and sell directly to consumers
- Account Setup:
- Select Account Type: Choose whether the account should be set up as a vendor or a seller, depending on the needs of the integration.
- Set Client Email: Enter the email address where authentication-related messages will be received. This email will be used for verifying.
- "OAuth Began": Ensure that the "OAuth Began" box is unchecked at the beginning.
- Fill in Merchant ID: The Merchant ID is a unique identifier for each Amazon account. Here’s how to locate it:
* While the Merchant ID is optional, it is recommended for downloading the orders and updates.
5. Finalize Authentication
- Email Confirmation: When the authentication email is received, open the email and follow the confirmation link.
- Success Check: After following the link, if the authentication is successful, you should receive a confirmation message.
- Failed Authentication: If the authentication is not successful and no confirmation message is received, log a bug with Dev Support to investigate and resolve the issue.
6. Additional Tips
- Token Expiry: Token is automatically refreshed every 6 months.