WooCommerce-REST-API-Client-Library
WooCommerce-REST-API-Client-Library copied to clipboard
A PHP wrapper for the WooCommerce REST API
Hello guys, I have a word-press E-commerce website. and all the data with images and description are available in phpmyadmin database. I want to use same database for my application....
$client->products->get_categories() I need to exclude one category from this how can I do it
Hi, I have just started to use your libary and everything works fine with read, read individual item, create a new product, but when I try to update a product...
Is it possible to insert data from wordpress plugin to sql server?
I save the order, but the order addresses (Other Information) are not saved. Please help! My php code: ///////////////////////////////////////////////////////////// $orderData = array( "order" => array( "billing_address" => array( array( "first_name"...
Hi, I have a problem with library, which that after return json, return a null word at the end of json, I have no idea what is that : ----------------------------------------returned...
Hi, how can i filter order by ther id or oreder_key? I want to check if the order exsit or no befor .... With the product :: `$client = new...
Hi, i have the same issue as this https://stackoverflow.com/questions/29635202/woocommerce-downloadable-files-disappear-after-database-restore I have applied the updated code $wc_api->products->update( $product_id, array('title'=>$name,'downloads'=>array(array('name'=>$name,'file'=>$newURL)))); so mine looks like this: ``` while($row = $result->fetch_assoc()) { $product_id =...
Getting only 10 orders at a time. How can I get all the orders together? I am using below code: ``` ```
Hi, In Woocommerce api call to get orders i will get **200** Success Status code but it returns invalid json. Here is my response Invalid JSON returned for https://mysite/wc-api/v2/orders?filter%5Blimit%5D=-1&status=Processing&filter%5Bcreated_at_min%5D=2017-12-01&filter%5Bcreated_at_max%5D=2018-01-06&consumer_key=myConsumerKey&consumer_secret=MySecretKey. **200**...