Refreshes the promotion limit so a user can use this promotion again. If the user parameter is null
, this call refreshes this limit for all users.
User limit API allows you to limit the number of times users can use a promotion. For configuring the user limit itself, go to the Admin section of the desired promotion type:
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 |
The promotion limit was successfully refreshed.
Basic authentication not passed or wrong. Make sure you used basic authentication or correct credentials.
{- "user": {
- "user_external_id": "d342dad2-9d59-11e9-a384-42010aa8003f"
}
}
{- "statusCode": 401,
- "errorCode": 1020,
- "errorMessage": "[0401-1020]: Error in Authentication method occurred"
}