create_demand
Create a shipment to fulfill a customer order, specifying warehouse, buyer, and line items with quantities.
Instructions
Create a shipment (demand) to fulfill a customer order. Links to a warehouse.
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": {
"organization_href": "<organization_href>",
"agent_href": "<agent_href>",
"store_href": "<store_href>",
"positions": "<positions>"
},
"name": "create_demand"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| positions | Yes | Shipment line items | |
| agent_href | Yes | Meta href of the counterparty (buyer) | |
| store_href | Yes | Meta href of the warehouse to ship from. Get from list_stores | |
| description | No | Shipment description/comment | |
| organization_href | Yes | Meta href of the organization (seller) | |
| customer_order_href | No | Meta href of the linked customer order (optional) |