Fixed issue #35035 in WooCommerce
The issue
When updating an order status via the REST API, there is no way to designate this action as manual. Therefore, the automatically generated order note, such as “Order status changed from Failed to On hold,” is recorded as a system note.
The fix
Here is the pull request to fix the issue: https://github.com/woocommerce/woocommerce/pull/46900
We have introduced a new parameter, manual_update, to the API endpoint: wc/v3/orders. If the value is set to true, the status update will be attributed to the user on whose behalf the API call is made. This means that on the order screen in the admin dashboard, the user’s name will be mentioned below the order note.
