Order Intake API: Order Lifecycle and Holds

What fulfillment_status and status mean, when an order can still be edited, and why an order can sit unfulfilled (holds, SKU and shipping-service mapping).

Two status fields

Every order has two status fields. Use them for different things:

  • fulfillment_status says where the order is in fulfillment. It uses the same values as everywhere else in Warehance. Use it to show progress and to close orders out.
  • status is a simpler summary. Use it for one thing: status unverified means the order still accepts edits and cancels.
fulfillment_statusMeaningstatus
unfulfilledReceived, nothing picked or shipped yet. Includes orders on hold or waiting for stock.unverified (or pending_shipment once split or merged)
in_progressBeing picked, or in a batch that hasn't shipped.pending_shipment
partially_fulfilledSome of it has shipped, the rest hasn't. Usually a split order.pending_shipment
fulfilledEverything has shipped.shipped
cancelledCancelled by you or by the warehouse.cancelled
stateDiagram-v2
    direction LR
    [*] --> unfulfilled: POST orders/new
    unfulfilled --> in_progress: picked or batched
    unfulfilled --> fulfilled: label bought (no pick step)
    unfulfilled --> partially_fulfilled: split, first part ships
    in_progress --> fulfilled: label bought
    in_progress --> partially_fulfilled: part ships
    partially_fulfilled --> fulfilled: last part ships
    unfulfilled --> cancelled: you (DELETE) or the warehouse
    in_progress --> cancelled: the warehouse
    partially_fulfilled --> cancelled: the warehouse cancels the rest
    fulfilled --> [*]
    cancelled --> [*]
    note right of unfulfilled
        Editable only here, and only while
        status is "unverified" (not split or merged)
    end note

When can you edit or cancel?

Only while status is unverified. That means the order is unfulfilled, isn't cancelled, and the warehouse hasn't split or merged it.

Every other state returns 403 {"errors": ["Order can no longer be modified"]} for updates, item changes and cancels. Don't retry a 403. Ask your customer to make the change in Warehance.

Things that surprise people

  • An order can skip in_progress. Some warehouses buy the label without a separate pick step, so the order goes straight from unfulfilled to fulfilled. Don't wait for in_progress.
  • Orders on hold stay unfulfilled, and stay editable. Holds never produce an API error; not_ready_to_ship_types tells you why the order is waiting.
  • The warehouse can cancel. Your customer can cancel an order at any point before it ships. You'll see cancelled when you poll.
  • fulfilled doesn't always mean tracking. See Orders fulfilled without a label.
  • Split and merged orders lock early. Once the warehouse splits or merges an order, status is pending_shipment and edits return 403, even though nothing has shipped.

Holds and delays

An order can sit unfulfilled for reasons only your customer can resolve. None of these produce an API error; the order simply doesn't ship yet. Every order has a not_ready_to_ship_types object that says why: each flag is true while that reason applies, and they're the same flags as the main Warehance API.

ReasonFlagWhat fixes it
The address couldn't be verifiedaddress_holdYou send a corrected address with PUT …/update.json, or your customer fixes it
Not enough stockhas_unallocated_productsThe warehouse receives more stock
A SKU isn't mapped to a producthas_unmapped_productsYour customer maps it
A shipping service name isn't mappedshipping_method_not_mappedYour customer maps it
A hold-until dateorder_hold_until_date_in_futureThe date passes, or your customer releases it
A manual or automated holdfraud_hold, payment_hold, warehouse_hold, store_hold, shipping_method_hold, allocation_hold, operator_hold, cs_hold, custom_holdYour customer releases it
An inventory problem found during pickinghospital_holdThe warehouse resolves it
Your customer's shipping, account or store is paused or inactiveclient_shipping_paused, client_not_active, store_not_activeYour customer resumes it
Only companion products (inserts and the like)only_companion_productsAdd a product that ships, or cancel

order_cancelled and order_is_already_fulfilled are true on cancelled and shipped orders. Use fulfillment_status for those.

Things to know:

  • Read it from Get Order or List Orders. A change to the flags also changes the order's updated_at, so the GET /orders.json?updated_at_start=… poll in Closing orders out picks up new holds and released ones.
  • has_unallocated_products can be true for a few seconds right after an order is created, before stock is allocated. Judge stock on a later poll, not on the create response.
  • Split and merged orders report a flag if any of the orders shipping them has it.
  • Use the flags to warn your shopper (an address problem, a stock delay). Don't cancel automatically on a flag; most holds are resolved by your customer.

If an order stays unfulfilled much longer than your customer's usual handling time, check with them before changing or cancelling it.

SKUs and products

  • Send the SKU exactly as your customer's products use it. A matching SKU goes straight into fulfillment, and the item's sku_id is the product it matched.
  • Unknown SKUs are accepted, never rejected. Depending on your customer's settings, Warehance either adds the SKU as a new product (with no stock yet), or holds the order until your customer maps your SKU to one of their products. Until it's mapped, sku_id is null. Either way the order waits, unfulfilled, until your customer resolves it.
  • Bundles and multi-packs. Your customer can map your SKU to a bundle or a multiple of a product. The warehouse picks the components; your line stays as you sent it.
  • Mapping changes apply to new orders. Remapping a SKU affects orders received after the change.
  • Share your SKU list with your customer before going live, so they can map SKUs before the first order.

Shipping services

requested_shipping_service is the shipping option the shopper chose, such as Standard or Expedited. Your customer maps each name your platform sends to one of their carrier services once. Until a new name is mapped, orders with it are held.

  • Send a small, fixed set of names, not free text or prices.
  • Tell your customer every name you might send so they can map them before launch.
  • You can change an order's requested_shipping_service with an update only while it's unverified.

Orders fulfilled without a label

Sometimes a warehouse marks an order as shipped without buying a label in Warehance: local pickup, freight booked outside Warehance, or an order fulfilled by hand. The order becomes fulfilled (status shipped) with no shipments and no tracking number.

Close the order on your side as fulfilled without tracking. Don't keep polling for tracking that will never come.

Closing orders out

An order is finished when fulfillment_status is fulfilled or cancelled. Track that from your shipments poll (Shipments and Tracking), or for a few specific orders with GET /orders/0.json?order_number=…. To catch warehouse-side changes such as cancellations, poll GET /orders.json?updated_at_start=… the same way you poll shipments.


Did this page help you?