Building a custom WordPress REST API endpoint
A WooCommerce shop was updating stock by hand with a daily CSV export. A custom WordPress REST API endpoint, secured with a permission callback, lets the warehouse system push stock changes straight into the site.