What's your biggest current challenge? Have your say in Community Polls along the right column.

Add tags or info to line items in an order through Flow for location on split orders

Add tags or info to line items in an order through Flow for location on split orders

dbianchi
Shopify Partner
16 0 6

Trying to find out if there is any way with Flow to tag the line items in an order (not the order itself) so that location passes through the JSON data at the line level. We are exploring some shipping through a 3PL versus our warehouse so inventory would live at 2 locations. When an order has a combination of items that can't be fully fulfilled at one location or the other, a split order is generated. In the admin, this is clear as they are separated by location visually in the order. But were finding the data passing out through to the ERP does not specify  which products ship from where. I know flow can tag the order, but can you tag the line level in any way? Tagging the product outside that order wont solve the issue.

Reply 1 (1)

paul_n
Shopify Staff
1445 157 334

> so that location passes through the JSON data at the line level.

Not sure what you mean by this.

 

Tags and metafields cannot be placed on line items. You could potentially set lineitems / customAttributes but I think you cannot set those after checkout. You may need to use Functions in checkout to accomplish this, if you actually need the data on lineItems.

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.