Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Did you figure out, what had been the problem?
Currently ran into the same. I am sure, others also would benefit. 😉
Was tired, when I stumbled over the "Problem". Error message could give some detail which id causes the error though...
When somebody else runs into this, very likely you either used the Order.id instead of the CalculatedOrder.id, or the LineItem.id instead of the CalculatedLineItem.id.
Happy coding. 😉
Hi all!
I saw you are using wrong line item id.
You need to use calculated line item id for example gid://shopify/CalculatedLineItem/6390811525278
Hope this helps!
User | RANK |
---|---|
5 | |
4 | |
4 | |
3 | |
3 |