Create a Shopify order via Make with multiple line items

Hi all,

I’m looking to create a new order via Make to Shopify.

It’s straightforward to do this when there is one line item. However, I’m struggling with the module setup when there is more than one line item.

It seems that the solution is a combination of an iterator module and perhaps an array aggregator module. I’ve tried many versions with no luck.

Also, for the Create An Order module for Shopify, would use the map toggle for the Product Id as part of this solve? I’m looking for clarity on what should go into this module for the product data.

Any ideas how to do this? Thank you in advance. David

Your going to need to build out the JSON data structure you need by first using a text aggreagtor. Then you’ll need to parse the JSON and map it to the line items field.

If your now sure of the data structure what you can do is add in the items field data manually and then run the module. Then download the input bundle. Under the line items is the structure you need to build.

Hope this helps!

1 Like