Flipdish · JSON Structure

Marketing Update Voucher Usage Structure

Update Voucher Usage

Type: object Properties: 3
RestaurantOnline OrderingMobile AppsPoint of SaleOrdersMenuPaymentsWebhooks

UpdateVoucherUsage 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

IsUsed UsedByCustomerId TransactionKey

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-update-voucher-usage-structure.json",
  "name": "UpdateVoucherUsage",
  "description": "Update Voucher Usage",
  "type": "object",
  "properties": {
    "IsUsed": {
      "description": "Flag indicating whether the voucher is used",
      "type": "boolean",
      "example": true
    },
    "UsedByCustomerId": {
      "description": "Indicates Customer that used the voucher.",
      "type": "int32",
      "nullable": true,
      "example": 500123
    },
    "TransactionKey": {
      "description": "An opaque string, to ensure idempotency. This allows for safely retrying requests without accidentally performing the same stamp operation twice. \r\nThis will typically contain the the ID of the sale order.",
      "type": "string",
      "example": "string"
    }
  }
}