Commerce

generateOrderDocument

Generate Order Document

Generate a document from a template and a live order: fills every merge field from the order, its entry and its ledger, stores a frozen copy on the order as a draft, and notes it on the order's…

write

Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "make the contract for this order", and it calls generateOrderDocument.

Example call

The MCP tools/call params, with the required arguments only.

{
  "arguments": {
    "orderId": "<orderId>",
    "templateId": "<templateId>"
  },
  "name": "generateOrderDocument"
}

Arguments

Returns

The registry does not declare a return shape.

Ask for it

The Cloud routes these requests to this verb.

Pair it with

The verbs that finish the job.

Questions

Connect

One endpoint gives your AI this tool and every other one: connect Claude, ChatGPT, Cursor or Gemini, read what The Cloud is, or see pricing.