Xsolla-logo

撤回物品库商品

post/v2/project/{project_id}/inventory/revoke

撤销对多个用户的商品访问权限。

注意:

一次只能处理50个操作。超出此限制的操作将被忽略。
SecuritybasicAuth
Request
path Parameters
project_id
required
integer
Default: 44056

项目ID。

Request Body schema: application/json
Array
required
object
required
Array of objects non-empty
comment
string [ 1 .. 255 ] characters
Default: "Item was transferred to another player"

操作说明。例如:“商品已转移给另一个玩家”。

platform
string
Default: "xsolla"

用户玩游戏的发布平台。

Enum: "playstation_network" "xbox_live" "xsolla" "pc_standalone" "nintendo_shop" "google_play" "app_store_ios" "android_standalone" "ios_standalone" "android_other" "ios_other" "pc_other"
Responses
200

用户商品撤回成功。

404

无法删除此数量的商品。

Request samples
application/json
[
  • {
    }
]
Response samples
application/json
{
  • "count": 2,
  • "operations": [
    ]
}