Changes an upsell’s status in a project to be either active or inactive.
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 |
An upsell in a project was activated or deactivated.
Authentication not passed or wrong.
curl -i -X PUT \ 'https://store.xsolla.com/api/v2/project/{project_id}/admin/items/upsell/{toggle}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{- "statusCode": 401,
- "errorCode": 1501,
- "errorMessage": "[0401-1501]: Authorization failed: Provide authorization"
}