Flipdish · JSON Structure

Marketing Set Voucher Validity Periods Simplified Request Structure

Set the validity periods of a voucher.

Type: object Properties: 3
RestaurantOnline OrderingMobile AppsPoint of SaleOrdersMenuPaymentsWebhooks

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

Properties

DaysOfWeek StartTime EndTime

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/flipdish/refs/heads/main/json-structure/marketing-set-voucher-validity-periods-simplified-request-structure.json",
  "name": "SetVoucherValidityPeriodsSimplifiedRequest",
  "description": "Set the validity periods of a voucher.",
  "type": "object",
  "properties": {
    "DaysOfWeek": {
      "description": "Days of week when the voucher is valid",
      "type": "array",
      "items": {
        "enum": [
          "Sunday",
          "Monday",
          "Tuesday",
          "Wednesday",
          "Thursday",
          "Friday",
          "Saturday"
        ],
        "type": "string"
      },
      "example": [
        "Sunday"
      ]
    },
    "StartTime": {
      "description": "Start time of the day when the voucher is valid",
      "type": "string",
      "example": "2026-06-02T12:00:00Z"
    },
    "EndTime": {
      "description": "End time of the day when the voucher is valid.\r\nIf the end time is before the start time, the end time is assumed to be the next day.",
      "type": "string",
      "example": "2026-06-02T12:00:00Z"
    }
  }
}