Understanding Order flows via API

I’d like to get a better understanding of Orders flows, specifically around Order Allocations and Warehouses, and fulfillment_status. The ultimate goal is to be able to store the most up to date version of an order and keep it updated through fulfillment as best we can.

One of the issues we are having is that orders, once fulfilled, no longer have allocations (and therein no warehouse_id), which can make querying out-of-date data difficult.

We have a decent understanding of the following, but are not sure how they should all work together.

  • orders() endpoint
  • order() endpoint
  • Order Canceled webhook
  • Order Packed Out webhook
  • Order Allocated webhook
  • Order Deallocated webhook

The question is really understanding Order lifecycle. I do not see an outline of these business flows online as they pertain to the API resources. I can go into more detail if there isn’t an outline or documentation that can be shared. It’s a great API, thank you!

Hey @kokua,

Thanks for reaching out!

I’d like to share this article with you as I think you’ll find it useful. Order Fulfillment – Developer Resources | ShipHero.

Registering to those webhooks will help you stay updates through an orders lifecycle. Each webhook and the triggers can be found here. I’d also recommend checking out our Shipment Update Webhook, as it might help keep you updated.

Let me know if you have any questions or concerns here!