Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How to change the location of a line item

How to change the location of a line item

JoesIdeas
Shopify Partner
2474 228 666

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, daily 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 Tactics
Replies 0 (0)