payments_get_order_by_id
Fetch order details by ID. Supply the order ID and location ID to retrieve the complete order information.
Instructions
Get Order by ID
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": {
"orderId": "<orderId>",
"altId": "<altId>"
},
"name": "payments_get_order_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| altId | Yes | AltId is the unique identifier e.g: location id. | |
| orderId | Yes | ID of the order that needs to be returned | |
| locationId | No | LocationId is the id of the sub-account. Defaults to GHL_LOCATION_ID when omitted. |