HomeНаука и техникаRelated VideosMore From: DSYNC

Learn how to connect Woocommerce to any rest API

35 ratings | 12572 views
Software tutorial on how to connect Woocommerce to any rest API. Need to do a custom integration with an API? Learn how to enrich, map and extract data from Woocommerce to your custom API.
Html code for embedding videos on your blog
Text Comments (8)
Baldwin Jackson (1 month ago)
I have been trying to connect my WordPress site backend with the woo commerce rest api to create custom dashboard for specify products order. I have used the following code to fetch all the details related to order: try { $results = $woocommerce->get('orders'); $products = $woocommerce->get('products'); $customers = $woocommerce->get('customers'); $result = count($results); $customer = count($customers); $product = count($products); //you can set any date which you want $query = ['date_min' => '2017-10-01', 'date_max' => '2017-10-30']; $sales = $woocommerce->get('reports/sales', $query); $sale = $sales[0]["total_sales"]; } catch(HttpClientException $e) { $e->getMessage(); // Error message. $e->getRequest(); // Last request data. $e->getResponse(); // Last response data. } Source: https://www.cloudways.com/blog/custom-dashboard-using-woocommerce-php-rest-api
Praveen Kumar Kalbi (3 months ago)
I need customer login
Raubi Gour (4 months ago)
apne aap ko he pddda rha hai lol
Abdullah Al Imran (6 months ago)
what plugin do you use?
Adolfo Yanes (7 months ago)
백lively (8 months ago)
hi how are you. currently i building up my website with wordpress. but i’ve get in trouble about REST-API. i received .wsdl/xml documents from another company. i wonder that i can use these documents in this program. those are based on soap. I need your help or little tip. Please mention it:)
Iván Calero Torres (11 months ago)
Hi, Can I import the products of the API to my wordpress woocommerce?
3dhakim (11 months ago)
what application do you use to connect the API? I like it. Thank you

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.