We’re building a fulfillment app and trying to clarify the cancellation flow.
For fulfillment orders, we receive the fulfillment_order/cancellation_request_submitted webhook.
At this point, our app can either accept or reject the cancellation request, which makes sense for in-progress or partially fulfilled requests.
However, for order-level cancellations (merchant cancels the entire order in Admin), we only receive the orders/cancelled webhook.
In this case, the order is already cancelled, and our app has no option to accept or reject.
Use-case:
Suppose we’ve already accepted a fulfillment request and are processing it (in-progress). Later, the merchant cancels the entire order from Admin. We only receive the orders/cancelled webhook, but we don’t get a way to reject the cancellation (unlike fulfillment orders).
Question:
Is this the expected behavior, where order-level cancellations are always final and cannot be rejected by fulfillment apps? Or in-progress Fulfillment Order cannot be cancelled at Order level .
What’s the best practice for apps handling in-progress fulfillments when a full order cancellation occurs (we support intent to cancel , not always possible to cancel an order once we have accepted it .)
Hey again @Shopify_Wal_App, this is does look to be expected behaviour. Essentially, when a merchant cancels the entire order in the Admin, the order-level cancellation is irreversible and doesn’t go through the fulfillment order request/accept/reject flow as it would if the fulfillment order/fulfillment itself is cancelled.
The accept/reject handshake only applies to fulfillment order or fulfillment–level cancellation requests ( for example, when the merchant requests cancellation on a specific fulfillment order or a specific fulfillment), not to full order cancellations.
I did some testing on my end and can confirm that it’s expected that fulfillment_order/cancellation_request_submitted and fulfillment_order/cancelled won’t trigger on “full” order cancellations.
The best practice at the moment that I can recommend is to treat the orders/cancelled webhook as a stop‑work signal: immediately halt processing on your end if needed. One thing you can do if needed, for in‑progress fulfillment work on your end that can’t be signaled as “stopped” directly through the fulfillment API after the order is cancelled by the merchant, is to communicate through your app UI (we have an alerts API that you could look into) or by email, since you can’t post new fulfillment adjustments against a cancelled order.
I’d also recommend setting up a regular query for your assigned fulfillment orders to confirm their final order status itself and requestStatus so your system stays in sync if you wanted to look into that as a mitigation workaround.
Hope this helps - let me know if I can clarify anything. Also more than happy to log a feature request if that would be helpful as well to look into making situation like this easier to manage in the future.