iFood icon

iFood

Integração com as APIs do iFood

Overview

This node integrates with the iFood API to manage merchant-related data, specifically focusing on retrieving the opening hours of a merchant. It is useful for scenarios where users need to programmatically access or update the operating hours of a merchant on the iFood platform, such as for scheduling, reporting, or synchronization with other systems.

Use Case Examples

  1. A restaurant owner wants to automatically fetch their current opening hours from iFood to display on their website.
  2. A delivery service integrates this node to check merchant availability based on opening hours before dispatching orders.

Properties

Name Meaning
Merchant ID The unique identifier of the merchant whose opening hours are to be retrieved. This property is optional but required to specify which merchant's data to fetch.

Output

JSON

  • json - The JSON response from the iFood API containing the opening hours details of the specified merchant.

Dependencies

  • Requires an API key credential for iFood API authentication to make authorized requests.

Troubleshooting

  • If the Merchant ID is not provided or incorrect, the API call may fail or return an error indicating the merchant was not found.
  • Network or authentication errors may occur if the API key credential is missing, invalid, or expired. Ensure the credential is correctly configured in n8n.
  • API rate limits or service outages from iFood can cause request failures; check iFood API status and retry later if needed.

Links

  • iFood API Documentation - Official documentation for the iFood API, including endpoints for merchants and opening hours.

Discussion