getSale
Retrieve complete details of a single order by its ID, including items, shipping, payment, and coupon information.
Instructions
指定した受注IDの受注詳細を 1 件取得します。sale_id(受注作成時に採番される整数 ID)を渡すと、商品明細・配送先・決済状況・キャンセル状況・送料・クーポン適用を含む受注オブジェクトが返ります。特定受注の中身を個別に確認する用途で、複数受注の条件検索は getSales、期間集計は statSale、受注への書き込みは updateSale / cancelSale / sendSalesMail を使ってください。
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": {
"sale_id": "<sale_id>"
},
"name": "getSale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sale_id | Yes |