Simulations
What Are Sandbox Simulations?
Sandbox Simulations let you:
- Test your integration with realistic, production-like data.
- Simulate actions that happen in a ShipBob facility (e.g., shipping or delivering an order).
- Spot and fix issues before they happen in real life.
Think of it as a practice run—everything works like the real thing, but no actual shipments are made.
If you haven’t created a sandbox account or made your first API request, start with our Sandbox Setup guide.
Step 1: Set Up Your Sandbox Environment
Before running simulations, make sure your sandbox account is ready. Follow our Sandbox Setup guide to:
- Sign up for a sandbox account
- Generate an API access token (API only)
- Use the correct base URLs (API only)
- Add payment methods and inventory (if needed)
Once setup is complete, continue with the steps below to simulate fulfillment events.
Step 2: Understand How Simulations Work
There are two ways to run simulations:
API
- Send a request to a Simulation API endpoint.
- Get a simulation ID in response.
- The simulation runs in the background (it might take a little time to complete).
UI Terminal
- Open the Simulation Terminal from the sandbox dashboard.
- Pick a workflow (e.g.,
fulfill-order,receive-wro,adjust-inventory). - Follow the interactive prompts to provide inputs and advance through stages.
Step 3: Pick an Action to Simulate
Using the API, you can simulate:
- Mark a Shipment/Order as Shipped
- Mark a Shipment/Order as Delivered
Using the UI Terminal, the following workflows are available:
- Receive WRO — Simulate receiving a warehouse receiving order.
- Fulfill Order — Simulate shipping and delivering an order.
- Adjust Inventory — Simulate inventory adjustments.
To simulate other actions, email support@shipbob.com.
Step 4: Prepare for Simulation
Requirements vary by simulation method and workflow. Make sure the relevant conditions are met before running.
API
UI Terminal
The API supports shipment simulations only. Ensure the following before triggering a simulation:
- Inventory: Product must have stock in Cicero (IL) or Moreno Valley (CA).
- Packaging Preferences: Set in Merchant App → Products → [Your Product] → Packaging Preferences.
- Customs Info: Required for international shipments (set under Customs Information).
- Shipment Status: Must not be On-Hold, Exception, or Cancelled.
- Fulfillment Center: Inventory must exist in the selected location.
- Test Payment Method: Add a dummy card in Dashboard → Payment Details using:
4111 1111 1111 1111, any name, email, expiration, and CVC.
Step 5: Run a Simulation
API
UI Terminal
Endpoint
Authorization: Bearer {token}
Header: shipbob_channel_id (integer)
Request Body Schema
Example Requests
Mark as Shipped:
Mark as Delivered:
Ship then Deliver with Delay:
Step 6: Check Simulation Status
Use the simulation_id returned from your request to check its progress.
Endpoint
Authorization: Bearer {token}
Response (200 OK)
Response Fields
status— One ofSuccess,Failed,Pending, orSkipped.schedule_time— Time the action is scheduled for (if delay was set).next— Nested action status (if multiple actions were simulated).
Simulation API Reference
FAQ
What can I simulate?
Using the API, you can simulate:
- Mark as Shipped — Mark a shipment/order as shipped.
- Mark as Delivered — Mark a shipment/order as delivered.
Using the UI Terminal, the following workflows are supported:
- Receive WRO — Simulate receiving a warehouse receiving order (5 stages).
- Fulfill Order — Simulate shipping and delivering an order (5 stages).
- Adjust Inventory — Simulate inventory adjustments (2 stages).
Can I simulate an order in any status?
No. The order cannot be On-Hold, Exception, or Cancelled.
Can I simulate multiple actions?
Yes, up to 5 nested actions.
What happens if I set a delay longer than 2 days?
The delay will be capped at 2880 minutes (2 days).
Can I simulate in the production environment?
No. Simulations are only supported in the Sandbox.
Do I need inventory to simulate a shipment?
Yes. Inventory must be available in a supported fulfillment center.

