how to create a free shipping coupon code in drupal commerce
Use Commerce Discount and Commerce Coupon.


Create a discount that uses the Free shipping offer.
Set the conditions (if any).
Add a coupon that links to this discount.


Now when the coupon is added to the order and the conditions (if any) are met the shipping method specified in the Free shipping offer will free.