Revel Systems · Schema

StockStatusPayload

StockStatusPayload schema from Revel Webhooks

POSRestaurantRetailiPad

Properties

Name Type Description
id integer Product or modifier ID.
instock boolean
type string
barcode string
View JSON Schema on GitHub

JSON Schema

revel-webhooks-stock-status-payload-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "StockStatusPayload",
  "description": "StockStatusPayload schema from Revel Webhooks",
  "$id": "https://raw.githubusercontent.com/api-evangelist/revel-systems/refs/heads/main/json-schema/revel-webhooks-stock-status-payload-schema.json",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Product or modifier ID.",
      "example": 1
    },
    "instock": {
      "type": "boolean",
      "example": true
    },
    "type": {
      "type": "string",
      "enum": [
        "product",
        "modifier"
      ],
      "example": "product"
    },
    "barcode": {
      "type": "string",
      "example": "0123456789012"
    }
  }
}