How to change the location of a line item

How to change the location of a line item

JoesIdeas
Shopify Partner
2411 222 644

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 [auto tag, fulfill, connect FBA, order jobs]
• Co-Creator of Product Automator [suite of features for products / collections]
• Shopify developer for 10+ years, store owner for 7 years
• Blog: Shopify Tips, Guides, and Automation Tools
Replies 0 (0)