Xsolla-logoXsolla Developers
または
パブリッシャーアカウントへ

購入制限を更新するServer-sideAdmin

delete/v2/project/{project_id}/admin/user/limit/item/sku/{item_sku}/all

Refreshes the purchase limit for an item so a user can buy it again. If the user parameter is null, this call refreshes this limit for all users.

User limit API allows you to sell an item in a limited quantity. To configure the purchase limits, go to the Admin section of the desired item type module:

SecuritybasicAuth
Request
path Parameters
project_id
required
integer

プロジェクトID。このパラメータは、ドメインページのプロジェクト名の横にあります。

Example: 44056
item_sku
required
string

アイテムSKU。

Example: booster_mega_1
Request Body schema: application/json
required
object or null
user_external_id
string non-empty ^\S+$

ユーザーexternal ID。

Responses
200

制限は正常に更新されました。

401

基本認証が不合格または不正です。基本認証または正しい認証情報を使用したことを確認してください。

404

アイテムが見つかりません。

422

無効なリクエストです。

Request samples
application/json
{
  • "user": {
    }
}
Response samples
application/json
{
  • "errorCode": 1020,
  • "errorMessage": "[0401-1020]: Error in Authentication method occurred",
  • "statusCode": 401
}