# 指定されたユーザーが利用できるアイテムの数を設定する 指定されたユーザーが、増減後に適用された制限の範囲内で購入できる数量を設定します。 User limit APIを使用すると、アイテムを数量限定で販売できます。購入制限を構成するには、目的のアイテムタイプモジュールの 管理セクションに移動します: * ゲームキー * 仮想アイテム & 仮想通貨 * バンドル Endpoint: PUT /v2/project/{project_id}/admin/user/limit/item/sku/{item_sku} Version: 2.0.0 Security: basicAuth ## Path parameters: - `project_id` (integer, required) プロジェクトID。このパラメータは、パブリッシャーアカウントのプロジェクト名の横にあります。 Example: 44056 - `item_sku` (string, required) アイテムSKU。 Example: "booster_mega_1" ## Request fields (application/json): - `available` (integer, required) 適用された制限内でユーザーが利用できる残りのアイテム数またはプロモーション利用回数。 - `user` (object, required) - `user.user_external_id` (string, required) ユーザーexternal ID。 ## Response 200 fields (application/json): - `per_user` (object) - `per_user.available` (integer) ユーザーが購入できるアイテムの残りの数。 Example: 9 - `per_user.total` (integer) ユーザーが購入できるアイテムの最大数。 Example: 10 ## Response 401 fields (application/json): - `errorCode` (integer) Example: 1020 - `errorMessage` (string) Example: "[0401-1020]: Error in Authentication method occurred" - `statusCode` (integer) Example: 401 ## Response 404 fields (application/json): - `errorCode` (integer) - `errorMessage` (string) - `statusCode` (integer) - `transactionId` (string) ## Response 422 fields (application/json): - `errorCode` (integer) - `errorMessage` (string) - `errorMessageExtended` (array) - `statusCode` (integer) - `transactionId` (string)