All work

Entry 02 of 03

Work

WooCommerce Fulfilment

Keep the order queue and available stock in step

  • WooCommerce API
  • Python
  • Webhooks
Read the walkthrough
  1. Receive a new order
  2. Mark an order as packed
  3. Record shipment and stock

Overview

I use the WooCommerce API to connect order records to the tools a shop uses for packing, tracking stock and sending updates. The order number stays with each update as it moves through fulfilment.

What it covers

  • Order queues
  • Inventory sync
  • Shipment status
  • Customer updates

At the packing desk

A packing queue answers three questions: which order just came in, which one has been packed, and which one has left. The accompanying stock count helps the shop see what is still available to sell.

Create a packing queue

  1. Use the WooCommerce API to read a test order into your packing queue with its order number, items and quantities.
  2. Record when the order is packed and when it ships, keeping the same order number on each update.
  3. Check the shipment status and available stock against the order, then replay its notification to confirm the items are counted only once.