October 5, 2026 · 5 min read
Short answer:
Merchant ID: sign in to AvantLink. It's in the upper right corner of the dashboard, and under Account Settings → Account Information.
API key: it isn't on any settings page. Email support@avantlink.com from a login on the merchant account and ask for a merchant API key. A copy-ready email is below.
Any tool that reads your AvantLink sales and click data needs two values: your Merchant ID and an API key. AvantLink's API calls the key auth_key. Some tools label it Secret Key or Authentication Key. They all mean the same thing.
The Merchant ID takes ten seconds to find. The key is where people get stuck, because no settings page displays it. AvantLink support issues it on request.
The Merchant ID is a number. It identifies your program, not your login, so everyone on your team sees the same one.
Send the request from an email address that is a user on the merchant account, so support can match it to your program. Here's an email you can copy:
To: support@avantlink.com
Subject: Merchant API key request, Merchant ID [your ID]
Hi, please issue a merchant API authentication key for our account, Merchant ID [your ID]. We're connecting a reporting tool that reads our transaction, click and affiliate data. Thanks, [name, company]
Treat the key like a password. Anyone with it can read your program's sales and commissions. Don't paste it into shared docs, tickets or chat threads. Store it in a password manager.
If a key has been shared somewhere it shouldn't be, ask support to reissue it. The old one stops working, so update any tools that use it.
If you run a Canadian program, it lives on AvantLink's Canadian platform at classic.avantlink.ca. It has its own Merchant ID and its own API key. Your US key will not return Canadian data, and the Canadian key will not return US data.
Find the Canadian Merchant ID while signed in at classic.avantlink.ca, and say in your email to support that the key is for your Canadian program.
Canadian sales report in CAD. If you combine the two programs anywhere, convert CAD to USD at each day's rate rather than adding the numbers together.
In the OptimizeAffiliate Shopify app, open Settings, expand AvantLink, paste the Merchant ID and API key, and click Save & Validate AvantLink. The app checks the credentials and starts the first sync of your transactions, clicks and approved affiliates.
For a Canadian program, use AvantLink CA under More networks in Settings with the Canadian Merchant ID and key. Brands on both see each program on its own and a combined total, with CAD converted to USD at the European Central Bank rate for each sale's date. See the Settings docs for the full setup.