Stats
Définir l'objectif de CA (surcharge le calcul auto)
Définit l'objectif annuel manuel (surcharge le calcul automatique). yearlyTarget null revient au calcul auto. year optionnel (défaut = année en cours). Scope requis : stats:write.
put/objective
Request
- Base URL: https://api.swipify.fr/api/v1
- URL: https://api.swipify.fr/api/v1/objective
- Auth: API key in header X-API-Key
Request body
Example request
{
"yearlyTarget": 80000
}Response
Objectif mis à jour
Example response
{
"year": 2026,
"yearlyTarget": 80000
}Changes
No recorded changes to this operation across all 1 revision of this API.