Hello everyone,
I hope you are all doing well.
I’m currently working on a multi-vendor Shopify app using Remix and the Shopify API. In the app, I have implemented functionality for adding, updating, and deleting products, as well as order cancellation, fulfillment, and unfulfillment.
However, I am facing an issue with partial order cancellation.
For example, if a customer purchases products from two different vendors (Vendor A and Vendor B) in a single order, and Vendor A does not have the product in stock and cancels their item, the entire order gets canceled, including Vendor B’s item.
What I want instead is:
-
Only Vendor A’s item should be canceled.
-
Vendor B’s item should remain active so that it can still be fulfilled.
I’m trying to figure out the correct way to handle partial order cancellation or archiving for a single vendor’s items without affecting the rest of the order.
If anyone has experience handling multi-vendor order management in Shopify apps or implementing partial cancellations, I would appreciate any guidance or suggestions.
Thank you!