How do I export the current line item vendor from a Shopify order?

The line item data of a Shopify order is historical. If you change the value of the vendor field of the product associated with the line item after the order was already created, the order data won't change and will still use the original vendor value.

However, it's possible for EZ Exporter to export the current vendor assigned to the product by doing an additional lookup against the current product data.

To include this in your Shopify order export, simply use the value below in a Custom Field:

{{ line_items.product.vendor }}

We intentionally didn't include this field in the Fields selection to avoid confusion and we expect most merchants will need the historical value instead of the current value when exporting order data.


Related Articles:


App: EZ Exporter

Tags: shopify order export