Order Line Fulfillment status and inventory update

Hi there, I’m adding functionality to our marketplace to allow canceling individual order items using order_update_line_items mutation and setting the fulfillment_status to canceled, my question is:

  • will this action automatically re-stock the item inventory?
  • will this action trigger the inventory change webhook as well?


Hello @apopelka!

It deallocates the item, subtracting the line item’s quantity from the amount allocated and adding the same amount to the available amount. And yes, it should be triggering the inventory update webhook.

FYI, the status needs to be “canceled”, “Canceled” will not work.

Have a nice day!

1 Like