• Resolved alexalxs

    (@alexalxs)


    I need to run some custom PHP code when an order is placed on a WooCommerce store by API. Currently, I am using ‘woocommerce_api_create_order’or ‘woocommerce_payment_complete’ or ‘woocommerce_payment_complete’, hook which is working perfectly for web front.
    But when an order is placed through API, these hooks are not called.
    Is there any hook that we can use to execute some php code when an order is placed through WooCommerce’s Rest API ?`

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Order by Rest API – No hook found working’ is closed to new replies.