Skip to main content

Placing Orders

This guide covers how orders are created and managed in Switchyard, including manual order creation for testing.

Order Sources

Orders can enter Switchyard from multiple sources:

Creating Test Orders

For testing the fulfillment flow without using the mobile app, you can create test orders directly from the Admin API.

Via API

Response:

Request Parameters

Listing Test Orders

Returns only orders marked as test orders.

Using Draft Orders

Switchyard’s built-in draft order system provides a full-featured way to create orders:
  1. Go to OrdersDraft Orders in the admin dashboard
  2. Click Create Draft Order
  3. Add customer, items, and shipping details
  4. Complete the draft to create the order
Draft orders go through the complete order flow and are useful for testing end-to-end.

Order Flow After Creation

Once an order is created (from any source), it follows the standard fulfillment flow:
  1. Pending - Order received, awaiting processing
  2. Processing - System analyzing sourcing (RFC vs sweep)
  3. Sweep/Picking - Items being sourced
  4. Staged - Order assembled in tote
  5. Delivering - Robot en route
  6. Delivered - Complete
See Order Flow for detailed documentation.

Testing Scenarios

Common scenarios to test:

RFC-Only Order

Create an order with items that are in RFC stock:

Sweep Order

Create an order with items that require retailer sourcing:

Hybrid Order

Create an order with both RFC and sweep items:

Cleanup

Test orders are marked with is_test_order: true in metadata and can be filtered/deleted separately from production orders.