Lightspeed · Schema

staff-apiCreateWebhookRequest

staff-apiCreateWebhookRequest schema from Lightspeed Restaurant K Series API

POSRetailRestaurantEcommerce

Properties

Name Type Description
notificationType string The type of webhook notification.
url string The URL for the webhook.
webhookName string The name for the webhook.
View JSON Schema on GitHub

JSON Schema

restaurant-k-series-staff-api-create-webhook-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "staff-apiCreateWebhookRequest",
  "description": "staff-apiCreateWebhookRequest schema from Lightspeed Restaurant K Series API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lightspeed-pos/refs/heads/main/json-schema/restaurant-k-series-staff-api-create-webhook-request-schema.json",
  "type": "object",
  "properties": {
    "notificationType": {
      "description": "The type of webhook notification.",
      "type": "string",
      "enum": [
        "shift.created",
        "shift.updated",
        "shift.deleted"
      ]
    },
    "url": {
      "type": "string",
      "description": "The URL for the webhook.",
      "format": "uri"
    },
    "webhookName": {
      "type": "string",
      "description": "The name for the webhook."
    }
  },
  "required": [
    "notificationType",
    "url",
    "webhookName"
  ]
}