Re: Flow to mark certain POS sales as unfulfilled?

Flow to mark certain POS sales as unfulfilled?

Gramandgrain
New Member
9 0 0

How do I set up a flow to mark POS sales that contain a product with a certain tag or vendor as unfulfilled?

Replies 5 (5)

paul_n
Shopify Staff
1162 143 275

Have you looked at templates?

 

You can check if it was a POS order using a condition to check order / app / name == "Point of Sale"

Template showing this: 

 

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.
Gramandgrain
New Member
9 0 0

Thank you! I should have been more clear...I need a flow that will automatically changed a fulfilled order to unfulfilled. Specifically, I am wanting to use this to communicate with supplier/retailer. The product is sold by retailer in the b&m via POS, but I (the supplier) need that order to then be marked as unfulfilled so that it will work with our order management system (collective).

paul_n
Shopify Staff
1162 143 275

There isn't a specific action for that, so I think you would need to call the API via Send HTTP Request.

 

This is I think the one you would call:

https://shopify.dev/docs/api/admin-graphql/2024-04/objects/Fulfillment#mutation-fulfillmentcancel

 

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.
Gramandgrain
New Member
9 0 0

Do you mind expanding on how I would do that?

paul_n
Shopify Staff
1162 143 275

There are several threads in the community on how to do an API call. You will need to make an API key as a "custom app" in your shop. Here's one thread:

https://community.shopify.com/c/shopify-flow-app/how-can-i-auto-fulfill-a-specific-product-with-an-h...

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.