Order Intake API: Start Here
For order platforms (checkouts, CRMs, call-center and subscription systems) sending orders to a brand or 3PL that fulfills on Warehance. How the integration works, credentials, a working quick start and the conventions every endpoint shares.
This guide is for developers at order platforms (checkouts, CRMs, call-center and subscription systems) whose customer fulfills on Warehance. If a merchant or 3PL sent you a link to these docs and asked you to "connect to Warehance", this is the API you're building against.
Your platform sends each order to Warehance over HTTPS. The warehouse picks, packs and ships it. Your platform then reads the shipments and tracking numbers back.
Your customer in these guides means the brand or warehouse that uses Warehance and asked you to connect. They create the connection in their Warehance account and send you the credentials.
The guides
Read them in order the first time. Each page stands on its own afterwards.
| Page | What's in it |
|---|---|
| Start Here (this page) | How it works, credentials, quick start, authentication, conventions |
| Orders and Items | Creating, updating and cancelling orders; adding and changing lines; prices, totals and customs data |
| Order Lifecycle and Holds | fulfillment_status and status, when an order can be edited, holds, SKU and shipping-service mapping |
| Shipments and Tracking | Shipments, parcels, split and merged orders, pagination, and the tracking poll |
| Errors, Retries and Edge Cases | Every error response, concurrency, retry rules and an edge-case checklist |
| Testing and Go-Live | Test scenarios, go-live checklist and FAQ |
| Building With an AI Agent | The whole integration as one compact spec, with a prompt to hand a coding agent |
Every endpoint, with request and response schemas and a Try It console, is in the Warehance Order Intake API reference: start with Create Order.
This is not the main Warehance APIThe Order Intake API has its own base URL, its own credentials (one set per store) and its own response shapes. The main Warehance API (
X-API-KEY,https://api.warehance.com/v1) is for warehouses and brands managing their own account. Don't mix the two.
How it works
sequenceDiagram
autonumber
participant P as Your platform
participant W as Warehance (Order Intake API)
participant H as Warehouse
P->>W: POST /orders/new.json (order + items)
W-->>P: 201 order with id, item ids, status "unverified"
opt While status is "unverified"
P->>W: PUT update / items add, update, delete / DELETE cancel
W-->>P: 200 updated order
end
W->>H: Order enters the warehouse's queue
H->>H: Pick, pack, buy label
loop Every 15 to 60 minutes
P->>W: GET /shipments.json?updated_at_start=...&limit=500
W-->>P: shipments with parcels and tracking numbers
P->>P: Write tracking to every order in each shipment's "orders"
end
- You push orders. Warehance never pulls from your platform. Each new order is one
POST. - The warehouse fulfills them. The order lands in your customer's Warehance account like an order from any other sales channel. Their product mappings, holds, automation rules and warehouse routing all apply.
- You poll for shipments. Warehance doesn't send webhooks to your platform. Read new shipments on a schedule and write the tracking numbers back to your orders.
- You can change an order until work starts. While its
statusisunverified, you can edit the address, change items or cancel. Once the warehouse starts picking, batches, splits or merges the order, it's locked. - One connection per store. Each store your customer connects has its own credentials and store ID. A customer with three brands on your platform gives you three sets.
What you'll get from your customer
Your customer creates the connection in Warehance and sends you four values:
| Value | Example | How you use it |
|---|---|---|
| Base URL | https://app.warehance.com/api/v1/fulfillment-api/api | Prefix for every request |
| Username | [email protected] | HTTP Basic username |
| API key | 48 characters | HTTP Basic password |
| Store ID | 7f3c2a10-5b8e-4d21-9c6f-2e4a8b9d0c11 | The {store_id} in every path |
- The API key is shown to your customer once. If it's lost, they generate a new one and send it to you. The old key stops working the moment they do, so keep it in your secrets manager, not in a support ticket or email thread.
- Key rotation is immediate. After your customer regenerates the key, requests with the old key get
401right away. The username and store ID don't change. Let your customer (or your support team) update the key without a redeploy. - Deactivated stores. If your customer deactivates the store in Warehance, every request gets
401until they reactivate it.
Quick start
Set the four values:
BASE_URL="https://app.warehance.com/api/v1/fulfillment-api/api"
USERNAME="[email protected]"
API_KEY="your-48-character-key"
STORE_ID="7f3c2a10-5b8e-4d21-9c6f-2e4a8b9d0c11"Create an order:
curl -u "$USERNAME:$API_KEY" \
-H "Content-Type: application/json" \
-X POST "$BASE_URL/stores/$STORE_ID/orders/new.json" \
-d '{"order": {"order_number": "10001", "ship_name": "Jane Doe",
"address1": "1600 SW 4th Ave", "city": "Portland", "state": "OR",
"postal_code": "97201", "country": "US",
"requested_shipping_service": "Standard",
"items": [{"sku": "TEA-001", "quantity": 2, "price": 12.50}]}}'You get 201 Created with the order. Save the order's id and each item's id.
Read it back by your own order number:
curl -u "$USERNAME:$API_KEY" "$BASE_URL/stores/$STORE_ID/orders/0.json?order_number=10001"Read shipments created or changed since a time:
curl -u "$USERNAME:$API_KEY" \
"$BASE_URL/stores/$STORE_ID/shipments.json?updated_at_start=2026-10-26T14:00:00Z&limit=500"Authentication
Every request uses HTTP Basic authentication with the username and API key, and has the store ID in the path:
GET /api/v1/fulfillment-api/api/stores/7f3c2a10-5b8e-4d21-9c6f-2e4a8b9d0c11/orders.json HTTP/1.1
Host: app.warehance.com
Authorization: Basic base64(username:api_key)| Situation | Response |
|---|---|
| No credentials, unknown username or wrong key | 401, empty body, WWW-Authenticate: Basic realm="API Authorization" |
| Your customer hasn't generated a key yet | 401 (as above) |
| Store deactivated in Warehance | 401 (as above) |
Valid credentials but another store's {store_id} | 404 {"errors": ["Please check your store number"]} |
A401never has a JSON bodyCheck the status code before parsing. Don't retry a
401in a loop; the credentials won't fix themselves. Pause that store's sync and alert your customer.
Conventions
These apply to every endpoint.
- HTTPS only. All requests go to the base URL your customer gave you.
.jsonis optional./orders/new.jsonand/orders/neware the same endpoint.- JSON in and out. Send
Content-Type: application/json. Responses are JSON, except the empty401. - IDs are strings. Order, item, shipment and parcel IDs are JSON strings, even when numeric. The exception is
sku_id, Warehance's product ID, which is a number. - Wrapped or flat bodies. Wrap the body (
{"order": {...}},{"order_item": {...}}) or send the fields at the top level. Both work. - Flexible types. Text fields accept numbers (
"order_number": 10001). Quantities and amounts accept numeric strings ("2","12.50"). - Timestamps. List filters take RFC 3339 (
2026-10-26T14:30:00Z).ship_dateis a plain date (2026-10-27). - Addresses are verified. Warehance standardizes the ship-to address, so it can come back different from what you sent (for example
1600 SW 4TH AVE). Treat the response as the address the warehouse will ship to. - Look up by your order number. On every
/orders/{id}endpoint, anorder_numberquery parameter takes priority over{id}. If you only stored your own order number, call/orders/0.json?order_number=10001. - Lists use cursors.
GET /orders.jsonandGET /shipments.jsonreturnhas_next_pageandnext_cursor. See Pagination.
Endpoints
All paths start with {base_url}/stores/{store_id}.
| Method and path | Does | Reference |
|---|---|---|
POST /orders/new.json | Create an order | Create Order |
GET /orders/{id}.json | Get an order | Get Order |
GET /orders.json | List orders | List Orders |
PUT /orders/{id}/update.json | Update order fields | Update Order |
DELETE /orders/{id}.json | Cancel an order | Cancel Order |
GET /orders/{id}/items.json | List an order's items | List Order Items |
GET /orders/{id}/items/{item_id}.json | Get one item | Get Order Item |
POST /orders/{id}/items/add.json | Add an item | Add Order Item |
PUT /orders/{id}/items/{item_id}.json | Change an item's quantity or price | Update Order Item |
DELETE /orders/{id}/items/{item_id}.json | Delete an item | Delete Order Item |
GET /orders/{id}/shipments.json | List an order's shipments | List Order Shipments |
GET /shipments.json | List shipments (the tracking feed) | List Shipments |
GET /shipments/{shipment_id}.json | Get one shipment | Get Shipment |
Who to contact
Your customer: the brand or warehouse that gave you the credentials. They can see every order your platform sends in their Warehance account, and they can reach Warehance support. When you report a problem, include the store ID, the order numbers, the request times and any request_id from a 500 response.
Updated 2 days ago
