Shopify Draft Order with Line Items

Status
Not open for further replies.

Hani

Member
I'm trying to set up a flow when the customer creates checkout in Shopify that a draft order is created in Shopify. I got it to work; however, the created draft order only shows the first line item. I need to see the entire list of items in the checked-out cart. A draft order could have 10 to 20 line items.
Thank you
 

Supreme

Well-known member
Staff member
Hey @Hani

Perhaps you might not have captured the webhook response with multiple line items.

So, we would suggest you capture the webhook response in advance response by toggling the "Simple Response" button with multiple line items from your Shopify account.

You may refer to the following video tutorial on the same -

 

Hani

Member
Ok Thank you. I used the Iterator and did a test with an order that has 4 items. Instead of creating a draft order with 4 line items, it created a separate draft order for each line item. Below is the flow I created:
1671558213977.png
 

Supreme

Well-known member
Staff member
Hey @Hani

Kindly use the "Line Itemizer" action step in place of the Iterator action step which will provide the line item in a comma-separated manner.

Please check the following video reference-

 
Status
Not open for further replies.
Top