Skip to main content

VoucherMetadataUpdated

Event sent when voucher metadata is updated.

Added in Saleor 3.8
type VoucherMetadataUpdated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
voucher(channel: String): Voucher
}

Fields

VoucherMetadataUpdated.issuedAt ● DateTime scalar miscellaneous

Time of the event.

VoucherMetadataUpdated.version ● String scalar miscellaneous

Saleor version that triggered the event.

VoucherMetadataUpdated.issuingPrincipal ● IssuingPrincipal union miscellaneous

The user or application that triggered the event.

VoucherMetadataUpdated.recipient ● App object apps

The application receiving the webhook.

VoucherMetadataUpdated.voucher ● Voucher object discounts

The voucher the event relates to.

VoucherMetadataUpdated.voucher.channel ● String scalar miscellaneous

Slug of a channel for which the data should be returned.

Interfaces

Event interface miscellaneous