I'm working with a Woocommerce install and I want to have a remote .NET server create coupons on our web store on command.
To this end, I'm trying to set up a PhP web service that will create a coupon programmatically. I've got the basic framework set up, but I'm not sure how to call Woocommerce from a listener script. Can I just make woocommerce calls? Or do I have to import wordpress somehow?
Sorry if this is a noob question, I haven't really done any php programming directly.