In order to integrate with Mercado Libre, you need to create an application. To create an application, you need to follow the link

https://developers.mercadolibre.com.co/devcenter/

It is necessary to fill in the information:



Specify the callback URL and select the necessary scopes. We recommend you select all because you will need to perform all the actions again.



After creating an application, you will receive an App ID and a Secret Key.



Then you need to create a link

https://auth.mercadolibre.com.co/authorization?response_type=code&client_id=$APP_ID&redirect_uri=$YOUR_URL

In the end, you need to add the domain of the country for which the account is registered. If you go to the link in the browser, there will be a window where you need to grant access to the application.



After that, a redirect will be to the page whose URL should contain the code



Which should be used in the next query


where client_id - App ID, client_secret - Secret Key

As a result, you will receive access_token and refresh_token

To add a page to API2Cart, you need to specify refresh_token, App ID, and Secret Key