Partially Refund orders based on Partially Fulfilled Orders

jessadanola
Visitor
1 0 0

We face products selling out quickly, and we've been experiencing a few people are able to pay for products even though we have no stock left of the products.

We flag the orders as partially fulfilled and refund the user for the out of the stock items but we want to automate this, but I can't see a condition criteria that defines the fulfilment status as Partially Fulfilled - I can only see to define them as OPEN, which partially fulfilled does fall under, but so do unfulfilled.

Has anyone set up a flow similar to what we're trying to achieve that can point us in the right direction? 

 

Reply 1 (1)

paul_n
Shopify Staff
783 118 189

There are multiple ways to check fulfillment status. You can check it per fulfillmentOrder (each shipment) or for the whole order, which is I think what you want (order / displayFulfillmentStatus). 

 

https://shopify.dev/api/admin-graphql/2023-01/enums/OrderDisplayFulfillmentStatus

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.