To create a coupon for an appointment, you'll follow the regular coupon-creation process, outlined here. When selecting an appointment to discount, make sure that you're selecting the correct Eligible Activity from the dropdown.
When you place an order for an appointment on a customer's behalf, using the process outlined here, you'll have the option to select a coupon to apply to the order.