Skip to main content

VoucherCodesCreated Object

Event sent when new voucher codes were created.

Added in Saleor 3.19
type VoucherCodesCreated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
voucherCodes: [VoucherCode!]
}

Fields​

issuedAt ● DateTime​

Time of the event.

version ● String​

Saleor version that triggered the event.

issuingPrincipal ● IssuingPrincipal​

The user or application that triggered the event.

recipient ● App​

The application receiving the webhook.

voucherCodes ● [VoucherCode!]​

The voucher codes the event relates to.

Interfaces​

Event​