create_order
Create a new product order and generate a payment link using the returned order ID. Specify items and optional customer email for receipt.
Instructions
Create a new order for products. Returns an order ID that can be used to generate a payment link.
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": {
"items": "<items>"
},
"name": "create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | List of items to purchase | |
| customerEmail | No | Customer email for receipt (defaults to guest@paylo.ai) |