It seems this is where I can parse information to the notes section of an order:
{{ cart.note }}
This was my code to try and add the discount code to the cart note:
{% for discount in discounts %}
discount.code = {{ cart.note }}
{% endfor %}
Can anyone please tell me where I went wrong?