iFood icon

iFood

Integração com as APIs do iFood

Overview

This node integrates with the iFood API to retrieve the status of a merchant. It is useful for scenarios where you need to check the current operational status of a merchant on the iFood platform, such as whether the merchant is open, closed, or temporarily interrupted. For example, a restaurant owner or a delivery service might use this to monitor merchant availability in real-time.

Use Case Examples

  1. Check if a specific merchant is currently open or closed before accepting orders.
  2. Monitor merchant status to trigger notifications or automate workflows based on merchant availability.

Properties

Name Meaning
Merchant ID The unique identifier of the merchant whose status is to be retrieved. This property is optional; if not provided, the node may operate on a default or list context.

Output

JSON

  • json - The JSON response from the iFood API containing the status information of the specified merchant.

Dependencies

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

Troubleshooting

  • If the Merchant ID is incorrect or not provided when required, the API call may fail or return an error indicating the merchant was not found.
  • API authentication errors may occur if the iFood API credentials are missing or invalid; ensure the correct API key is configured in the node credentials.
  • Network or API downtime can cause request failures; verify network connectivity and iFood API status if errors persist.

Links

  • iFood API Documentation - Official documentation for the iFood API, including endpoints for merchant status and other operations.

Discussion