create_order_draft
Reserve a priced draft for ten minutes. Show the customer the quote, pickup and cancellation terms before confirmation. This changes capacity but does not charge. Requires OAuth scope orders:write.
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": {
"zip": "<zip>",
"service_id": "<service_id>",
"quantity": "<quantity>",
"slot_id": "<slot_id>",
"address": "<address>",
"idempotency_key": "<idempotency_key>"
},
"name": "create_order_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | Yes | ||
| address | Yes | ||
| options | No | ||
| slot_id | Yes | ||
| quantity | Yes | Hundredths of a pound for pound pricing; whole bag count times 100 for bag pricing; 100 for fixed pricing. | |
| service_id | Yes | ||
| contactless | No | ||
| instructions | No | ||
| idempotency_key | Yes | ||
| estimated_weight | No | Estimated weight in hundredths of a pound, required for bag or fixed pricing to reserve capacity. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No |