Skip to main content
WEBHOOK
loyaltylog.created
{
  "event": "loyaltylog.created",
  "loyaltylog": {
    "uid": "<string>",
    "client": {
      "uid": "<string>",
      "first_name": "<string>",
      "last_name": "<string>",
      "phone": "<string>",
      "email": "[email protected]"
    },
    "signup_uid": "<string>",
    "loyalty_points": 123,
    "type": "order",
    "input_type": "value",
    "diff_op": "add",
    "diff_points": 123,
    "currency": "<string>",
    "created": "<string>",
    "loyalty_left_value": 123,
    "diff_value": 123,
    "diff_left_value": 123,
    "notes": "<string>",
    "order_uid": "<string>",
    "loyaltylog_uid": "<string>",
    "coupon_code": "<string>",
    "used_coupon_code": "<string>",
    "subrestaurant_uid": "<string>"
  }
}

Authorizations

X-Xmenu-Signature
string
header
required

HMAC-SHA256 signature of the payload, calculated using the restaurant's Webhook Secret. See the Webhook Security documentation for validation details.

Body

application/json
event
enum<string>
required

Event type identifier

Available options:
loyaltylog.created
loyaltylog
object
required

Loyalty points movement record

Response

200

Return a 200 status to indicate that the webhook was received successfully