Send purchase order to supplier
hub_send_purchase_orderPlace the order: moves a draft or suggested order to sent and, when asked, EMAILS IT TO THE SUPPLIER. ASK THE MERCHANT WHETHER TO EMAIL, EVERY TIME, and only then pass sendEmail: true — that message leaves the platform and cannot be recalled. Default is false, which records the order as placed without mailing anything: the right choice when they ordered by phone, in person, or through the supplier’s own portal. Emailing needs a contactEmail on the supplier; without one, send with sendEmail: false and tell them why. The email carries the order in its body — this tool cannot attach the PO PDF the cabinet produces. After sending, the order can no longer be edited; only receiving or cancelling remain.
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": {
"purchaseOrderId": "<purchaseOrderId>"
},
"name": "hub_send_purchase_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sendEmail | No | Email the supplier. Defaults to false — set true ONLY after the merchant said to send it | |
| purchaseOrderId | Yes | Purchase order id from get_purchase_orders — not a PO number |