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

Project ID. You can find this parameter in your Publisher Account next to the name of the project.

Example: 44056
toggle
required
string

Activation status.

Example: activate
Responses
202

An upsell in a project was activated or deactivated.

401

Authentication not passed or wrong.

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