Order Intake API: Orders and Items
Create, read, update and cancel orders, change their lines, and send prices, totals and invoice details for customs.
All paths start with {base_url}/stores/{store_id}. See Start Here for credentials and conventions.
Create an order
POST /stores/{store_id}/orders/new.json{
"order": {
"order_number": "10001",
"order_date": "2026-10-26T14:30:00Z",
"requested_shipping_service": "Standard",
"ship_name": "Jane Doe",
"address1": "1600 SW 4th Ave",
"address2": "Suite 300",
"city": "Portland",
"state": "OR",
"postal_code": "97201",
"country": "US",
"phone": "555-010-0000",
"email": "[email protected]",
"currency": "USD",
"subtotal": 25.00,
"shipping_amount": 4.99,
"tax_amount": 0,
"discount_amount": 0,
"total_amount": 29.99,
"items": [
{"sku": "TEA-001", "quantity": 1, "price": 12.50},
{"sku": "MUG-RED", "quantity": 1, "price": 12.50}
]
}
}| Field | Required | Notes |
|---|---|---|
order_number | Yes | Unique per store. Can't be changed or reused, even after the order is cancelled. Numbers are stored as text, so 10001 and "10001" are the same order. |
ship_name | Yes | The recipient's full name. |
address1 | Yes | |
city | Yes | |
country | Yes | A two-letter code (US) is recommended. A country name also works. |
state, postal_code | No | Send them wherever the country uses them, or the order is held for an address check. |
address2, phone, email | No | Many carriers require a phone number for international shipments. Phone and email aren't returned. |
requested_shipping_service | No | The shipping option the shopper chose, such as Standard. See Shipping services. |
order_date | No | RFC 3339, or 2026-10-26 14:30:00 -0700. Without a timezone it's read as UTC. Missing or unreadable means the time Warehance received it. |
items | No | Each line is a sku (required), a quantity (1 or more) and optionally a unit price. Usually sent with the order, but you can add lines later. |
currency, subtotal, shipping_amount, tax_amount, discount_amount, total_amount | No | What the shopper paid. See Prices, totals and customs. |
invoice_number, invoice_date | No | Your commercial invoice, for international shipments. |
Response
A new order returns 201 Created. Its fulfillment_status is unfulfilled, status is unverified, and shipments is empty:
{
"order": {
"id": "231185181985",
"status": "unverified",
"fulfillment_status": "unfulfilled",
"not_ready_to_ship_types": {
"client_shipping_paused": false,
"order_cancelled": false,
"order_is_already_fulfilled": false,
"order_hold_until_date_in_future": false,
"fraud_hold": false,
"address_hold": false,
"payment_hold": false,
"warehouse_hold": false,
"store_hold": false,
"shipping_method_hold": false,
"allocation_hold": false,
"shipping_method_not_mapped": false,
"has_unmapped_products": false,
"has_unallocated_products": false,
"client_not_active": false,
"only_companion_products": false,
"operator_hold": false,
"cs_hold": false,
"store_not_active": false,
"custom_hold": false,
"hospital_hold": false
},
"order_number": "10001",
"ship_name": "Jane Doe",
"address1": "1600 SW 4TH AVE",
"address2": "Suite 300",
"city": "PORTLAND",
"state": "OR",
"postal_code": "97201",
"country": "US",
"currency": "USD",
"subtotal": 25,
"shipping_amount": 4.99,
"tax_amount": 0,
"discount_amount": 0,
"total_amount": 29.99,
"invoice_number": "",
"invoice_date": "",
"shipments": [],
"items": [
{"id": "2bffbd71-f2c2-4e22-9ff6-d30009de3180", "sku_id": 231185181506, "quantity": 1, "sku": "TEA-001", "price": 12.5},
{"id": "5e150770-2d25-4ecd-9a2c-40d58ced5715", "sku_id": 231185181508, "quantity": 1, "sku": "MUG-RED", "price": 12.5}
]
}
}Save the order id and each item id against your order and lines. You need the item ids to change or delete lines later, and parcels in shipments point back to them as order_item_id.
Rules
- Creating is idempotent on
order_number. If the store already has that order number, you get200 OKwith the existing order and nothing changes, even if the body is different or the order is cancelled. After a timeout, send the same request again. To change an existing order, use the update and item endpoints. - Validation errors return
404, with one message per problem:{"errors": ["ShipName is a required field", "..."]}. Malformed JSON also returns404. Updates return400instead. - Filtered orders. If your customer filters which orders this store accepts, a filtered order returns
404{"errors": ["Order was rejected by the store's import filter"]}. Don't retry it. - Unknown SKUs are accepted. The order is created and waits,
unfulfilled, until your customer maps the SKU. See SKUs and products. - Send orders once they're final: paid, approved and past any cancellation window your platform has. The warehouse can start on an order within minutes.
Prices, totals and customs
All money fields are optional. Send them when you have them; they're required in practice for international shipments, where the warehouse needs customs values.
| Field | On | Notes |
|---|---|---|
currency | Order (create only) | ISO 4217, three letters, such as USD, GBP or EUR. Defaults to USD. Every amount and item price on the order is in this currency. It can't be changed after the order is created. |
subtotal | Order | 0 or more. |
shipping_amount | Order | What the shopper paid for shipping. 0 or more. |
tax_amount | Order | 0 or more. |
discount_amount | Order | The order's discount. |
total_amount | Order | 0 or more. |
invoice_number, invoice_date | Order | Your commercial invoice number and date. Stored and returned exactly as sent. |
price | Item | The unit price paid, not the line total. 0 or more. |
- Amounts accept numbers or numeric strings (
12.5or"12.50"). Anything you leave out is0(or""for the invoice fields). - Responses return every field under the same name, so you can read back exactly what was stored.
- Bundles. When your customer maps a SKU to a bundle, the line keeps your
price. The components the warehouse picks carry no price of their own. - Sender tax IDs (VAT, EORI, IOSS) aren't API fields. Your customer sets them up in Warehance once.
Get an order
GET /stores/{store_id}/orders/{id}.json
GET /stores/{store_id}/orders/0.json?order_number=10001Returns 200 {"order": {...}}. An unknown order returns 404 {"error": "could not find order"}. Note the singular error key with a string.
List orders
GET /stores/{store_id}/orders.json?updated_at_start=2026-10-26T00:00:00Z&limit=100| Parameter | Notes |
|---|---|
limit | Results per page. Default 25, maximum 500. Send it on every request, including the first. |
cursor | The next_cursor from the previous page. Leave it out for the first page. |
updated_at_start, updated_at_end | RFC 3339. Orders changed in that window, including changes by the warehouse (picking, shipping, cancelling, splitting, merging). |
order_number | Only that order. |
Returns 200 {"has_next_page": true, "next_cursor": "eyJ2Ijoy...", "orders": [...]}, oldest first, one entry per order number. A split order is still one entry. See Pagination.
Checking a few orders?Use
GET /orders/0.json?order_number=…orGET /orders.json?order_number=…. Don't page through every order to find one.
Update an order
PUT /stores/{store_id}/orders/{id}/update.json{"order": {"address1": "200 Main St", "address2": "", "city": "Beaverton", "postal_code": "97005"}}- Only the fields you send change. Send
""to clear a text field. - You can update
requested_shipping_service,ship_name,address1,address2,city,state,postal_code,country,phone,email,order_date,subtotal,shipping_amount,tax_amount,discount_amount,total_amount,invoice_numberandinvoice_date. order_numberandcurrencycan't change. Lines change through the item endpoints.- Warehance verifies a changed address again.
- Returns
200with the order,403when the order isn'tunverified, and400for invalid fields.
Cancel an order
DELETE /stores/{store_id}/orders/{id}.jsonReturns 200 with the order, now cancelled. You can cancel only while status is unverified. Otherwise, including when the order is already cancelled, you get 403.
If the warehouse has already started and the order hasn't shipped, ask your customer to cancel it in Warehance. You'll see cancelled on your next poll.
Items
| Request | Body | Response |
|---|---|---|
GET /orders/{id}/items.json | 200 {"items": [...]} | |
GET /orders/{id}/items/{item_id}.json | 200 {"order_item": {...}} | |
POST /orders/{id}/items/add.json | {"order_item": {"sku": "TEA-002", "quantity": 1, "price": 9.99}} | 201 {"order_item": {...}} with the new line's id |
PUT /orders/{id}/items/{item_id}.json | {"order_item": {"quantity": 4}} | 200 {"order_item": {...}} |
DELETE /orders/{id}/items/{item_id}.json | 200 {"items": [...]}: the lines left |
An item looks like this:
{"id": "2bffbd71-f2c2-4e22-9ff6-d30009de3180", "sku_id": 231185181506, "quantity": 1, "sku": "TEA-001", "price": 12.5}| Field | Type | Description |
|---|---|---|
id | string | The line's ID, a UUID Warehance issues when the line is created. |
sku | string | The SKU you sent. |
quantity | number | The quantity you sent. |
price | number | The unit price you sent, 0 if none. |
sku_id | number or null | The warehouse's product ID for this SKU. null while your customer still has to map your SKU to one of their products. |
- Quantity and price can change; the SKU can't. A different SKU is a different line: delete it and add the new one. Sending another
skureturns400{"errors": ["Item sku can't be changed; delete the item and add a new one"]}. - Quantities are 1 or more. To remove a line, delete it.
- Deleted lines disappear. They're left out of every response, and requesting them returns
404{"errors": ["could not find item"]}. - Same SKU twice. Adding a SKU that's already on the order creates a second line. To change how many are ordered, update the existing line.
- Cancelling the whole order. Use
DELETE /orders/{id}.json, not delete every line. An order with no lines can't ship, but it isn't cancelled either. - The editing rule applies. Adding, changing or deleting a line on an order that isn't
unverifiedreturns403.
The Order object
| Field | Type | Description |
|---|---|---|
id | string | Warehance's order ID. Stays the same after the warehouse splits or merges the order. |
order_number | string | Your order number. |
fulfillment_status | string | unfulfilled, in_progress, partially_fulfilled, fulfilled or cancelled. See Order Lifecycle. |
status | string | unverified, pending_shipment, shipped or cancelled. unverified is the only state that accepts edits. |
not_ready_to_ship_types | object | Why the order can't ship yet: 21 flags, each true while that reason applies. See Holds and delays. |
ship_name, address1, address2, city, state, postal_code, country | string | The ship-to address after verification. |
currency, subtotal, shipping_amount, tax_amount, discount_amount, total_amount | string / number | What you sent, USD and 0 by default. |
invoice_number, invoice_date | string | What you sent, "" by default. |
items | array | The order's lines. Deleted lines aren't included. |
shipments | array | The order's shipments, oldest first. Empty until the warehouse buys a label. See Shipments and Tracking. |
Updated 1 day ago
