Increases the remaining number of times the specified user can use the promotion within the limit applied.
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 ID de projet. Ce paramètre se trouve dans le Compte éditeur à côté du nom du projet. Example: 44056 |
promotion_id required | integer ID de la promotion. Identifiant unique de la promotion au sein du projet. Example: 111425 |
Les limites de la promotion pour un utilisateur ont été reçues avec succès.
L'authentification de base n'a pas été passée ou est incorrecte. Vérifiez que vous avez utilisé l'authentification de base ou des informations d'identification correctes.
Objet non trouvé.
Demande non valide.
{- "available": 1,
- "user": {
- "user_external_id": "d342dad2-9d59-11e9-a384-42010aa8003f"
}
}
{- "per_user": {
- "available": 9,
- "total": 10
}
}