I'm using a 3rd party javascript to pass the 3rd party order information like revenue, order numbers, etc.
For example, I'm placing !ORDERTOTAL! in the javascript, and then when the orderconfirmation.aspx page loads, the script sends the order's revenue total to the 3rd party system.
I'd also like to send coupon codes used to the 3rd party, but I'm having a hard time finding a variable that stores the coupon code that was used (if any) during an order.
Is there a variable for that?