ship_items_by_line
Ship specific line items from a sales order in Holded API v2 by posting line IDs and units to the ship-by-lines endpoint. Use for partial line-level shipping; purchase orders are unsupported.
Instructions
Ship specific items by line (Holded API v2). salesorder only → POST /sales-orders/{id}/ship-by-lines. purchaseorder line-level receive is UNVERIFIED in v2 and throws unsupported. All other docTypes are not supported.
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": {
"docType": "<docType>",
"documentId": "<documentId>",
"lines": "<lines>"
},
"name": "ship_items_by_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | Array of line items to ship | |
| docType | Yes | Type of document | |
| documentId | Yes | Document ID |