A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
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?