Check a buy order
get_buy_orderRead the current state of a buy order created with place_buy_order: draft, active (in the order book), matched (an offer is waiting for the person), accepted, fulfilled, cancelled or expired. Requires the order_id and access_code returned when the order was placed.
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>",
"access_code": "<access_code>"
},
"name": "get_buy_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | The order_id returned by place_buy_order. | |
| access_code | Yes | The access_code returned by place_buy_order. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| product | Yes | ||
| deadline | Yes | ||
| order_id | Yes | ||
| confirm_by | Yes | ||
| manage_url | Yes | Private page where the person can see and cancel the order. | |
| confirm_url | Yes | Present while status is "draft": the page where the person confirms the order. | |
| memberships | Yes | Warehouse clubs the person belongs to: their prices count at the member price. | |
| close_reason | Yes | ||
| max_price_usd | Yes | ||
| missed_offers | Yes | ||
| pending_offer | Yes | ||
| authorized_only | Yes | ||
| awaiting_email_click | Yes | True when the person entered an email address but has not yet clicked the verification link. |