Search in documentation
ctrl+4K
First steps
Homologation
About our APIs

Request access

Request access to store data for your production application. The process varies by application type.
To request access, you must complete the homologation process. Learn more here.
  1. Access My Apps in the Developer Portal and select your application
  2. In the Permissions tab, locate the store by ID or CNPJ
  3. Confirm the store data and send the request
  4. The person responsible for the store receives the request. After approval in the Partner Portal, you access the store data according to the registered modules. Generate a new accessToken.
  1. Create a button/link in your application for the user to grant access.
  2. When the user clicks this button, you must generate a code (userCode) through the endpoint authentication/v1.0/oauth/userCode
  3. Provide the verificationUrlComplete and the userCode to the user.
  4. The user clicks the URL, which opens the Partner Portal
  5. The user (store manager) will see an "Authorize Application" modal and after clicking "Authorize" will receive an authorization code authorizationCode.
  6. The user must copy the authorization code authorizationCode and configure it in the POS.
  7. With the authorization code (authorizationCode) you can authenticate through the authentication/v1.0/oauth/token endpoint.
Example:
curl -X POST 'https://merchant-api.ifood.com.br/authentication/v1.0/oauth/token' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d '{
      "grantType": "authorization_code",
      "clientId": "d28ed85f-9b43-4555-a7c1-9b0df25e9999",
      "clientSecret":"s18lm6m5uwatgihxdl6h9pr0j11ugh9sjjs9a127gohyyqsitzulx12p5b5kty1l59orgbaryy7r1545ty6se9ljnlvea609999",
      "authorizationCode": "LHQX-ZZZZ",
      "authorizationCodeVerifier": "f3u8geu9uq31k7l8co7kct2ow3ctxu1ujoaoewgotj7gc60ji1r3zmzhy13tmcp577gyck4lka3c5852k2jg1h1gkpr8nca9999"
    }
If your application is installed on a device without browser access, display the userCode and guide the user to access the Partner Portal and in the Applications menu, click Activate application via code. After entering the userCode the user receives the authorizationCode.
Was this page helpful?
Rate your experience in the new Developer portal: