Hi,
I am using the orderEditAddLineItemDiscount function, I can get the CalculatedOrder by follow code:
mutation beginEdit{
orderEditBegin(id: “gid://shopify/Order/1234”){
calculatedOrder{
id
}
}
}
But how can I get the CalculatedLineItem id when using orderEditAddLineItemDiscount ?
Another question, does the line item of the order have an updatable reference field?