Speeding Up WooCommerce API
I’ve been working with WooCommerce REST API for quite a while now, well, I developed a couple of plugins – Simple WordPress Crossposting and Simple Inventory Sync and both of them are relying on WooCommerce REST API.
And when you develop something that is intended to be used not only on your test website with 5 products total but also on high load websites, when orders can contain more than 100 products and variations, of course you should always keep performance in mind.
In this tutorial I will share with you some simple simple yet effective tips and tricks.
Updating Product Stock Programmatically
Since I’ve been working a lot lately with synchronising product stock quantities between multiple WooCommerce stores or within a WordPress Multisite network, I can share with you some interesting insights how it is working.
Get Product Stock Quantity
In this tutorial I will not only show you how to get stock quantity in WooCommerce (of a product or a product variation by the way) but we will also display it on the shop page. Like this:

Create a Post on WordPress.com Site using REST API
I already have a lot of tutorials about working with REST API on regular WordPress websites, but recently I have updated my Simple WordPress Crossposting plugin to make it compatible with websites hosted on wordpress.com as well.
Unexpectedly there is a huge difference between wordpress.org and wordpress.com APIs, so here is the tutorial where we are about to dive into the example of how create a post with a featured image.
WooCommerce REST API: Create Product with Images
I am starting to have more and more tutorials about REST API on my blog which is for sure because I am doing some work with my crossposting plugin.
Today is another one where I am going to share with you a simple code example how you can add Product image and Product gallery images when creating a product with REST API.
Just in case I mean these things:

WooCommerce REST API: Create Products with Attributes
Before all I also recommend you to check my basic WooCommerce REST API tutorial, where we just created and updated some simple products.
Right now I am going to show you two more specific examples. Two – because there are two types of attributes in WooCommerce – custom attributes and the ones that created in Products > Attributes menu (those are technically taxonomies).