Integrating a fitness tracker API with WooCommerce
A client wanted WooCommerce to reward customers who hit their step goals on a fitness tracker. Making the API call on every page load fell apart fast, so here is how we synced the data with a background job and a custom table instead.