remove_line_items_from_order
Removes specified quantities of line items from a Shopify order. Provide the order ID and line item details to update the order through the Admin GraphQL API.
Instructions
Remove line items from an order
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"orderId": "<orderId>",
"lineItems": "<lineItems>"
},
"name": "remove_line_items_from_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | Order ID | |
| lineItems | Yes | Line items to remove |