iFood icon

iFood

Integração com as APIs do iFood

Overview

This node integrates with the iFood API to manage merchant-related operations, specifically allowing users to set the opening hours of a merchant. It is useful for businesses that need to programmatically update their operating hours on the iFood platform, ensuring accurate and timely information for customers. For example, a restaurant can update its weekly opening hours or special holiday hours via this node.

Use Case Examples

  1. A restaurant updates its weekly opening hours to reflect new business times.
  2. A merchant sets special opening hours for holidays or events.

Properties

Name Meaning
Merchant ID The unique identifier of the merchant whose opening hours are being set.
Opening Hours (JSON) A JSON object representing the new opening hours to be set for the merchant.

Output

JSON

  • json - The response from the iFood API after setting the opening hours, typically containing the updated opening hours data or confirmation.

Dependencies

  • Requires an API key credential for iFood API authentication.

Troubleshooting

  • Ensure the Merchant ID is correct and corresponds to an existing merchant on the iFood platform.
  • Verify that the JSON structure for opening hours is valid and conforms to the expected format by the iFood API.
  • Check API credentials and permissions to confirm the node has access to modify merchant data.
  • Common errors include authentication failures, invalid JSON payloads, and resource not found errors. Resolving these involves verifying credentials, correcting JSON format, and confirming merchant existence.

Links

  • iFood API Documentation - Official documentation for the iFood API, including details on managing merchant opening hours.

Discussion