VoucherCode Object
Represents voucher code.
Added in Saleor 3.18type VoucherCode {
id: ID!
code: String
used: Int
isActive: Boolean
createdAt: DateTime!
}
Fields
id
id · ID!
The ID of the voucher code.
code
code · String
Code to use the voucher.
used
used · Int
Number of times a code has been used.
isActive
isActive · Boolean
Whether a code is active or not.
createdAt
createdAt · DateTime!
Date time of code creation.
Used by
Schema: Saleor 3.23.43. Download SDL.