# ロイヤルティポイントで購入する指定アイテムの注文作成 ユーザーのロイヤルティポイントのみで全額支払われる指定アイテムの注文を作成します。複数のアイテムを一度に購入する場合は、quantityパラメータにその数を指定してください。 Endpoint: POST /v2/project/{project_id}/payment/item/{item_sku}/loyalty_point/{loyalty_point_sku} Version: 2.0.0 Security: XsollaLoginUserJWT ## Path parameters: - `project_id` (integer, required) プロジェクトID。このパラメータは、パブリッシャーアカウントのプロジェクト名の横、またはプロジェクトの作業中にブラウザのアドレスバーで確認できます。URLの形式は以下の通りです:https://publisher.xsolla.com//projects/。 Example: 44056 - `item_sku` (string, required) アイテムSKU。 Example: "booster_mega_1" - `loyalty_point_sku` (string, required) ロイヤルティポイントSKUです。 Example: "3fa85f64-5717-4562-b3fc-2c963f66afa6" ## Request fields (application/json): - `quantity` (number) Number of items to purchase. 1 by default. ## Response 200 fields (application/json): - `order_id` (integer) 注文IDです。 ## Response 422 fields (application/json): - `errorCode` (integer) Example: 9971 - `statusCode` (integer) Example: 422 - `errorMessage` (string) エラーメッセージです。 Example: "[0401-9971]: Not enough loyalty points"