Mews · Schema

VoucherCodeResult

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
VoucherCodes array Information about voucher codes used by customers.
Cursor string Unique identifier of the item one newer in time order than the items to be returned. If Cursor is not specified, i.e. null, then the latest or most recent items will be returned.
View JSON Schema on GitHub

JSON Schema

mews-vouchercoderesult-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/VoucherCodeResult",
  "title": "VoucherCodeResult",
  "required": [
    "VoucherCodes"
  ],
  "type": "object",
  "properties": {
    "VoucherCodes": {
      "maxItems": 1000,
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/VoucherCode"
      },
      "description": "Information about voucher codes used by customers."
    },
    "Cursor": {
      "type": "string",
      "description": "Unique identifier of the item one newer in time order than the items to be returned. If Cursor is not specified, i.e. null, then the latest or most recent items will be returned.",
      "format": "uuid",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "x-schema-id": "VoucherCodeResult"
}