Amazon integration connects MeTEY to Amazon Seller Central using the Selling Partner API (SP-API), so orders flow in automatically and inventory flows back out.
⏱️ Set aside about two hours
Amazon's credential setup is the most involved of any platform we support. It spans Seller Central, Amazon's developer console, and AWS. Amazon's own verification can take 1-2 business days, so start well before you need to go live.
Prerequisites
- Professional Seller account - $39.99/month. The Individual plan cannot use the API.
- Valid UPC/EAN codes on your products (required by most Amazon categories)
- An AWS account linked to the same identity as Seller Central
- Admin access to MeTEY to save credentials
Step 1: Upgrade to a Professional Seller Account
- Log into Amazon Seller Central
- Go to Settings → Account Info
- If you are on an Individual account, click Upgrade to Professional
- Complete payment setup and wait for approval (usually instant, sometimes 24 hours)
Step 2: Register as an SP-API Developer
SP-API (Selling Partner API) is how MeTEY talks to your Amazon account.
- In Seller Central go to Apps & Services → Develop Apps
- Click Add New App Client
- Enter these values:
- App Name:
MeTEY Integration - OAuth: Login with Amazon
- Redirect URL:
http://localhost
- App Name:
- Save the two credentials it gives you:
- LWA Client ID - begins
amzn1.application-oa2-client. - LWA Client Secret - a long alphanumeric string
- LWA Client ID - begins
💡 Store these in a password manager
You will need the Client ID and Secret again in the next step, and the Secret cannot always be retrieved later.
Step 3: Generate a Refresh Token
The refresh token lets MeTEY reach your account without you logging in each time. It does not expire unless you revoke access.
- Open this URL in a browser, replacing
{CLIENT_ID}with your LWA Client ID:https://sellercentral.amazon.com/apps/authorize/consent?application_id={CLIENT_ID}&version=beta - Log in if prompted and click Authorize
- You will be redirected to
http://localhost?spapi_oauth_code=XXXXX. The page will not load - that is expected. Copy thespapi_oauth_codevalue from the address bar. - Exchange that code for a refresh token. From a terminal:
curl -X POST https://api.amazon.com/auth/o2/token -d "grant_type=authorization_code" -d "code=XXXXX" -d "client_id={CLIENT_ID}" -d "client_secret={CLIENT_SECRET}" - From the JSON response, save the refresh_token value (it begins
Atzr|)
💡 Not comfortable with the command line?
The same request can be made with a tool like Postman, or your IT provider can run it for you. Contact support@met-software.com if you would like help with this step.
Step 4: Create an AWS IAM User
Amazon requires every API request to be cryptographically signed using AWS credentials.
- Sign into the AWS Console using the account linked to Seller Central
- Go to IAM → Users → Add Users
- User name:
metey-spapi, access type: Programmatic access (not Console access) - Create a policy with this JSON, named
MeTEY-SPAPI-Access:{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "execute-api:Invoke", "Resource": "arn:aws:execute-api:*:*:*" } ] } - Attach the policy to the user and finish creating it
- Save the Access Key ID (begins
AKIA) and Secret Access Key
⚠️ The AWS secret key is shown only once
Download the CSV or copy the Secret Access Key before closing that screen. AWS will not show it again - you would have to generate a new key pair.
Step 5: Find Your Marketplace ID
This identifies which Amazon region you sell in. Find your primary marketplace under Settings → Account Info in Seller Central.
| Country | Marketplace ID | Region |
|---|---|---|
| United States | ATVPDKIKX0DER | na |
| Canada | A2EUQ1WTGCTBG2 | na |
| Mexico | A1AM78C64UM0Y8 | na |
| United Kingdom | A1F83G8C2ARO7P | eu |
| Germany | A1PA6795UKMFR9 | eu |
| France | A13V1IB3VIYZZH | eu |
| Japan | A1VC38T7YXB528 | fe |
| Australia | A39IBJ37TRP1C6 | fe |
Step 6: Enter Credentials in MeTEY
- Open E-Commerce → ⚙️ Channel Configuration
- Add a new channel and select Amazon
- Fill in everything you collected:
- Seller ID - Seller Central → Settings → Account Info
- Marketplace ID and Region - from Step 5
- LWA Client ID and Client Secret - from Step 2
- LWA Refresh Token - from Step 3
- AWS Access Key ID and Secret Access Key - from Step 4
- Click Validate Configuration - you should see a success message
- Click Save. Credentials are encrypted before being stored.
Troubleshooting
| Problem | What to do |
|---|---|
| Validation fails with an authentication error | Most often the refresh token was copied incompletely. It is long and begins Atzr|. Re-run Step 3 if unsure. |
| "Access denied" or signature errors | The AWS IAM policy is missing or wrong. Confirm the execute-api:Invoke policy from Step 4 is attached to the user. |
| Orders are not importing | Check the E-Commerce Dashboard for sync errors, and confirm products are mapped to Amazon SKUs. |
| Listings rejected by Amazon | Usually a missing or invalid UPC/EAN, or a category requiring approval. Amazon's feed processing report gives the specific reason. |