Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
The line item cannot be edited because it's either fulfilled, remove, related to a tip or a selling plan
mutation setQuantity(
$orderId: ID!
$lineItemId: ID!
$quantity: Int!) {
orderEditSetQuantity(
id: $orderId
lineItemId: $lineItemId
quantity: $quantity) {
userErrors { field, message }
}
}
The error message is pretty straightforward. The reason for this post is to ask whether there is another mutation anyone has had success with that would allow us to edit a line item for an order that was generated from a selling plan.
Any advice? Thanks!