Revel Systems · JSON Structure

Revel Webhooks Stock Status Payload Structure

StockStatusPayload schema from Revel Webhooks

Type: object Properties: 4
POSRestaurantRetailiPad

StockStatusPayload is a JSON Structure definition published by Revel Systems, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id instock type barcode

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/revel-systems/refs/heads/main/json-structure/revel-webhooks-stock-status-payload-structure.json",
  "name": "StockStatusPayload",
  "description": "StockStatusPayload schema from Revel Webhooks",
  "type": "object",
  "properties": {
    "id": {
      "type": "int32",
      "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"
    }
  }
}