Authentication
Generating an API Key
Log in to Your Account
Sign in to your Seller Assistant account
Navigate to API Keys Page
Go to the account settings and find the API Keys page.
Generate API Key
Click on the “Generate API Key” button. Your new API key will be displayed. Make sure to copy and store it in a secure location, as this key will be used to authenticate your API requests.
Using the API Key
Once you have your API key, you can use it to authenticate your API requests. The API key can be included in your requests in two ways: as a query parameter or as a header.
Header Parameter Method
X-Api-Key
.Here’s an example:
Security Best Practices
Managing Your API Key
Regenerating an API Key
Navigate to API Keys Section
Go to the API Keys page in your account settings.
Generate API Key
Click on the “Generate API Key” button. Your new API key will be displayed. Make sure to copy and store it in a secure location, as this key will be used to authenticate your API requests.
Revoke old API key
Select the key you wish to revoke and click on the “Delete” button. The key will be invalidated immediately.
Revoking an API Key
Navigate to API Keys Section
These are instructions or content that only pertain to the first step.
Revoke API Key
Select the key you wish to revoke and click on the “Delete” button. The key will be invalidated immediately.
Error Handling
403 Access Denied
. Ensure that your API key is included correctly and that it is valid. Below is an example of an unauthorized response:{
"code": "access_denied",
"message": "API Token is invalid",
"trace_id": "4a7d3782-2ab2-435f-8475-62b7f4a9394c"
}
Modified at 2024-09-12 18:15:57