Worlds / Commerce / WooCommerce
WooCommerce world
A local WooCommerce store with products, stock, orders, coupons and refunds. Test the agent that moves orders through statuses, issues refunds and keeps stock counts right.
OrdersRefundsCouponsStockProducts
| Order | Customer | Total | Status |
|---|---|---|---|
| #2301 | Dana Lee | $72.00 | ProcessingCompleted |
| #2302 | Kim Park | $45.00 | On hold |
| #2303 | Moss & Co | $260.00 | ProcessingCancelled · stock not restored |
| #2304 | Ortiz Labs | $98.00 | CompletedCompleted · $20 refunded |
| #2305 | Guest | $19.00 | Pending payment |
fig. 1 · illustrative replica · the agent's changes land as you scroll
What's in this world
What you get when you open WooCommerce. Seeded, local, yours to break.
Seeded records
- products
- 35 simple and variable, managed stock
- orders
- 50 pending, processing, on-hold, completed and refunded
- coupons
- 6 percent and fixed cart, some with usage limits
- customers
- 40 accounts and guest orders
- webhooks
- order.updated and product.updated
Agent jobs you can test
- Complete or cancel orders and restock
- Issue a partial refund on an order
- Create a coupon with the right limits
What your agent can get wrong here
The reply sounds right. The record is what counts.
ActionWhat the world recordsCommon mistake
Cancel an order
order status and product stock_quantityCancels but leaves the stock reducedRefund
refund amount and line itemsRefunds the full order instead of $20Create a coupon
discount_type, amount and usage_limitCreates a fixed cart coupon with no usage limitComplete an order
order statusCompletes an order still on hold for paymentExample test
Describe the job. Review the checks before anything runs.
Clear the order queue. Complete shipped orders. Cancel Moss & Co's order and put the stock back. Refund $20 on Ortiz Labs for the late item, not the whole order.
- 01#2301 Completed
- 02#2303 Cancelled and stock restored for each line
- 03#2304 has one $20 refund
- 04#2302 still On hold
- 05No coupon created
fig. 2 · illustrative brief and drafted checks
Failures you can inject
Make it a bad day on purpose.
effect
404 woocommerce_rest_shop_order_invalid_idfires before the handler · state untouched · same result every runEvidence
StatusIncluded in the closed beta, like every world in the catalog. Apply and tell us the workflow you want to test.Known limitations