kloon / WooCommerce-REST-API-Client-Library

A PHP wrapper for the WooCommerce REST API
GNU General Public License v3.0
356 stars 175 forks source link

Is there a way to send email ? (Invoice #217

Closed MathieuDuboy closed 7 years ago

MathieuDuboy commented 7 years ago

Hi, I'm working on this API and I want to send a customer invoice. Is there a way to do that ?

With : $orders = $client->customers->get_orders($id) ; I have all the information about the order and I want now to send an invoice email like I do in the admin part.

kloon commented 7 years ago

The WC API and this library does not cover sending of emails, you will have to write your own code to take care of that.