VoucherCodesCreated
Event sent when new voucher codes were created.
Added in Saleor 3.19type VoucherCodesCreated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
voucherCodes: [VoucherCode!]
}
Fields
VoucherCodesCreated.issuedAt ● DateTime scalar miscellaneous
Time of the event.
VoucherCodesCreated.version ● String scalar miscellaneous
Saleor version that triggered the event.
VoucherCodesCreated.issuingPrincipal ● IssuingPrincipal union miscellaneous
The user or application that triggered the event.
VoucherCodesCreated.recipient ● App object apps
The application receiving the webhook.
VoucherCodesCreated.voucherCodes ● [VoucherCode!] list object miscellaneous
The voucher codes the event relates to.