Shopify Get An Order module is not retrieving line item metafields

:bullseye: What is your goal?

I need to retrieve line item metafields/properties.

:thinking: What is the problem & what have you tried?

I want to preface this by saying that our workflow was functioning correctly prior to the deprecation of the old Shopify modules.

After transitioning to the new Shopify “Get an Order” module, I’ve noticed that line item metafields—previously accessible as properties—are no longer included in the returned data. While the new module requires you to explicitly select which components of the order to retrieve (line items, variants, customer details, etc.), it appears that line items no longer include a metafields or properties array at all.

This presents a challenge for us, as each line item includes a file upload and the path to that file was stored in the properties field. Without access to that data, our automation can’t retrieve the uploaded files and the workflow breaks.

Are line item properties still supported? Is there an alternate way to access them?

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

Hey Romont,

I don’t think line items have metafields Metafield

Try getting them from the Product Variant instead.

To resolve the issue, I used the Shopify GraphQL module to query an order. It allowed access to the line item metafields. The field is now called custom_attributes instead of properties.

2 Likes