Covers all questions related to inventory management, order fulfillment, and shipping.
I've come across an odd issue with adding custom items to draft orders, and them being grouped in the wrong fulfillment location. I have a custom fulfillment service/app, as well as physical locations for fulfilling my products. Adding custom items to a draft order associates those custom items with different fulfillment locations, based on what else is in the order.
For example, if i create a draft order with a product fulfillable by my custom fulfillment app, and also add in a custom item, then the custom item groups with that other product and all try to fulfill from my custom fulfillment app. I do not want this behavior - my custom fulfillment app cannot fulfill these custom items. Ideally, the custom item should be fulfilled from my default fulfillment location (which is a physical address).
When i create a draft order with a product fulfillable from a physical shipping location, and also add in a custom item, then the custom item groups with that physical shipping location.
When i create a draft order combining the two tests above (product fulfillable by my custom fulfillment app, a product fulfillable from a physical location, and a custom item), the custom item groups with the physical shipping location.
Any ideas on how i can prevent custom items from being grouped under my fulfillment service location? Only specific products have been flagged for fulfillment by my custom fulfillment service.
Hi There,
looks to me like this is a bug in Shopify to be honest. As for your custom app, you would need to test to see if the inventoryItemId from the fulfillment order line Items is null, if it is then you know you have a custom product and can't fulfill it.
You could then fulfill the items that you can fulfill and "move" the remaining product to the other location.
Cheers,
Gary