GET /v1/orders/{id}
scope
read_orders
リクエストパラメーター
| 名前 | 位置 | 型 | 必須 | 説明 |
|---|---|---|---|---|
id | パス | integer | 任意 |
レスポンスの例
{
"data": {
"id": "1001",
"ordered_at": "2026-06-01T12:00:00+09:00",
"status": "init",
"payment_method": "card",
"total": {
"amount": 3200,
"currency": "JPY"
},
"is_subscription": true,
"sub_total": {
"amount": 3200,
"currency": "JPY"
},
"shipping_cost": {
"amount": 3200,
"currency": "JPY"
},
"option_price": {
"amount": 3200,
"currency": "JPY"
},
"updated_at": "string",
"purchaser": {
"last_name": "string",
"first_name": "string",
"zip": "string",
"pref": "string",
"city": "string",
"address_1": "string",
"address_2": "string",
"tel": "string"
}
}
}
解説
注文の詳細(ヘッダ)を取得します。read_orders_pii を持つ場合のみ購入者 purchaser(氏名・住所・電話)が含まれます。
エラーレスポンスの例
{
"error": {
"code": "insufficient_scope",
"message": "requires scope 'read_orders'",
"request_id": "req_01H..."
}
}
返しうるエラー: 401 / 403 / 404