Hello,
If that code is coming from the serial, you can just use the serial data.
If you want to get the code frmo the order, you can use the "order_discount_code" value.
Don't hesitate to use the dropdowns at the bottom of the editor to help you to know which fields are available.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.