Help
Lomadee credentials
Where to find each Lomadee credential Affilitera asks for, who can create it, and what each connection error means.
Last updated
Lomadee connects with an affiliate API key and one of your Lomadee channels. The key reads your brands, products and orders; the channel is the one every link Affilitera builds is attributed to.
API Key
Your Lomadee affiliate API key. Affilitera sends it in the x-api-key header on every call, never in a web address. It must carry the scopes brands:read, orders:read, products:read and channels:read; without a scope Lomadee answers 403 for that part.
Where to find it
- Sign in to the Lomadee dashboard.
- Open the account menu → Credenciais de API.
- Create a new key, tick brands:read, orders:read, products:read and channels:read, and choose its validity.
- Copy the key. Lomadee shows the full key only once, when it is created or rotated.
Expiry and rotation: A key can be created to expire after 30 days, 90 days or 1 year, or never. An expired or revoked key is refused (401) within a minute; rotating it gives a new secret and the old one stops working within a minute.
Channel ID
The ID of the Lomadee channel your links are for. Every link is a Lomadee deep link through this channel, carrying your sub-ID in Lomadee's mdasc field, so sales are attributed to the channel and back to the right person. Enter the channel ID (a long code with dashes), not the channel address: only an ID can be checked against your account.
Where to find it
- Sign in to the Lomadee dashboard.
- Open Meus canais.
- Find the channel you promote from. The table shows its address with the channel ID under it.
- Click the channel ID to copy it.
Set up first
- If you have no channel yet, click Novo canal in Meus canais and create one.
- Some brands approve each channel before links work. Request approval for your channel in the dashboard; until a brand approves it, Affilitera builds no link for that brand.
Common errors
These are the messages a Lomadee connection can show on its row in My Network, or after Test connection.
Lomadee: apiKey not saved — enter your Lomadee affiliate API key (x-api-key) and save before testing
The connection test ran with no API key saved.
- Create or copy a key in Lomadee → Credenciais de API.
- Paste it into API Key, save, then test the connection again.
Lomadee: credentials not configured — apiKey (x-api-key) is required
A sync ran without an API key saved.
- Save your API Key on the connection.
- The next sync uses it.
Lomadee API HTTP … — …
Lomadee answered with an error. 401 means the key is missing, invalid, expired or not an affiliate key. 403 means the key is valid but lacks the scope for that call (brands:read, orders:read, products:read or channels:read). 429 means too many calls in a minute.
- For 401: create a new affiliate key in Lomadee → Credenciais de API, paste it into API Key and save.
- For 403: create a key with all four scopes ticked, paste it into API Key and save.
- For 429: wait a minute; Affilitera already spaces its calls one second apart.
Lomadee: no channelId saved on the connection — no brand link is built
The key works, but no channel is saved, so no Lomadee link can be built.
- Copy the channel ID from Lomadee → Meus canais.
- Paste it into Channel ID, save, then test the connection again.
Lomadee: channelId is not a Lomadee channel ID (a UUID from Meus canais) — no brand link is built
The value saved is not a channel ID — often it is the channel address (for example blog-da-ana) instead.
- In Lomadee → Meus canais, copy the ID shown under the channel address.
- Paste it into Channel ID, save, then test again.
Lomadee: link channel not verified — …
Lomadee did not confirm the saved channel for this key: the channel is not on this account (404), the key lacks the channels:read scope (403), or Lomadee could not be reached. No link is built until it is confirmed.
- Check that the channel ID was copied from the same Lomadee account the API key belongs to.
- Check that the key has the channels:read scope; if not, create a key with it and save it.
- Test the connection again.
Lomadee: link channel is not active at Lomadee — no brand link is built
The channel exists on your account but Lomadee reports it inactive. Lomadee only redirects through an active channel.
- Reactivate the channel in Lomadee → Meus canais, or pick an active one.
- Save its ID in Channel ID, then test again.
What each status on the connection means
Credentials rejected
Lomadee refused the saved credentials. They were mistyped, regenerated or revoked on the Lomadee side, or belong to a user who has lost access.
- Open the connection and choose Update credentials.
- Copy each value again from Lomadee, using the steps in the field sections above, and save.
- Test the connection. The next sync uses the new values.
Credentials expired
A token Lomadee issues for a limited time, or for one use only, is no longer valid.
- Create a new token in Lomadee as described in the field section above.
- Save it on the connection and test again.
Credential missing
A value the connection needs has not been saved, so Affilitera cannot call Lomadee at all.
- Open the connection and choose Update credentials.
- Fill in every required field and save.
API access off
Lomadee accepted the credentials but refused the data. API or reporting access is not switched on for this account or site on the Lomadee side.
- Switch on API or reporting access in Lomadee (see the setup notes in the field sections above).
- Test the connection again. Nothing needs changing in Affilitera.
Account mismatch
The saved values come from different Lomadee accounts, for example an ID from one account and a key from another.
- Sign in to the one Lomadee account you want to connect.
- Copy every value from that same account, save, and test again.
Token save pending
Lomadee issued a new token and Affilitera could not save it yet. This usually clears on its own at the next sync.
- Wait for the next sync.
- If the message stays, create a new token in Lomadee and save it on the connection.
Check credentials
Lomadee refused the connection with a message Affilitera does not recognize.
- Check each saved value against Lomadee, using the field sections above.
- Save and test again. If it still fails, contact support and quote the message shown on the connection.