How to change the location of a line item

JoesIdeas
Shopify Expert
2266 207 600

How do you change the location of a line item (not a fulfillment order) using the REST API?

 

Example:

 

Order contains 2 items and 1 fulfillment order, both are assigned to location A.

 

How do you move 1 of these items to location B?

 

The documentation I can only see how to move a group of line items: https://shopify.dev/api/admin-rest/2022-10/resources/fulfillmentorder#post-fulfillment-orders-fulfil...

 

Use case: someone wants certain line items fulfilled from a specific location based on the order data (like shipping address).

 

Thanks

• Creator of Order Automator (automate tagging, fulfillment, Amazon, notifications + more)
• Shopify developer for 10+ years, store owner for 7 years
• I also make guides like Shopify Automation Tips and How to Deal with Fraud / Chargebacks
Replies 0 (0)