Actions8
Overview
This node integrates with the iFood API to manage merchant-related operations, specifically allowing the deletion of interruptions for a merchant. It is useful for scenarios where a merchant needs to remove a previously scheduled interruption, such as a temporary closure or pause in service. For example, if a merchant had set an interruption for a holiday and now wants to cancel it, this node operation facilitates that action by deleting the specified interruption ID for the given merchant.
Use Case Examples
- Deleting a merchant interruption by providing the merchant ID and the interruption ID to remove a scheduled pause in service.
- Managing merchant interruptions dynamically based on business needs, such as reopening after a temporary closure.
Properties
| Name | Meaning |
|---|---|
| Merchant ID | The unique identifier of the merchant for whom the interruption is to be deleted. This is required to specify which merchant's interruption is targeted. |
| Interruption ID | The unique identifier of the interruption to be deleted. This specifies which interruption record should be removed from the merchant's schedule. |
Output
JSON
json- The response from the iFood API after attempting to delete the specified interruption. This typically includes confirmation of deletion or error details.
Dependencies
- Requires an API key credential for authenticating requests to the iFood API.
Troubleshooting
- Ensure that both Merchant ID and Interruption ID are correctly provided; missing or incorrect IDs will cause the API request to fail.
- Common errors include authorization failures if the API key is invalid or expired, and not found errors if the interruption ID does not exist for the given merchant.
- Network or connectivity issues may prevent the node from reaching the iFood API endpoint, resulting in request timeouts or errors.
Links
- iFood API Documentation - Delete Merchant Interruption - Official API documentation for deleting a merchant interruption, detailing required parameters and response structure.