Order for pickup
create_pickup_orderCreate an order to collect in person. Returns the order id, total and a claim (keep it); pay it with pay_order. The shop emails the pickup pass to email once it's paid, and where the chat shows cards the order shows as one that becomes the pass. Where the shop takes cards, payment: "card" returns a checkout link for the user to pay on instead.
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>",
"email": "<email>"
},
"name": "create_pickup_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the order, shown to staff | |
| Yes | The user's email. The pickup pass goes here too. | ||
| items | Yes | ||
| payment | No | Who pays: agent (USDC over x402, or a test payment at a test shop), card (the user pays on a checkout link), or test (where the shop takes test payments: the whole flow with no money moving). Default: agent where the shop takes it, else card. | |
| shop_url | No | An agentPickup shop's URL, as find_shops returns it. Defaults to https://agentpickup.app. | |
| pickup_at | No | When the user wants to collect, if not as soon as possible: a time in the shop's own time zone (get_shop gives its local time) like "17:30" or "5:30pm" (today, or tomorrow once it has passed), or an ISO time. It must be when the shop is open, within 7 days. Leave it out for as soon as possible. | |
| dietary_note | No | The user's dietary needs for the shop, in their words (an allergy, an intolerance), where get_shop says it takes dietary notes. Only what the user said; leave it out if they said nothing. |