All work

Entry 09 of 11

Work

WooCommerce Automation

Automate orders, inventory, and customer flows

  • Python
  • WooCommerce API
Read the walkthrough
  1. Log the new order
  2. Mark an order as packed
  3. Record shipments and update stock

Overview

Python scripts and API integrations for stores.

What it covers

  • Orders
  • Inventory
  • Customer flows
  • Sync and emails

Test an order fulfilment workflow

  1. Create a test order in a WooCommerce staging store and record its order ID, product SKU and quantity.
  2. Use the WooCommerce API to read that order and record its packing and shipping events against the same order ID.
  3. Replay the shipping event and check that stock was adjusted exactly once for the quantity ordered.