editOrderAddVariant then orderEditAddLineItemDiscount

editOrderAddVariant then orderEditAddLineItemDiscount

Sirs
Shopify Partner
2 0 3

I'm trying to make a Flow where I add a Variant to the order. 

Then I add a discount 50% to the lineItem just added. 

 

But i'm trying to log out the just added item, but I don't get any results.
I can only see the orderEditBegin returned data. 

Is this a bugg? or am I missing a step?

On this image i'm actually logging the original order. but I cant log the "pending" added lineItems.

Sirs_0-1727434976081.png

 

Replies 3 (3)

Kalen_Jordan
Shopify Partner
803 39 147

I might try a run code step to do the logging, but that liquid looks like it should work. Is there any output in the run logs for that send admin api request call?

Sirs
Shopify Partner
2 0 3
Thank you.

Nothing gets logged what so ever.
also tried RunCode to catch the CalculatedLineItems

But did not work.

It's like it's not returning anything
Kalen_Jordan
Shopify Partner
803 39 147

Super weird. Maybe @paul_n knows.