Overview
A Warehouse Receiving Order (WRO) is how ShipBob manages inbound shipments into their fulfillment centers. Some other solutions call this an “ASN” (Advanced Ship Notice). This guide will walk you through building an integration to send inventory to ShipBob and sync it back to your system.How It Works
Here’s the flow of creating and tracking a Warehouse Receiving Order:Step 1: Check if Products Exist in ShipBob
Before creating a WRO, every product needs aninventory_id from ShipBob.
Check if a product exists:
Step 2: Create a WRO
Once you have yourinventory_id values, create the WRO:
Use the
box_labels_uri from the response in the next step if you are fetching box labels.- Package - For boxes (max 50 boxes per request)
- Pallet - For palletized freight shipments (each pallet is a separate box)
- FloorLoadedContainer - For container shipments (entire container as one box)
Creating WROs with Lot Items
If you’re sending lot-tracked items (products with expiration dates or batch numbers), you must includelot_date and lot_number for each item in your WRO.
Example request with lot items:
| Field | Required | Description |
|---|---|---|
lot_number | Yes | Your lot/batch identifier (e.g., “LOT-2222”, “BATCH-A1”) |
lot_date | Yes | The lot expiration date or manufacture date in ISO 8601 format |
inventory_id | Yes | The ShipBob inventory ID for the product |
quantity | Yes | Number of units in this lot |
Step 3: Generate Box Labels (Optional)
Print box labels to help the warehouse identify your shipment:Step 4: Poll for Completed WROs
Set up a recurring job (every 15-30 minutes) to check for completed WROs that need to be synced. Check for completed WROs:- Completed - The warehouse has finished processing them
- Not synced - You haven’t updated your system yet (ExternalSync=false)
- Get the inventory quantities from the WRO
- Update your system with the new inventory levels
- Mark the WRO as synced so you don’t process it again
Step 5: Mark WRO as Synced
After updating your inventory system, mark the WRO as synced to prevent duplicate processing:Advanced: Track Individual Boxes
Want to see details for each box? Use this endpoint:Understanding the Inventory Quantities
When you sync a completed WRO, you’ll see three quantity fields:| Field | What it means |
|---|---|
expected_quantity | What you said you were sending |
received_quantity | What actually arrived at the warehouse |
stowed_quantity | What was added to your available inventory |
Important Fields
package_type - Determines how your shipment is configured. Choose based on your shipping method:
- Package - Standard boxes shipped via carrier (max 50 per request)
- Pallet - Palletized freight shipments (each pallet = one box)
- FloorLoadedContainer - Full container shipments (entire container = one box)
expected_arrival_date - The date your shipment is expected to arrive at the fulfillment center. Must be set to a future date - using today’s date or a past date will result in an error.
purchase_order_number - Your internal PO number or shipment identifier. Use a unique value for each WRO to simplify tracking and reconciliation.
tracking_number - The carrier tracking number for each box or pallet. This enables the warehouse to scan and verify your shipment upon arrival.
is_external_sync - A boolean flag that tracks whether you’ve synced the WRO data back to your system:
- Default value:
falsewhen the WRO is created - Query unsynced WROs: Use
ExternalSync=falseto find WROs that need processing - Mark as synced: Set to
trueafter updating your inventory system - Purpose: Prevents duplicate processing of the same WRO
WRO Status Flow
Your WRO goes through these stages:| Status | Description |
|---|---|
| Awaiting | WRO has been created and is waiting for the shipment to physically arrive at the destination warehouse |
| Arrived | Entire shipment has physically arrived at the destination warehouse and is ready for processing |
| PartiallyArrived | Only part of the ordered items/quantities have arrived at the destination warehouse; the rest are still in transit or pending |
| Processing | Shipment has been checked in at the warehouse and receiving/unloading/quality check activities are in progress |
| Completed | All items have been fully received, inspected, and put away in the warehouse inventory. The WRO is closed |
| Cancelled | The Warehouse Receiving Order has been cancelled (no further receiving expected) |
You can only cancel a WRO while it’s in
Awaiting status.Common Issues
Arrival date must be in the future
Arrival date must be in the future
Set
expected_arrival_date to tomorrow or later. Don’t use today’s date or past dates.Product with inventory_id X does not exist
Product with inventory_id X does not exist
Create the product first, then use the
inventory_id it returns.WRO stuck in Processing for days
WRO stuck in Processing for days
Contact ShipBob support with your WRO ID. The warehouse might be experiencing delays.
How to find the fulfillment center ID?
How to find the fulfillment center ID?
Make a request to the GET Fulfillment Center endpoint at
/2025-07/fulfillment-center to get a list of fulfillment centers you have access to.Tips
- Poll every 15-30 minutes - Receiving can take hours or a few days depending on warehouse volume
- Use unique PO numbers - Makes tracking and reconciliation easier
- Always verify
inventory_idexists - Prevents WRO creation failures - API rate limit - 150 requests per minute
- Consider time zones - Dates are in UTC; convert appropriately
