RETM | REST API
  1. Error webhook
RETM | REST API
  • Developer guide
  • New to our DevPortal 🤔
  • Authentication
    • Token
      POST
  • Webhook
    • Overview
    • Invoice Webhooks
      • Webhook Events
      • Invoice Created
    • Orders Webhooks
      • Webhook Events
      • Order Triggeres
    • Menu Webhooks
      • Menu Updates
      • Menu Changed
    • Loyalty Webhooks
      • Promotional Coupon
      • Check Reward
      • Redeem Reward
    • Customer webhook
      • Customer Data
      • Customer hook
    • Error webhook
      • Stay Alert to Connectivity Issues
      • Error webhook
        POST
  • Orders
    • Orders
      GET
    • Create Order
      POST
    • Cancel Order
      POST
    • Update delivery order status
      POST
  • Menu
    • Categories
      • List Categories
      • Single Categoy
    • Products
      • Products
      • Single Product
      • Simple List
    • Menu
      GET
  • Branches
    • Branches
      GET
  • Devices
    • Devices
      GET
  • Order type
    • Order types
      GET
    • Create order type
      POST
  • Price Lists
    • Price Lists
  • Payment Methods
    • Payment methods
    • Create pay method
  • Order Charges
    • order charges
    • Create order charges
  • Taxes
    • Tax list
    • Create tax
  • Customers
    • Customers
  1. Error webhook

Stay Alert to Connectivity Issues

Stay Alert to Connectivity Issues: The Error Webhook#

RETM offers the error webhook to keep you informed about potential communication challenges between your integration and the platform.

Trigger:#

RETM encounters three consecutive failed attempts to deliver a webhook notification to your designated endpoint.

Notification:#

RETM sends a POST request to your error webhook endpoint, specifically designed to handle delivery errors.
The request contains the following information:
{
    "code": "intger",     // An error code indicating the nature of the failure.
    "endpoint": "string", // The URL of the webhook that failed to receive notifications.
    "message": ""         // A human-readable description of the error.
}

Purpose:#

Alerts you to connectivity issues: Prompts you to investigate and rectify any problems that might be hindering webhook delivery.
Prevents data loss: Ensures you don't miss out on crucial events and updates from RETM.
Facilitates troubleshooting: Provides valuable information to aid in diagnosing and resolving the root cause of delivery failures.

Handling Recommendations:#

Log errors: Meticulously record error webhook notifications for analysis and troubleshooting.
Investigate causes: Analyze logs and error details to identify potential issues, such as network problems, endpoint configuration errors, or application downtime.
Implement corrective measures: Take steps to address identified issues, such as:
Ensuring endpoint availability and responsiveness.
Resolving network connectivity problems.
Optimizing application performance to handle webhooks efficiently.
Implementing retry mechanisms within your integration to handle temporary delivery failures gracefully.

Best Practices:#

Prioritize error webhook handling: Dedicate resources to promptly address error notifications to maintain reliable communication with RETM.
Conduct regular health checks: Proactively monitor webhook delivery success rates and endpoint availability.
Incorporate testing: Thoroughly test webhook integration during development and maintenance phases.
By effectively utilizing the error webhook, you'll maintain a robust and reliable connection with RETM, ensuring data integrity and optimal functionality within your integration.
Modified at 2023-12-25 19:42:39
Previous
Customer hook
Next
Error webhook
Built with