Deliverect · JSON Structure

Channel Api Channel Snooze Structure

Deliverect Snooze / Unsnooze Products

Type: object Properties: 4
RestaurantDeliveryOnline OrderingPoint of SaleOrder ManagementIntegration

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

Properties

accountId locationId channelLinkId operations

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/deliverect/refs/heads/main/json-structure/channel-api-channel-snooze-structure.json",
  "name": "ChannelSnooze",
  "description": "Deliverect Snooze / Unsnooze Products",
  "type": "object",
  "properties": {
    "accountId": {
      "type": "string",
      "example": "5b****71c6489f0029****d4"
    },
    "locationId": {
      "type": "string",
      "example": "5c****ecc6489f0001****b8"
    },
    "channelLinkId": {
      "type": "string",
      "example": "5e****abc11dec0001****9b"
    },
    "operations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string",
            "example": "snooze"
          },
          "data": {
            "type": "object",
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "plu": {
                      "type": "string",
                      "example": "PIE1"
                    },
                    "snoozeStart": {
                      "type": "datetime",
                      "example": "2020-03-24T16:21:54.955000Z"
                    },
                    "snoozeEnd": {
                      "type": "datetime",
                      "example": "2020-03-24T22:21:54.955000Z"
                    }
                  }
                }
              }
            }
          },
          "allSnoozedItems": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "plu": {
                  "type": "string",
                  "example": "PIE1"
                },
                "snoozeStart": {
                  "type": "datetime",
                  "example": "2020-03-24T16:21:54.955000Z"
                },
                "snoozeEnd": {
                  "type": "datetime",
                  "example": "2020-03-24T22:21:54.955000Z"
                }
              }
            }
          }
        }
      }
    }
  }
}