Hello! Bringing this issue here, since we’re unable to solve it: for the last couple of days, whenever we’ve tried to edit an existing order from a specific merchant, we get the error “Could not save the order edit." without any further details. Any clues as to what the issue might be?
These are are requests:
mutation beginEdit($orderId: ID!) {
orderEditBegin(id: $orderId) {
calculatedOrder {
id
totalOutstandingSet {
shopMoney {
amount
}
}
subtotalPriceSet {
shopMoney {
amount
}
}
}
userErrors {
field
message
}
}
}
mutation addVariantToOrder(
$calculatedOrderId: ID!
$variantId: ID!
$quantity: Int!
) {
orderEditAddVariant(
id: $calculatedOrderId
variantId: $variantId
quantity: $quantity
allowDuplicates: true
) {
calculatedLineItem {
id
}
userErrors {
field
message
}
}
}
mutation addDiscount($calculatedOrderId: ID!, $calculatedLineItemId: ID!) {
orderEditAddLineItemDiscount(
id: $calculatedOrderId
lineItemId: $calculatedLineItemId
discount: { percentValue: 100, description: "Full discount" }
) {
addedDiscountStagedChange {
id
}
userErrors {
field
message
}
}
}
mutation commitEdit($calculatedOrderId: ID!) {
orderEditCommit(
id: $calculatedOrderId
notifyCustomer: false
staffNote: "Awtomic order adjustment"
) {
order {
id
}
userErrors {
field
message
}
}
}
All of the previous requests seem to work, except for commitEdit, which is where we see the error.
Examples of this issue:
x-request-id (these two requests belong to the same order, they both failed)
4ac91563-af21-4ee5-8c1a-c8fd8551e7b1-1769524833
c49aa100-4c4c-4478-a1e3-09355aa5c724-1769524850
And the calculated order is
gid://shopify/CalculatedOrder/98529935422
The API version we’re currently using is 2025-04, but we also tried with 2026-01 and it failed as well.
Update: In case it helps, after more investigation, we’ve been able to narrow the issue to this variant in particular gid://shopify/ProductVariant/42394149781566 for some reason