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

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

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
}