ordercloud.shipments.addLineItem
Adds a specified line item and shipped quantity to an OrderCloud shipment using shipment, order, and line item IDs.
Instructions
Add a line item to a shipment
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": {
"shipmentId": "<shipmentId>",
"orderId": "<orderId>",
"lineItemId": "<lineItemId>",
"quantityShipped": "<quantityShipped>"
},
"name": "ordercloud.shipments.addLineItem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | The order ID | |
| lineItemId | Yes | The line item ID to add to the shipment | |
| shipmentId | Yes | The shipment ID | |
| quantityShipped | Yes | Quantity shipped |