# 激活/停用项目的追加销售

将项目中追加销售的状态更改为有效或无效。


  提示
    此API调用使用用户JWT进行授权。
    请在Authorization请求头中包含令牌，格式为：Bearer &lt;user_JWT&gt;。有关用户JWT的更多信息，请参阅此调用的安全性部分。

Endpoint: PUT /v2/project/{project_id}/admin/items/upsell/{toggle}
Version: 2.0.0
Security: XsollaLoginUserJWT

## Path parameters:

  - `project_id` (integer, required)
    项目ID。您可以在发布商帐户的项目名称旁找到此参数；使用项目时，也可以在浏览器地址栏中找到此参数。URL格式如下：https://publisher.xsolla.com//projects/。
    Example: 44056

  - `toggle` (string, required)
    激活状态。
    Example: "activate"

## Response 401 fields (application/json):

  - `statusCode` (integer)
    Example: 401

  - `errorCode` (integer)
    Example: 1501

  - `errorMessage` (string)
    Example: "[0401-1501]: Authorization failed: Provide authorization"


## Response 202 fields
