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.
{
"$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"
}
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.