Woocommerce V2 API Unable to update order status
-
Hi
I have tried to update orders status using the Woocommerce V2 API, but its not working.
please find my code below:$updateorder = $wc_api->update_order( 6545, array( ‘status’ => ‘completed’ ) );
print_r($updateorder);Please suggest whats wrong with my code.
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Woocommerce V2 API Unable to update order status’ is closed to new replies.