How to trigger the sending of the invoice by email to the customer by the CLI?
-
Hello,
I use the curl woocommerce REST API to create my orders. However, this way of creating orders does not trigger the sending of the invoice by email to the customer. Then I have to send the invoice with the mouse via the wordpress and woocommerce sub-menus.
How to trigger the sending of the customer-invoice.php invoice email from the command line, by submitting the order number to it? There may be a solution with the REST API or wc-cli…
Maybe with wp eval-file ? In this case, how to send the arguments to the program?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to trigger the sending of the invoice by email to the customer by the CLI?’ is closed to new replies.