UpdateVoucherTemplateInput

Request structure for updating a voucher template.

Fields

    applicableCategories
    [Int!]
    Required
    Updated applicable categories.
    applicableVendors
    [Int!]
    Required
    Updated applicable vendors.
    autoApproveLimit
    Decimal
    Updated auto-approve limit.
    discountValue
    Decimal
    Updated discount value.
    excludedCategories
    [Int!]
    Required
    Updated excluded categories.
    excludedVendors
    [Int!]
    Required
    Updated excluded vendors.
    isActive
    Boolean
    Whether the template is active.
    maxDiscountAmount
    Decimal
    Updated maximum discount amount.
    minOrderValue
    Decimal
    Updated minimum order value.
    requiresApproval
    Boolean
    Whether approval is required.
    templateDescription
    String
    Updated description.
    templateName
    String
    Updated template name.
    totalUsageLimit
    Int
    Updated total usage limit.
    usageLimitPerUser
    Int
    Updated per-user usage limit.
    validFrom
    String
    Updated valid from date.
    validUntil
    String
    Updated valid until date.
Built with