Mercado Livre
Step by step to create the app in the DevCenter and use it in marketapi.
Create an app in the Mercado Livre DevCenter and register its credential in marketapi. First, read the rules.
Step by step
- Sign in to the DevCenter with the account that will own the integration (preferably a business account). In Brazil, each account creates one app.
- Click "Criar uma aplicação". Name, short name, description and logo: this is what the seller sees on the authorization screen.
- Under redirect URIs, register exactly
https://api.marketapi.shop/connect/mercadolivre/callback. It must behttpsand identical. - Turn on PKCE. marketapi always sends PKCE.
- Scopes: read and write. If the form shows "offline access", check it: without it there is no refresh token.
- Topics and notifications URL: leave blank for now.
- Save and copy the Client ID and the Client Secret.
- In the dashboard, go to BYOK, choose Mercado Livre, paste the credential, tick the responsibility statement and save. marketapi checks the credential with Mercado Livre right away.
Change the secret later
In the DevCenter use "Programar renovação": both secrets stay valid until the date you choose (up to 7 days). Update the secret in the dashboard before then.
"Renove agora" invalidates the old secret immediately, and connections may fail until you update it.
Remember the rules: existing connections stay on the marketapi app, and new ones use yours.