I’m comparing our queries but I don’t think I’m doing anything different.
Super strange; my request ID is f536770633853481851d0a6ae9c4ff49
I’ll give you my queries here too.
fragment PresentmentMoneyFields on MoneyV2 {
amount
currencyCode
}
fragment CalculatedOrderFields on CalculatedOrder {
id
committed
totalPriceSet {
presentmentMoney {
...PresentmentMoneyFields
}
}
totalOutstandingSet {
presentmentMoney {
...PresentmentMoneyFields
}
}
lineItems(first: 10) {
edges {
node {
id
sku
quantity
}
}
}
originalOrder {
id
lineItems(first: 10) {
edges {
node {
id
sku
quantity
originalUnitPriceSet {
presentmentMoney {
amount
currencyCode
}
}
}
}
}
}
}
mutation decreaseLineItemQuantityDemo($id: ID!, $lineItemId: ID!, $quantity: Int!) {
orderEditSetQuantity(id: $id, lineItemId: $lineItemId, quantity: $quantity) {
calculatedOrder {
...CalculatedOrderFields
}
calculatedLineItem {
id
quantity
}
userErrors {
field
message
}
}
}
{
"id": "gid://shopify/CalculatedOrder/13634765006",
"lineItemId": "gid://shopify/CalculatedLineItem/9965111378126",
"quantity": 0
}
