To perform application homologation it is necessary that it is already ready. Tests are performed on the APP as a whole and not just on our API calls.
Homologation requests with Personal/Student account registrations (CPF) will not be accepted. Only requests with Professional account registration (CNPJ).
The Events module has specific criteria for Polling and Webhook. Check the criteria according to the desired integration method:
Polling
Send requests to the Get New Events endpoint every 30 seconds to not miss orders.
Use the x-pooling-merchants header to filter events by merchant.
Filter events also by type and group, if necessary.
Send Acknowledge Events for all received events (code 200) immediately after the polling request.
For Logistics Integrator applications, it is mandatory to send the parameter excludeHeartbeat=true when making a request to the Get New Events endpoint. This is necessary to prevent the store from being opened, causing order cancellation and subsequently preventing the merchant from being penalized on the platform, due to misuse of the module. Learn more Partner connection status on iFood.
Webhook
Receive events via iFood events webhook successfully.