Orders (Admin)
Back-office order management — fulfillment, refunds, status updates.
Where to find it
Admin: /commerce/orders
List view
- Paginated table with order number, customer email, total, status, payment status, date
- Filter by status (pending, processing, shipped, delivered, cancelled, refunded)
- Filter by test / live orders
- Click an order to open detail
Detail view
Shows:
- Customer info (billing + shipping)
- Line items + addons
- Payment info (gateway ID, method)
- Order history timeline
- Tracking (if set)
- Returns filed against this order
- Refund log
Actions
- Update status — pending → processing → shipped → delivered → etc.
- Set tracking — enter tracking number + carrier
- Refund — full or partial (triggers Stripe/PayPal refund)
- Cancel — marks cancelled and releases inventory
- Resend confirmation — email the customer again
Inventory allocation
When an order is placed, inventory is hard-allocated:
commerce__variant_inventory_map.reserved = 1reserved_order_id = {order_id}- Variant
quantity_availabledecremented
On cancellation/refund, inventory is released back.
Test orders
Orders from spk_test_ API keys have is_test = 1. They:
- Don't count toward revenue reports
- Don't send customer emails
- Use Stripe test mode
Toggle visibility in the admin list to hide/show test orders.
Webhooks
Status transitions fire webhooks — see webhooks documentation.