Activates a promotion.
project_id required | integer Project ID. You can find this parameter in your Publisher Account next to the name of the project. Example: 44056 |
promotion_id required | integer Promotion ID. Unique promotion identifier within the project. Example: 111425 |
Promotion was successfully activated.
Basic authentication not passed or wrong. Make sure you used basic authentication or correct credentials.
Invalid request.
curl -i -X PUT \ -u <merchant_id_or_project_id>:<api_key> \ 'https://store.xsolla.com/api/v2/project/{project_id}/admin/promotion/{promotion_id}/activate'
{- "statusCode": 401,
- "errorCode": 1020,
- "errorMessage": "[0401-1020]: Error in Authentication method occurred"
}