Job Step: Job Step ExportCouponCodes

Job Step ExportCouponCodes

Exports the codes of a specified coupon.

Execution Context:


Parallel Execution:

Not Supported

Always execute on restart:


Input Parameters

CouponID : String Required

The ID of the coupon whose codes being exported.

ExportFile : String Optional

Export file name and path relative to 'IMPEX/src'. Required if not using FileNamePrefix.

FileNamePrefix : String Optional

Prefix for the export file. A timestamp is appended and site information as applicable. To order the files chronologically, sort alphanumerically. Path is relative to 'IMPEX/src' and can include a subdirectory. Required if not using ExportFile.

NumberOfCodes : Long Optional

The number of coupon codes being exported.

OverwriteExportFile : Boolean Optional

If selected, the option overwrites an existing file. If not selected and a file exists, the job step exits and reports an error.

Default Value: true

StartFrom : Long Optional

The start from position for coupon codes being exported.

Exit Status


Step exit status used when coupon codes export finished successfully.


Step exit status used when coupon codes export failed.