Skip to main content
Version: 3.x

exportVoucherCodes

Export voucher codes to csv/xlsx file.

Added in Saleor 3.18
This API is currently in Feature Preview and can be subject to changes at later point.
Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_CODE_EXPORT_COMPLETED (async): A notification for the exported file.
exportVoucherCodes(
input: ExportVoucherCodesInput!
): ExportVoucherCodes

Arguments

exportVoucherCodes.input ● ExportVoucherCodesInput! non-null input

Fields required to export voucher codes.

Type

ExportVoucherCodes object

Export voucher codes to csv/xlsx file.

Added in Saleor 3.18
This API is currently in Feature Preview and can be subject to changes at later point.
Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • VOUCHER_CODE_EXPORT_COMPLETED (async): A notification for the exported file.

Was this page helpful?