Update an achievement by id.
The language to update the achievement in. This will update the achievement's content for the specified language.
The id of the achievement to update
The input required to update an achievement
The period over which progress is tracked/reset
daily, weekly, monthly, yearly, open Node that sums values from a specific event attribute and compares against a threshold
The display mode for the achievement. Useful to make the distinction between normal user achievments and achievments designed for implementing custom app functionality.
default, custom The event queries used to measure progress against this achievement's criteria
A map of query alias to user-readable descriptions, useful for displaying in the UI. Can be localised across additional languages.
The ids of the tags on the achievement
The ids of the campaigns on the achievement
The status of the achievement
archived, draft, expired, live, scheduled When this achievement becomes available to the user
When this achievement expires
Whether the achievement is featured
Whether the achievement is a global template
The organisations that the achievement is available as a template for
The id of the community this achievement belongs to
Input for updating entity details with all fields optional
Successful response
An achievement
The id of the achievement
The id of the organisation this achievement belongs to
Used to describe an entity
The period over which progress is tracked/reset
daily, weekly, monthly, yearly, open The display mode for the achievement. Useful to make the distinction between normal user achievments and achievments designed for implementing custom app functionality.
default, custom The ids of the tags on the achievement
The ids of the campaigns on the achievement
Node that sums values from a specific event attribute and compares against a threshold
The event queries used to measure progress against this achievement's criteria
A map of query alias to user-readable descriptions, useful for displaying in the UI. Can be localised across additional languages.
The status of the achievement
archived, draft, expired, live, scheduled The organisations that the achievement is available as a template for
Whether the achievement is a global template
When this achievement was created
When this achievement was last updated
Reward distribution information for this achievement
The admin user who created this achievement
The admin user who last updated this achievement
The id of the community this achievement belongs to
Whether the achievement is featured
When this achievement becomes available to the user
When this achievement expires