Xsolla-logo
  • 文档
  • 创建帐户

Activate/Deactivate project's upsellServer-sideAdmin

put/v2/project/{project_id}/admin/items/upsell/{toggle}

Changes an upsell’s status in a project to be either active or inactive.

SecurityXsollaLoginUserJWT
Request
path Parameters
project_id
required
integer

项目编号。您可以在您的发布商帐户项目名称旁边。

Example: 44056
toggle
required
string

Activation status.

Example: activate
Responses
202

An upsell in a project was activated or deactivated.

401

认证未通过或错误。

Request samples
Response samples
application/json
{
  • "errorCode": 1501,
  • "errorMessage": "[0401-1501]: Authorization failed: Provide authorization",
  • "statusCode": 401
}