Check an order
order_statusCheck where an order is up to, when the user asks if it's paid or ready, or before telling them to go and collect. Returns its status (waiting for payment, paid, being made, ready to collect, collected, expired or cancelled), and the checkout link while it's unpaid. Works with the order id alone. With the claim, a paid order's pass comes back as well and the chat's order card updates. When the user only wants their QR or pickup code again, use get_pickup_pass 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": {
"order_id": "<order_id>"
},
"name": "order_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| claim | No | The claim create_pickup_order returned with the order. With it, a paid order's pass comes back too. | |
| order_id | Yes | The order id create_pickup_order returned, like "ord_7HkQ2mXc9aRt". | |
| shop_url | No | An agentPickup shop's URL, as find_shops returns it. Defaults to https://agentpickup.app. |