CreateVoucherResult (v1)
Result of creating individual voucher codes
| # | Field | Type | Description |
|---|---|---|---|
| 0 | action | string | the action that was performed |
| 1 | result | string | the exit/result code of the action |
| 2 | item_id | int | the voucher item |
| 3 | codes | int | number of codes returned |
| 4 | valid_until | date | last day the codes can be used, empty if they do not expire |
| 5 | free_codes | int | number of unused codes the item has now |