VoucherCreated Object
Event sent when new voucher is created.
type VoucherCreated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
voucher(channel: String): Voucher
}
Interfaces
Fields
issuedAt
issuedAt · DateTime
Time of the event.
version
version · String
Saleor version that triggered the event.
issuingPrincipal
issuingPrincipal · IssuingPrincipal
The user or application that triggered the event.
recipient
recipient · App
The application receiving the webhook.
voucher
voucher · Voucher
The voucher the event relates to.
channel
channel · String
Slug of a channel for which the data should be returned.
Schema: Saleor 3.23.43. Download SDL.