Switch location for Order line Items through Admin API

Hello,

we do use Amazon MCF and a manual fulfillment location and want to switch between those based on some predefined rules.
Is there any option to achieve this using the Admin API or do we need to wait for Shopify Functions Order Routing?

Best workflow for us would be the following: Use a webhook on a new order → Check our own conditions → Switch the assigned location for each line item based on these conditions.

Thanks in advance!

Hi Kevin,

You should be able to move FulfillmentOrders using the fulfillmentOrderMove mutation. If you have the appropriate access scopes, you can move the fulfillments around so that whichever location you want is fulfilling to orders.

Thanks for the question, and happy building!

Thanks for your reply! Unfortunately, I get the error “The new location’s fulfillment service must be opted into permits_sku_sharing”. Do you know if I can add this to the Amazon MCF location?