SbPublicApiVoucherRequest

snowbee.SbPublicApiVoucherRequest

externalReferencerequired

External reference for the voucher (e.g. loyalty program promotion UUID)

Example"abc123-promo-uuid"
titleoptional

Display name for the voucher

Example"Summer Sale 20%"
typeoptional
Allowed values"deleted"
valueoptional

Discount value (percentage 0-100 or fixed amount)

  • Format: BigDecimal
Example"20.00"
View raw schema
{
  "type": "object",
  "properties": {
    "externalReference": {
      "type": "string",
      "description": "External reference for the voucher (e.g. loyalty program promotion UUID)",
      "example": "abc123-promo-uuid",
      "title": "String"
    },
    "title": {
      "type": [
        "null",
        "string"
      ],
      "description": "Display name for the voucher",
      "example": "Summer Sale 20%",
      "title": "String"
    },
    "type": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/kotlin.String"
        }
      ]
    },
    "value": {
      "type": [
        "null",
        "string"
      ],
      "format": "BigDecimal",
      "description": "Discount value (percentage 0-100 or fixed amount)",
      "example": "20.00",
      "title": "BigDecimalAsString"
    }
  },
  "required": [
    "externalReference"
  ],
  "title": "SbPublicApiVoucherRequest"
}