Voucher
This commit is contained in:
@@ -20,4 +20,16 @@ export interface VoucherApiResponse {
|
||||
success: boolean
|
||||
data: VoucherRowsResponse
|
||||
errors: any
|
||||
}
|
||||
}
|
||||
|
||||
export interface VoucherType {
|
||||
id: number
|
||||
code: string
|
||||
type: 'discount' | 'cashback' | 'free_shipping' | 'product'
|
||||
discountType?: 'fixed' | 'percent'
|
||||
discountValue?: number
|
||||
minPurchase?: number
|
||||
validFrom: string
|
||||
validUntil: string
|
||||
isActive: boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user