title: Add a discount programmatically to an Order in Woocommerce 3.2+
body: <p>In woocommerce, we can add a discount to any order using Coupons feature (fixed amount, percent amount…). </p>
  
  <p>Is it possible to add discount amount to any order programmatically where the discount amount can be any amount? </p>
  
  <p>Any help will be appreciated.</p>