VoucherUpdated
Event sent when voucher is updated.
Added in Saleor 3.4type VoucherUpdated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
voucher(channel: String): Voucher
}
Fields
VoucherUpdated.issuedAt ● DateTime scalar
Time of the event.
VoucherUpdated.version ● String scalar
Saleor version that triggered the event.
VoucherUpdated.issuingPrincipal ● IssuingPrincipal union
The user or application that triggered the event.
VoucherUpdated.recipient ● App object
The application receiving the webhook.
VoucherUpdated.voucher ● Voucher object
The voucher the event relates to.
VoucherUpdated.voucher.channel●StringscalarSlug of a channel for which the data should be returned.
Interfaces
Event interface
Was this page helpful?