Unfortunately, it is not possible to apply discount codes retroactively. But you can always place a new order and redeem the discount code then.