RETM | REST API
  1. Customer 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
        POST
    • Error webhook
      • Stay Alert to Connectivity Issues
      • Error webhook
  • 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. Customer webhook

Customer hook

POST
https://{serviceID}.retm.sa{{YOUR_END_POINT}}

Request

Body Params application/json

Example
{
    "business_refrence": "",
    "timestamp": "0001-01-01T00:00:00",
    "event": "customer.created | customer.updated | customer.deleted",
    "reference":"f70a1df4-3161-4d91-92ca-dbd4a079ac80",
    "customer": {
        "id": 1234,
        "name": "Ahmad Abdullah",
        "name_localized": "احمد عبدالله",
        "phone": "055123456",
        "email": "ahmed@abdullah.com"
    }
}

Responses

🟢200Success
application/json
Body

Example
{}
Modified at 2024-12-09 11:19:09
Previous
Customer Data
Next
Stay Alert to Connectivity Issues
Built with