Create return
create_returnCreate a return. Lines use quantity and unit_price. restock defaults to false.
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": {
"lines": "<lines>"
},
"name": "create_return"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | ||
| lines | Yes | ||
| reason | No | ||
| customer_id | No | ||
| sheet_number | No | ||
| customer_name | No | ||
| sales_order_id | No |