exportVoucherCodes Mutation
Export voucher codes to csv/xlsx file.
Added in Saleor 3.18.
Triggers the following webhook events:
- VOUCHER_CODE_EXPORT_COMPLETED (async): A notification for the exported file.
Applied directives
@webhookEventsInfo(asyncEvents: [VOUCHER_CODE_EXPORT_COMPLETED], syncEvents: [])
exportVoucherCodes(input: ExportVoucherCodesInput!): ExportVoucherCodes
Returns
Show return type
type ExportVoucherCodes {
exportFile: ExportFile
errors: [ExportError!]!
}Arguments
input
input · ExportVoucherCodesInput!
Fields required to export voucher codes.
Schema: Saleor 3.23.43. Download SDL.