create_return
Create return orders for specific line items in Salesforce by providing order ID, item ID, return reason, and quantity.
Instructions
Create a return order for a single line item in an order using standard Salesforce objects
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>",
"lineItemId": "<lineItemId>",
"reason": "<reason>",
"quantity": "<quantity>"
},
"name": "create_return"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | The order ID containing the item to return | |
| lineItemId | Yes | The specific line item ID to return | |
| reason | Yes | Reason for the return | |
| quantity | Yes | Quantity to return | |
| description | No | Optional additional description for the return |